Alan Modra
63999bc77e
missed this in the last commit.
2000-05-26 13:16:03 +00:00
Alan Modra
5af11cab92
Eli Zaretskii's DOSish file name patches.
2000-05-26 13:11:57 +00:00
Alexandre Oliva
010c70e10f
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
...
SUBDIRS.
2000-05-26 12:50:58 +00:00
Alan Modra
b6cdd0fd9a
(bfd_close_all_done): Mask file perms with 0777 not 0x777.
2000-05-26 07:32:26 +00:00
Jakub Jelinek
6faf3d667f
* config/tc-sparc.c (sparc_relax): New.
...
(md_longopts): Add -relax and -no-relax options.
(md_parse_options, md_show_usage): Likewise.
(md_apply_fix3): Optimize tail call into branch always if possible.
2000-05-26 06:45:55 +00:00
Jakub Jelinek
f7775d95e6
* elf64-sparc.c (sparc64_elf_relax_section): New.
...
(sparc64_elf_relocate_section): Optimize tail call into branch always
if possible.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
(elf32_sparc_relax_section): New.
2000-05-26 06:41:33 +00:00
Jakub Jelinek
6c08d69728
* elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
...
Remove unusued variables.
(sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
(sparc64_elf_merge_private_bfd_data): Fix shared library case from
previous fix, so that shared libs really don't influence targets
extension mask and memory model.
2000-05-26 06:39:51 +00:00
Andrew Cagney
fbc75a324a
Fix bitrot in tui-file.c.
2000-05-26 06:15:49 +00:00
Andrew Cagney
2894793a7b
Configure TUI to use <ncurses.h> when available.
2000-05-26 04:11:34 +00:00
Alexandre Oliva
d60622826d
* m10300-dis.c (disassemble): Don't assume 32-bit longs when
...
sign-extending operands.
2000-05-26 01:54:33 +00:00
Donald Lindsay
0a44c2b16f
New short-conditional-branch packing rules for D10V.
2000-05-25 22:35:05 +00:00
Donald Lindsay
f0662e279c
Define the ALONE flag bit, for use in the opcode table.
2000-05-25 22:23:45 +00:00
Donald Lindsay
344fc69a7b
Add ALONE flag to most of the short branch instructions.
2000-05-25 22:21:38 +00:00
Scott Bambrough
a52e6aac8a
Replace SKIP_SOLIB_RESOLVER stub with something that works.
...
2000-05-25 Scott Bambrough <scottb@netwinder.org>
* arm-linux-tdep.c (find_minsym_and_objfile): New.
(skip_hurd_resolver): New.
(arm_linux_skip_solib_resolver): New.
(arm_skip_solib_resolver): Removed.
* config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use
arm_linux_skip_solib_resolver.
2000-05-25 18:24:33 +00:00
Mark Kettenis
7dfa765cc1
* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
...
* configure.in: Add checks for r_fs and r_gs members of
`struct reg'.
* config.in, configure: Regenerated.
2000-05-25 17:18:01 +00:00
Eli Zaretskii
b1eeef9a6e
* ser-go32.c: Remove PARAMS.
2000-05-25 13:55:48 +00:00
Andrew Cagney
4b14d3e4e0
Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".
2000-05-25 06:49:01 +00:00
Andrew Cagney
944d780c6e
Re-generate config.in.
2000-05-25 04:44:33 +00:00
Andrew Cagney
85ff3c5244
File rename tweeks.
2000-05-25 03:57:48 +00:00
Alan Modra
f190c5c4e9
Ensure bfd_close after bfd_openw so we don't get multiple bfd_openw
...
calls for same file.
2000-05-25 02:05:08 +00:00
Jim Wilson
e0c9811a90
IA-64 unwind info changes, fix errors, add missing pieces, and some cleanup.
...
* config/tc-ia64.c (dot_restorereg_p): New function.
(md_pseudo_table): Add restorereg.p.
...
2000-05-25 02:00:14 +00:00
Andrew Cagney
ed952ac512
Have TUI use the same configury mechanism as MI.
2000-05-25 01:50:50 +00:00
Andrew Cagney
0aaf65d72f
Update JimI's e-mail addres.
...
Update TODO - FreeBSD mostly fixed.
2000-05-25 01:07:17 +00:00
Hans-Peter Nilsson
964802a856
Delete pass on manually added dependency for readelf.o for new target
2000-05-25 00:39:59 +00:00
Mark Kettenis
e6031aeb52
Add support for FreeBSD/i386 ELF.
...
* i386bsd-nat.c: New file.
* config/i386/tm-fbsd.h (HAVE_I387_REGS): Define.
Include "i386/tm-i386.h" instead of "i386/tm-i386b.h".
(NUM_REGS): Remove redefinition.
(USE_STRUCT_CONVENTION): Define.
(i386_float_info): Remove prototype.
(FLOAT_INFO): Remove define.
(JB_ELEMENT_SIZE): Define to 4.
(JB_PC): Define to 0.
(GET_LONGJMP_TARGET): Define.
(SIGTRAMP_START, SIGTRAMP_END): Define.
(SIGCONTEXT_PC_OFFSET): Define.
(IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS
* config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t.
(FETCH_INFERIOR_REGISTERS): Define.
(ATTACH_DETACH): Define.
(kernel_u_size): Remove PARAMS.
(register_u_addr): Use CORE_ADDR in prototype where appropriate.
Remove PARAMS.
(SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]:
Define.
[SVR4_SHARED_LIBS]: Include "elf/common.h".
Only define aliases for struct members from <link.h> if
!SVR4_SHARED_LIBS.
* config/i386/xm-fbsd.h: New file.
* config/i386/fbsd.mt (TDEPFILES): Remove solib.o.
* config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add
core-regset.o i387-nat.o i386bsd-nat.o.
2000-05-24 22:32:58 +00:00
Hans-Peter Nilsson
dd167cc82f
* bfdint.texi (BFD ELF processor required): Add paragraph about
...
target necessities for readelf.
2000-05-24 18:21:53 +00:00
Michael Snyder
0f2c5ba5c5
2000-05-24 Michael Snyder <msnyder@seadog.cygnus.com>
...
* findvar.c (value_from_register): Factor code, simplify logic.
2000-05-24 17:25:39 +00:00
Michael Snyder
ab9d50c7a8
2000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>
...
* config/sparc/tm-sun4sol2.h: Turn on multi-arch.
* sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
2000-05-24 17:17:46 +00:00
Michael Snyder
0a791409a5
2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdb.base/annota1.exp (annotate-signal-handler-caller):
Relax the regular expression a little, make it pass on Solaris 8.
2000-05-24 17:14:50 +00:00
Michael Snyder
96dd789021
2000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>
...
* config/sparc/tm-sun4sol2.h: Turn on multi-arch.
sparc-tdep.c (gdb_print_insn_sparc): Remove temporary multi-arch hack.
2000-05-24 17:13:47 +00:00
Eli Zaretskii
48e934c645
* gdb.texinfo: Remove duplicate @syncodeindex. From Brian
...
Youmans.
2000-05-24 16:20:24 +00:00
Diego Novillo
fb48caede3
* mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
...
(STD_REGISTER_NAMES): New name for REGISTER_NAMES.
(reg_names): Rename to std_reg_names. Change it to a char **
static variable.
(std_reg_names): New name for reg_names.
(set_mips_isa_type): Set reg_names to point to std_reg_names by
default.
2000-05-24 15:24:56 +00:00
Andrew Cagney
9e9c5ae78a
et al. not et.al.
2000-05-24 11:39:44 +00:00
Andrew Cagney
eb2d80b469
Change profiling so that it is enabled by default. Re-generate everything.
2000-05-24 04:39:50 +00:00
J.T. Conklin
9cebe72f24
* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
...
* config/i386/nbsd.mh (NATDEPFILES): ...to here.
* config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/m68k/nbsd.mh (NATDEPFILES): ...to here.
* config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/ns32k/nbsd.mh (NATDEPFILES): ...to here.
* config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o.
* configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs.
* gdbserver/low-nbsd.c (initialize_arch): Define for PPC.
(fetch_inferior_registers): Likewise.
(store_inferior_registers): Likewise.
* gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86
floating point registers.
(store_inferior_registers): Likewise.
-------------------------------------------------------------------
2000-05-24 04:16:28 +00:00
Andrew Cagney
c741b251b9
Remove quotes from arround for loop arg.
2000-05-24 02:18:18 +00:00
Nick Clifton
3463c3fbbb
Add special case handling when GDB set CPSR register
2000-05-23 23:52:46 +00:00
Mark Kettenis
b2450fc5b6
* i387-nat.h, i387-nat.c: New files.
2000-05-23 23:44:44 +00:00
Nick Clifton
1f0df59a27
When deciding if ".text" section should be read-only, don't forget to reset
...
SEC_READONLY because it could be already set.
2000-05-23 21:03:35 +00:00
Alexandre Oliva
863e0fe46a
* config/sparc/nm-linux.h: Include config/nm-linux.h.
...
* config/powerpc/nm-linux.h: Likewise.
2000-05-23 20:34:09 +00:00
David Taylor
9af9729377
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
...
with the printing of complex numbers (it would print the real part twice).
2000-05-23 15:56:33 +00:00
Andrew Cagney
f5ff8c83c8
Add make_cleanup_close() function.
2000-05-23 14:48:13 +00:00
H.J. Lu
ba09750c1e
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.
* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
2000-05-23 14:20:57 +00:00
H.J. Lu
edb72b3b35
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.
2000-05-23 14:15:30 +00:00
H.J. Lu
3a27a730c7
2000-05-23 H.J. Lu <hjl@gnu.org>
...
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-05-23 14:05:50 +00:00
Andrew Cagney
781c552e2d
sigrc wasn't initialized before being passed to sim_resume().
2000-05-23 11:34:27 +00:00
Andrew Cagney
16cadf399a
Add -Wuninitialized.
2000-05-23 11:28:14 +00:00
Hans-Peter Nilsson
4c8d9ec67a
Oops. Forgot to say "configure: Regenerate".
2000-05-23 10:03:32 +00:00
Hans-Peter Nilsson
f98fd99f67
* configure.in (i386-*-freebsd a.out entry): Quote properly.
2000-05-23 08:53:54 +00:00
Andrew Cagney
6e8cb14ae5
IRIX GCC fixes from 5.0 branch.
2000-05-23 07:49:05 +00:00