Daniel Jacobowitz
97606a13b0
* symfile.c (symfile_relocate_debug_section): Update call to
...
bfd_simple_get_relocated_section_contents.
2003-04-01 14:17:20 +00:00
Jakub Jelinek
276e509410
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
...
targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.
2003-04-01 14:08:00 +00:00
Nick Clifton
394ce546ee
fix spelling typo
2003-04-01 13:10:07 +00:00
Nick Clifton
5a6c681789
Fixes for iWMMXt contribution.
2003-04-01 13:08:06 +00:00
Nick Clifton
49634642a5
Add tests for ARM simulator.
2003-04-01 11:07:58 +00:00
Nick Clifton
27a710e55c
Change "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
...
mcore-*elf.
2003-04-01 10:52:43 +00:00
Ben Elliston
0cc1cf992d
* dwarf2.c (read_attribute_value): Correct typo in comment.
2003-04-01 10:49:02 +00:00
Nick Clifton
d63fd5d103
Make add_line_info() take a copy of the filename.
2003-04-01 10:31:34 +00:00
Nick Clifton
af3ef9fe5c
Remove use of concat() inside concat_filename()
2003-04-01 10:18:54 +00:00
Alexandre Oliva
a6e028719a
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
...
--section-start.
2003-04-01 00:34:04 +00:00
Alexandre Oliva
335a186916
* objdump.c (dump_data): Don't truncate the address to long; make
...
the width large enough, and uniform for all entries in a section.
2003-04-01 00:32:47 +00:00
Daniel Jacobowitz
6e84a90684
* simple.c (bfd_simple_get_relocated_section_contents): Add
...
parameter symbol_table. Optionally use it instead of the symbol
table from the bfd. Save and restore output offsets and output
sections around bfd_get_relocated_section_contents. Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise. Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.
2003-04-01 00:12:12 +00:00
gdbadmin
b985b5ac74
*** empty log message ***
2003-04-01 00:00:32 +00:00
Alan Modra
8f3c2f1544
daily update
2003-04-01 00:00:17 +00:00
Andrew Cagney
e8ab51f713
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (FIX_CALL_DUMMY): Delete macro.
* valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
available.
* frame.h (generic_fix_call_dummy): Delete declaration.
* dummy-frame.h: Update comment.
* dummy-frame.c (generic_fix_call_dummy): Delete function.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
fix_call_dummy.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
2003-03-31 23:52:38 +00:00
Joel Brobecker
018d1b488c
* config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
...
(INIT_FRAME_AP): Likewise.
(EXTRA_FRAME_INFO): Likewise.
2003-03-31 22:12:48 +00:00
Andrew Cagney
e9a2674e1d
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh: Include "symfile.h".
(CALL_DUMMY_ADDRESS): Default to entry_point_address.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_address, the default is at entry_point_address.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
2003-03-31 21:58:23 +00:00
H.J. Lu
566b0d53de
2003-03-31 H.J. Lu <hjl@gnu.org>
...
* readelf.c: Include "libiberty.h".
(dynamic_relocations): New.
(process_relocs): Properly handle dynamic relocation.
(process_dynamic_segment): Fill relocation elements in
dynamic_info.
2003-03-31 19:29:45 +00:00
Andrew Cagney
e8a8712ae2
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_P): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_P): Delete macro.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* dummy-frame.c (dummy_frame_this_id): Update comments.
* rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
* frame.c (legacy_get_prev_frame): Ditto.
* valops.c (call_function_by_hand): Delete function.
(hand_function_call): Rename to call_function_by_hand
2003-03-31 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
references to CALL_DUMMY_P.
2003-03-31 19:01:21 +00:00
Chris Demetriou
9844bab202
2003-03-31 Chris Demetriou <cgd@broadcom.com>
...
* gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New.
(gmon_get_ptr_size, gmon_get_ptr_signedness): New.
(gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc)
(gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to
use new functions and enums.
2003-03-31 19:01:04 +00:00
Nick Clifton
5ed6aba41c
Fix memory leaks
2003-03-31 18:13:25 +00:00
Nick Clifton
ee42cf8cc5
Add some initial 64-bit DWARF support
2003-03-31 13:06:01 +00:00
Nick Clifton
7adbf450a7
Allow resource IDs to be strings or numbers.
...
Add a test for this.
2003-03-31 10:15:58 +00:00
Andrew Cagney
ed234cf863
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
2002-11-10 Klee Dienes <kdienes@apple.com>
* value.h (struct value): Update comment.
2003-03-31 04:35:24 +00:00
Andrew Cagney
6c2b51687c
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
D10V_FP_REGNUM.
(d10v_gdbarch_init): Do not set fp_regnum.
2003-03-31 02:36:59 +00:00
Alan Modra
915003af10
daily update
2003-03-31 00:00:06 +00:00
gdbadmin
0bea38a955
*** empty log message ***
2003-03-31 00:00:02 +00:00
Andrew Cagney
06c77151a5
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_frame_base): Force ID initialization.
(get_prev_frame): Move computation of the frame ID from here ...
(get_frame_id): ... to here.
(legacy_get_prev_frame): Mark the frame ID as valid.
* frame.h (struct frame_info): Add field "id_p".
2003-03-30 16:16:25 +00:00
Mark Kettenis
97a1a11c19
* i386-tdep.c (i386_store_struct_return): Removed.
...
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
2003-03-30 15:03:46 +00:00
Andrew Cagney
6c0e89edf9
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
* gdbarch.h, gdbarch.c: Regenerate.
* v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
* config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
* config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* valops.c (hand_function_call): Replace TARGET_WRITE_SP with
DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
instead of when push_dummy_call is not available.
2003-03-30 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Remove
reference to TARGET_WRITE_SP.
2003-03-30 14:59:02 +00:00
Andrew Cagney
f7dd6af2b5
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* infttrace.c: Include "gdbthread.h".
(parent_attach_all): Fix function signature.
(call_ptrace): Update call.
* Makefile.in (infttrace.o): Update dependencies.
2003-03-30 14:52:42 +00:00
Andrew Cagney
28f617b332
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
PUSH_RETURN_ADDRESS.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* valops.c (hand_function_call): Update.
2003-03-30 14:32:09 +00:00
Nick Clifton
3a3d6f654d
Remove use of __IWMMXT__.
2003-03-30 10:39:22 +00:00
Andrew Cagney
71900fe836
2003-03-29 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/sizeof.c (main): Print the value of '\377'.
* gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-30 04:08:16 +00:00
Andrew Cagney
4d628cd73e
2003-03-29 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
sizeof_call_dummy_words.
* gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
define.
* gdbarch.h: Regenerate.
2003-03-30 00:09:40 +00:00
gdbadmin
0406293664
*** empty log message ***
2003-03-30 00:00:31 +00:00
Alan Modra
07f9a27db4
daily update
2003-03-30 00:00:05 +00:00
Andrew Cagney
65e82032f2
2003-03-29 Andrew Cagney <cagney@redhat.com>
...
* infttrace.h: New file.
* hpread.c: Include "gdb_assert.h" and "somsolib.h".
(hpread_get_textlow): Detect an uninitialized dn_bufp.
(hpread_read_doc_function_type): Detect an initialized type1.
(hpread_quick_traverse): Initialize mod_name_string.
* somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
(som_solib_get_solib_by_pc): Declare.
(so_lib_thread_start_addr): Declare.
(no_shared_libraries): Declare.
* somread.c (init_import_symbols): Make static. Add forward
declaration.
* config/pa/nm-hppah.h: Include "infttrace.h" for
parent_attach_all.
(hppa_insert_hw_watchpoint): Declare.
(hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
* hppah-nat.c: Include "gdb_string.h".
(parent_attach_all): Delete extern declaration, moved to
"infttrace.h".
(hppa_can_use_hw_watchpoint): Change type of "type" parameter to
int.
(hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
* Makefile.in (infttrace_h): Define.
(hpread.o): Update dependencies.
(hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
* hppa-hpux-tdep.c: Include "gdb_string.h".
* hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
* infrun.c (handle_inferior_event): Always initialize
stepped_after_stopped_by_watchpoint. Add default and remove
fallthrough in switch statement.
* infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
parameter to int.
(hppa_remove_hw_watchpoint): Ditto.
2003-03-29 23:29:47 +00:00
Andrew Cagney
2c3bbe771a
2003-03-29 Andrew Cagney <cagney@redhat.com>
...
* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
offset.
2003-03-29 22:13:14 +00:00
Richard Earnshaw
2dd604e7ef
* arm-tdep.c (arm_push_arguments): Delete.
...
(struct stack_item): New type.
(push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
(arm_store_struct_return): Delte.
(arm_gdbarch_init): Register arm_push_dummy_call. Don't register
arm_push_arguments or arm_store_struct_return.
2003-03-29 17:08:00 +00:00
Andrew Cagney
e8933a55f2
2003-03-28 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (d10v-tdep.o): Update dependencies.
* remote.h (target_resume_hook, target_wait_loop_hook): Declare.
* d10v-tdep.c: Include "remote.h".
(target_resume_hook): Delete extern declaration.
(target_wait_loop_hook): Ditto.
(tdisassemble_command): Eliminate assignment in "if" conditional.
(d10v_ts2_register_sim_regno): Eliminate call to
legacy_register_sim_regno.
(d10v_ts3_register_sim_regno): Ditto.
2003-03-29 01:40:01 +00:00
H.J. Lu
5941afc105
2003-03-28 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_add_object_symbols): Correctly combine
visibilities.
2003-03-29 01:26:33 +00:00
gdbadmin
962a53d175
*** empty log message ***
2003-03-29 00:00:02 +00:00
Alan Modra
8f974ed6fc
daily update
2003-03-28 23:00:06 +00:00
Jeff Johnston
6949171e13
2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
...
* thread.c: Reindented.
* lin-lwp.c: Ditto.
* linux-proc.c: Ditto.
2003-03-28 21:42:41 +00:00
Bob Rossi
98c7071fce
MAINTAINERS (write after approval): Add myself.
2003-03-28 14:33:00 +00:00
Theodore A. Roth
5edc9ca693
* objc-exp.y: Add missing semi-colons.
2003-03-28 01:40:37 +00:00
gdbadmin
82a4a0fe33
*** empty log message ***
2003-03-28 00:00:02 +00:00
Alan Modra
74391df5aa
daily update
2003-03-27 23:00:04 +00:00
Jakub Jelinek
9d73f260a7
* elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
...
to -1 before recomputing got offsets.
2003-03-27 22:52:12 +00:00