Alan Modra
f1ef08cb01
* readelf.c (byte_get_little_endian): Comment typo fix.
...
(print_symbol): Constify "symbol" arg. Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found. Decode
DW_EH_PE_pcrel addresses.
2002-11-04 03:18:41 +00:00
Kaz Kojima
935cac6e77
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
...
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.
2002-11-04 01:18:13 +00:00
Stephen Clarke
3463048e40
* elf32-sh64-com.c (sh64_address_in_cranges): Use
...
_raw_size of cranges section if _cooked_size not yet set.
2002-11-04 00:02:13 +00:00
gdbadmin
299b302755
*** empty log message ***
2002-11-04 00:00:03 +00:00
Alan Modra
b2d3a55a49
daily update
2002-11-03 23:00:08 +00:00
Mark Kettenis
f16a25aee9
* i387-tdep.c (i387_print_float_info): Call fputs_filtered instead
...
of puts_filtered.
2002-11-03 13:04:47 +00:00
Mark Kettenis
1d70089aec
* i387-tdep.c (i387_print_float_info): Replace calls to
...
register_read and deprecated_read_register_gen with calls to
frame_register_read, and make the necessary adjustments to the
surrounding code.
2002-11-03 12:32:42 +00:00
Hans-Peter Nilsson
63a2379942
* elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
...
for bfd_elf32_swap_symbol_out.
2002-11-03 10:43:44 +00:00
Andrew Cagney
7e20f3fbea
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (register_reggroup_p): Allow default value.
* gdbarch.h, gdbarch.c: Regenerate.
2002-11-03 00:30:33 +00:00
gdbadmin
f9712b716c
*** empty log message ***
2002-11-03 00:00:02 +00:00
Alan Modra
b793562e43
daily update
2002-11-02 23:00:05 +00:00
Andrew Cagney
192dbe3389
2002-11-02 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h: Add coment indicating replacements for deprecated
functions.
2002-11-02 20:06:56 +00:00
Andrew Cagney
b59ff9d5ff
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* reggroups.h, reggroups.c: New files.
* regcache.c: Include "reggroups.h".
(enum regcache_dump_what): Add `regcache_dump_groups'.
(regcache_dump): Contract size of the "Type" column. When
specified, dump the register's groups.
(maintenance_print_register_groups): New function.
(_initialize_regcache): Add command `maint print register-groups'.
* Makefile.in (COMMON_OBS): Add reggroups.o
(SFILES): Add reggroups.c.
(reggroups_h): Define.
(regcache.o, gdbarch.o): Update dependencies.
(reggroups.o): Specify dependencies.
* gdbarch.sh (register_reggroup_p): Add pure multi-arch method.
Add opaque declaration for `struct reggroup' in generated .h file.
Include "reggroups.h" in generated .c file.
gdbarch.h, gdbarch.c: Re-generate.
2002-11-02 15:13:34 +00:00
Andrew Cagney
4caf0990c1
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (deprecated_read_register_gen): Rename
read_register_gen.
(deprecated_write_register_gen): Rename write_register_gen.
* i387-tdep.c: Update.
* x86-64-linux-nat.c: Update
* wince.c: Update.
* thread-db.c: Update.
* win32-nat.c: Update.
* mips-tdep.c: Update.
* d10v-tdep.c: Update.
* cris-tdep.c: Update.
* remote-sim.c: Update.
* remote-rdi.c: Update.
* remote-rdp.c: Update.
* frame.c: Update.
* target.c: Update.
* blockframe.c: Update.
* x86-64-tdep.c: Update.
* xstormy16-tdep.c: Update.
* sh-tdep.c: Update.
* s390-tdep.c: Update.
* rs6000-tdep.c: Update.
* sparc-tdep.c: Update.
* i386-tdep.c: Update.
* dwarf2cfi.c: Update.
* regcache.c: Update.
2002-11-02 14:59:10 +00:00
gdbadmin
8f104e6b1f
*** empty log message ***
2002-11-02 00:00:02 +00:00
Alan Modra
856695231a
daily update
2002-11-01 23:00:07 +00:00
Joel Brobecker
7a7adcdf1d
New interix-specific files:
...
* config/i386/nm-interix.h: New file.
* config/i386/interix.mh: New file.
* config/i386/interix.mt: New file.
* i386-interix-nat.c: New file.
* i386-interix-tdep.c: New file.
2002-11-01 22:08:44 +00:00
Andrew Cagney
bdcdd53569
2002-11-01 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_generic_get_saved_register): Rename
generic_get_saved_register.
* blockframe.c (deprecated_generic_get_saved_register): Update.
* xstormy16-tdep.c (xstormy16_get_saved_register): Update.
(xstormy16_frame_saved_register): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_get_saved_register): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
2002-11-01 21:21:49 +00:00
H.J. Lu
4dd8d67b6a
2002-11-01 H.J. Lu <hjl@gnu.org>
...
* gas/i386/i386.exp: Add "sub".
* gas/i386/sub.d: New.
* gas/i386/sub.s: New.
2002-11-01 20:41:48 +00:00
Alan Modra
4f3cafa2eb
* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
...
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.
2002-11-01 10:42:26 +00:00
Alan Modra
4d0b322074
* dep-in.sed: Fix typo.
2002-11-01 10:35:43 +00:00
gdbadmin
36b3ec1e7f
*** empty log message ***
2002-11-01 00:00:03 +00:00
Daniel Jacobowitz
2a4b7c459e
* lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.
2002-10-31 21:00:08 +00:00
Daniel Jacobowitz
ef17e74bbb
* i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for
...
trampolines in sigaction.
2002-10-31 20:51:15 +00:00
Andrew Cagney
4904ba5b9a
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* h8300-tdep.c: Include "gdb_assert.h".
(h8300_print_register): Add gdbarch, file and frame parameters.
Use frame_read_unsigned_register to read the register's value.
Use fprintf_filtered to display output.
(h8300_print_registers_info): Replace h8300_do_registers_info.
(h8300_gdbarch_init): Set print_registers_info.
2002-10-31 20:22:45 +00:00
Andrew Cagney
f908a0eb77
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_read_unsigned_register): New function.
(frame_read_signed_register): New function.
* frame.h (frame_read_unsigned_register): Declare.
(frame_read_signed_register): Declare.
2002-10-31 20:14:33 +00:00
Andrew Cagney
c5646e1120
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.
* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.
2002-10-31 19:49:34 +00:00
Andrew Cagney
0bdd672b8c
2002-10-31 Andrew Cagney <cagney@redhat.com>
...
* z8k-tdep.c (z8k_print_register_hook): Make static.
(z8k_print_registers_info): New static function, clone of
infcmd.c's default_print_registers_info.
(z8k_do_registers_info): New function. Wrap
z8k_print_registers_info.
* config/z8k/tm-z8k.h: Update copyright.
(PRINT_REGISTER_HOOK): Delete macro.
(z8k_print_register_hook): Delete declaration.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(z8k_do_registers_info): Declare.
2002-10-31 19:14:07 +00:00
David O'Brien
e68cc12e04
2002-10-31 David O'Brien <obrien@FreeBSD.org>
...
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
signed and unsigned in comparison.
Approved by: Alan Modra <amodra@bigpond.net.au>
Message-ID: <20021012185224.Y979@bubble.sa.bigpond.net.au>
2002-10-31 09:18:48 +00:00
gdbadmin
0727d3d1f0
*** empty log message ***
2002-10-31 00:00:02 +00:00
Joel Brobecker
bf9c25dc04
* hppa-tdep.c (find_function_in_inferior): Remove this extern,
...
as this is already provided by value.h, and was actually causing
a compilation error because of a conflict in parameter type
declaration due to a missing const keyword.
(low_text_segment_addres): Fix a compilation warning.
2002-10-30 20:42:54 +00:00
Daniel Jacobowitz
54847c7622
* configure.in: Update ARM CPU patterns.
...
* configure: Regenerated.
2002-10-30 17:05:41 +00:00
Daniel Jacobowitz
db4b6d0145
* coffcode.h: Remove extraneous '\'.
2002-10-30 15:50:17 +00:00
Daniel Jacobowitz
2c665b51d2
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
...
registers without a name.
(mips_linux_cannot_store_register): Don't store registers without
a name.
2002-10-30 04:10:06 +00:00
Daniel Jacobowitz
df2a731323
* emultempl/aix.em: Use include <> for generated headers.
...
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/pe.em: Likewise.
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldlex.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.
2002-10-30 03:57:39 +00:00
Daniel Jacobowitz
3d82a647ca
* itbl-lex.l: Use #include <> for generated headers.
...
* itbl-ops.c: Likewise.
2002-10-30 03:56:39 +00:00
gdbadmin
8ffbbda408
*** empty log message ***
2002-10-30 00:00:34 +00:00
Alan Modra
8c05f9b85d
daily update
2002-10-29 00:20:31 +00:00
gdbadmin
c92cfda37b
*** empty log message ***
2002-10-29 00:00:15 +00:00
H.J. Lu
840f024325
2002-10-28 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (targets.lo): Depend on Makefile instead of
config.status.
(archures.lo): Likewise.
* Makefile.in: Regenerated.
2002-10-28 22:30:29 +00:00
David Carlton
e70ea697bd
2002-10-28 David Carlton <carlton@math.stanford.edu>
...
* symtab.c (find_addr_symbol): Delete. (It was already commented
out.)
* symtab.h: Delete prototype for find_addr_symbol.
2002-10-28 17:05:56 +00:00
Daniel Jacobowitz
b1744eabdd
* doc/gasp.texi: Fix typo in deprecation note.
2002-10-28 15:44:08 +00:00
gdbadmin
018d7ae331
*** empty log message ***
2002-10-28 00:00:33 +00:00
Alan Modra
f6e80f3298
daily update
2002-10-27 23:00:04 +00:00
DJ Delorie
2e1a9c3c9d
merge from gcc
2002-10-27 01:02:05 +00:00
DJ Delorie
ca9da28eb9
merge from gcc
2002-10-27 01:01:04 +00:00
gdbadmin
89feeecabc
*** empty log message ***
2002-10-27 00:00:02 +00:00
Alan Modra
5f3f153c88
daily update
2002-10-26 23:00:05 +00:00
Andrew Cagney
903ad3a6ad
2002-10-26 Andrew Cagney <cagney@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Delete
definition of DO_REGISTERS_INFO.
2002-10-26 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename
DO_REGISTERS_INFO.
gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Update reference.
* mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info.
(mips_dump_tdep): Do not print DO_REGISTERS_INFO.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
2002-10-26 17:19:28 +00:00
Mark Kettenis
e3033f1585
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
...
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
2002-10-26 17:04:37 +00:00