binutils-gdb.git
21 years ago*** empty log message ***
gdbadmin [Wed, 2 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 23:51:17 +0000 (23:51 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* printcmd.c (print_frame_nameless_args): Delete #ifdef
NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
PRINT_TYPELESS_INTEGER.
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
PUSH_RETURN_ADDRESS.

21 years ago * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
Alan Modra [Tue, 1 Apr 2003 23:44:45 +0000 (23:44 +0000)]
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.

21 years ago* windres.c (usage): Report -r option.
Christopher Faylor [Tue, 1 Apr 2003 23:09:29 +0000 (23:09 +0000)]
* windres.c (usage): Report -r option.
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 19:55:03 +0000 (19:55 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (d10v-tdep.o): Update dependencies.
* d10v-tdep.c: Include "frame-base.h".
(d10v_frame_unwind): Make constant.
(d10v_frame_base_address): New function.
(d10v_frame_base): New variable.
(d10v_gdbarch_init): Set frame_base default.
(struct d10v_unwind_cache): Add the field "prev_sp".  Update
comment for base.
(d10v_frame_unwind_cache): Set and use "prev_sp".
(d10v_frame_this_id): Use the previous frame's inner most stack
address and this frame's func address for the frame ID.  Use
frame_id_build.  Don't analyze beyond the current instruction.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 19:26:52 +0000 (19:26 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* frame.h (get_frame_locals_address, get_frame_args_address):
Refer to the base address, instead of the address of the first
local or parameter.

21 years ago * MAINTAINERS: Add myself as Xtensa maintainer.
Bob Wilson [Tue, 1 Apr 2003 19:14:27 +0000 (19:14 +0000)]
    * MAINTAINERS: Add myself as Xtensa maintainer.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 19:11:01 +0000 (19:11 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

Add frame debug info addresses:
* frame-base.c: New file.
* frame-base.h: New file.
* frame.h (struct frame_base): Add opaque declaration.
(get_frame_base): Update comment.
(get_frame_base_address): Declare.
(get_frame_locals_address): Declare.
(get_frame_args_address): Declare.
(struct frame_info): Add "base" and "base_cache".  Update
comments on the unwinder.
* frame.c: Include "frame-base.h".
(get_frame_locals_address): New function.
(get_frame_base_address): New function.
(get_frame_args_address): New function.
* findvar.c (read_var_value): Use get_frame_locals_address and
get_frame_args_address.
* stack.c (frame_info): Use get_frame_locals_address and
get_frame_args_address.
(FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
moved to "frame-base.c".
* printcmd.c (print_frame_nameless_args): Ditto.
* symtab.h (address_class): Update comments.
* dwarf2loc.c (dwarf_expr_frame_base): Add note about
get_frame_base_address.
* dwarf2expr.c (execute_stack_op): Ditto.
* Makefile.in (frame_base_h): Define.
(frame.o): Update dependencies.
(frame-base.o): Add dependencies.
(SFILES): Add frame-base.c.
(COMMON_OBS): Add frame-base.o.

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 17:17:29 +0000 (17:17 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
CALL_DUMMY_LENGTH): Ditto.
* gdbarch.c: Re-generate.
* inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
(CALL_DUMMY_LENGTH): Delete macro.
* alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.

21 years agoAdd Xtensa port (omitted from previous delta)
Nick Clifton [Tue, 1 Apr 2003 15:53:47 +0000 (15:53 +0000)]
Add Xtensa port (omitted from previous delta)

21 years agoAdd Xtensa port
Nick Clifton [Tue, 1 Apr 2003 15:50:31 +0000 (15:50 +0000)]
Add Xtensa port

21 years ago * frame.c (get_prev_frame): Disable call to inside_entry_file().
Corinna Vinschen [Tue, 1 Apr 2003 15:26:08 +0000 (15:26 +0000)]
* frame.c (get_prev_frame): Disable call to inside_entry_file().

21 years ago2003-04-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Apr 2003 14:38:51 +0000 (14:38 +0000)]
2003-04-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
* inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
(CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
* infcmd.c (run_stack_dummy): Simplify assuming
CALL_DUMMY_BREAKPOINT_OFFSET_P.
* infrun.c (handle_inferior_event): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Do not set
call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.

21 years ago * symfile.c (symfile_relocate_debug_section): Update call to
Daniel Jacobowitz [Tue, 1 Apr 2003 14:17:20 +0000 (14:17 +0000)]
* symfile.c (symfile_relocate_debug_section): Update call to
bfd_simple_get_relocated_section_contents.

21 years ago * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
Jakub Jelinek [Tue, 1 Apr 2003 14:08:00 +0000 (14:08 +0000)]
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.

21 years agofix spelling typo
Nick Clifton [Tue, 1 Apr 2003 13:10:07 +0000 (13:10 +0000)]
fix spelling typo

21 years agoFixes for iWMMXt contribution.
Nick Clifton [Tue, 1 Apr 2003 13:08:06 +0000 (13:08 +0000)]
Fixes for iWMMXt contribution.

21 years agoAdd tests for ARM simulator.
Nick Clifton [Tue, 1 Apr 2003 11:07:58 +0000 (11:07 +0000)]
Add tests for ARM simulator.

21 years agoChange "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
Nick Clifton [Tue, 1 Apr 2003 10:52:43 +0000 (10:52 +0000)]
Change "arm-pe*" to "arm-*-pe*".  Similarly for thumb-pe*, mcore-pe and
mcore-*elf.

21 years ago * dwarf2.c (read_attribute_value): Correct typo in comment.
Ben Elliston [Tue, 1 Apr 2003 10:49:02 +0000 (10:49 +0000)]
* dwarf2.c (read_attribute_value): Correct typo in comment.

21 years agoMake add_line_info() take a copy of the filename.
Nick Clifton [Tue, 1 Apr 2003 10:31:34 +0000 (10:31 +0000)]
Make add_line_info() take a copy of the filename.

21 years agoRemove use of concat() inside concat_filename()
Nick Clifton [Tue, 1 Apr 2003 10:18:54 +0000 (10:18 +0000)]
Remove use of concat() inside concat_filename()

21 years ago* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
Alexandre Oliva [Tue, 1 Apr 2003 00:34:04 +0000 (00:34 +0000)]
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
--section-start.

21 years ago* objdump.c (dump_data): Don't truncate the address to long; make
Alexandre Oliva [Tue, 1 Apr 2003 00:32:47 +0000 (00:32 +0000)]
* objdump.c (dump_data): Don't truncate the address to long; make
the width large enough, and uniform for all entries in a section.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Add
Daniel Jacobowitz [Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)]
* 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.

21 years ago*** empty log message ***
gdbadmin [Tue, 1 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 1 Apr 2003 00:00:17 +0000 (00:00 +0000)]
daily update

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 31 Mar 2003 23:52:38 +0000 (23:52 +0000)]
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.

21 years ago * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
Joel Brobecker [Mon, 31 Mar 2003 22:12:48 +0000 (22:12 +0000)]
    * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
        (INIT_FRAME_AP): Likewise.
        (EXTRA_FRAME_INFO): Likewise.

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 31 Mar 2003 21:58:23 +0000 (21:58 +0000)]
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.

21 years ago2003-03-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 31 Mar 2003 19:29:45 +0000 (19:29 +0000)]
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.

21 years ago2003-03-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 31 Mar 2003 19:01:21 +0000 (19:01 +0000)]
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.

21 years ago2003-03-31 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 31 Mar 2003 19:01:04 +0000 (19:01 +0000)]
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.

21 years agoFix memory leaks
Nick Clifton [Mon, 31 Mar 2003 18:13:25 +0000 (18:13 +0000)]
Fix memory leaks

21 years agoAdd some initial 64-bit DWARF support
Nick Clifton [Mon, 31 Mar 2003 13:06:01 +0000 (13:06 +0000)]
Add some initial 64-bit DWARF support

21 years agoAllow resource IDs to be strings or numbers.
Nick Clifton [Mon, 31 Mar 2003 10:15:58 +0000 (10:15 +0000)]
Allow resource IDs to be strings or numbers.
Add a test for this.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 31 Mar 2003 04:35:24 +0000 (04:35 +0000)]
2003-03-30  Andrew Cagney  <cagney@redhat.com>

2002-11-10 Klee Dienes <kdienes@apple.com>
        * value.h (struct value): Update comment.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 31 Mar 2003 02:36:59 +0000 (02:36 +0000)]
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.

21 years agodaily update
Alan Modra [Mon, 31 Mar 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 31 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 16:16:25 +0000 (16:16 +0000)]
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".

21 years ago* i386-tdep.c (i386_store_struct_return): Removed.
Mark Kettenis [Sun, 30 Mar 2003 15:03:46 +0000 (15:03 +0000)]
* i386-tdep.c (i386_store_struct_return): Removed.
(i386_gdbarch_init): Don't set deprecated_store_struct_return.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 14:59:02 +0000 (14:59 +0000)]
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.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 14:52:42 +0000 (14:52 +0000)]
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.

21 years ago2003-03-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 14:32:09 +0000 (14:32 +0000)]
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.

21 years agoRemove use of __IWMMXT__.
Nick Clifton [Sun, 30 Mar 2003 10:39:22 +0000 (10:39 +0000)]
Remove use of __IWMMXT__.

21 years ago2003-03-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 04:08:16 +0000 (04:08 +0000)]
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'.

21 years ago2003-03-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 30 Mar 2003 00:09:40 +0000 (00:09 +0000)]
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.

21 years ago*** empty log message ***
gdbadmin [Sun, 30 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 30 Mar 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-03-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 29 Mar 2003 23:29:47 +0000 (23:29 +0000)]
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.

21 years ago2003-03-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 29 Mar 2003 22:13:14 +0000 (22:13 +0000)]
2003-03-29  Andrew Cagney  <cagney@redhat.com>

* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
offset.

21 years ago* arm-tdep.c (arm_push_arguments): Delete.
Richard Earnshaw [Sat, 29 Mar 2003 17:08:00 +0000 (17:08 +0000)]
* 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.

21 years ago2003-03-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 29 Mar 2003 01:40:01 +0000 (01:40 +0000)]
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.

21 years ago2003-03-28 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 29 Mar 2003 01:26:33 +0000 (01:26 +0000)]
2003-03-28  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Correctly combine
visibilities.

21 years ago*** empty log message ***
gdbadmin [Sat, 29 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 28 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 28 Mar 2003 21:42:41 +0000 (21:42 +0000)]
2003-03-28  Jeff Johnston  <jjohnstn@redhat.com>

        * thread.c: Reindented.
        * lin-lwp.c: Ditto.
        * linux-proc.c: Ditto.

21 years agoMAINTAINERS (write after approval): Add myself.
Bob Rossi [Fri, 28 Mar 2003 14:33:00 +0000 (14:33 +0000)]
MAINTAINERS (write after approval): Add myself.

21 years ago* objc-exp.y: Add missing semi-colons.
Theodore A. Roth [Fri, 28 Mar 2003 01:40:37 +0000 (01:40 +0000)]
* objc-exp.y: Add missing semi-colons.

21 years ago*** empty log message ***
gdbadmin [Fri, 28 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 27 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
Jakub Jelinek [Thu, 27 Mar 2003 22:52:12 +0000 (22:52 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
to -1 before recomputing got offsets.

21 years ago2003-03-27 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 27 Mar 2003 21:29:49 +0000 (21:29 +0000)]
2003-03-27  Michael Chastain  <mec@shout.net>

* gdb.base/gdb1090.exp: New file.
* gdb.base/gdb1090.cc: New file.

21 years ago * gdb.gdb/observer.exp: New regression test.
Joel Brobecker [Thu, 27 Mar 2003 20:13:28 +0000 (20:13 +0000)]
    * gdb.gdb/observer.exp: New regression test.

21 years ago2003-03-27 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 27 Mar 2003 18:59:11 +0000 (18:59 +0000)]
2003-03-27  Michael Chastain  <mec@shout.net>

* gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
* gdb.base/ptype.exp: Likewise.

21 years agoAdd iWMMXt support to ARM simulator
Nick Clifton [Thu, 27 Mar 2003 17:13:33 +0000 (17:13 +0000)]
Add iWMMXt support to ARM simulator

21 years ago2003-03-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Mar 2003 15:29:45 +0000 (15:29 +0000)]
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* regcache.c (write_sp): Delete function and references.
* inferior.h (write_sp): Delete declaration.
* valops.c (hand_function_call): Replace write_sp with
TARGET_WRITE_SP.
* sparc-tdep.c (sparc_push_dummy_frame): Ditto.
(sparc_pop_frame): Ditto.

Index: doc/ChangeLog
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Remove
references to write_sp.

21 years ago2003-03-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Mar 2003 15:23:17 +0000 (15:23 +0000)]
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention removal of support for hppa*-*-bsd* and
hppa*-*-osf* natives, and hppa*-*-pro* target.
* config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
* config/pa/xm-pa.h: Obsolete file.
* config/pa/xm-hppab.h: Obsolete file.
* config/pa/nm-hppab.h: Obsolete file.
* config/pa/tm-hppab.h: Obsolete file.
* config/pa/tm-hppao.h: Obsolete file.
* config/pa/nm-hppao.h: Obsolete file.
* config/pa/tm-pro.h: Obsolete file.
* config/pa/hppaosf.mt: Obsolete file.
* config/pa/hppaosf.mh: Obsolete file.
* config/pa/hppapro.mt: Obsolete file.
* config/pa/hppabsd.mt: Obsolete file.
* config/pa/hppabsd.mh: Obsolete file.
* configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
* configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
hppa*-*-osf*.

21 years agoIndex: doc/ChangeLog
Andrew Cagney [Thu, 27 Mar 2003 15:17:35 +0000 (15:17 +0000)]
Index: doc/ChangeLog
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (GDB/MI Variable Objects): Replace @include with
chapter body.  Use @smallexample instead of @example.
(Annotations): Ditto.
* Makefile.in (GDB_DOC_SOURCE_INCLUDES): Remove gdbmi.texinfo and
annotate.texi.

Index: mi/ChangeLog
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* gdbmi.texinfo: Delete file.  Contents moved to
../doc/gdb.texinfo.

21 years ago2003-03-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Mar 2003 15:09:48 +0000 (15:09 +0000)]
2003-03-27  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
push_arguments.  Don't set push_return_address or write_sp.
(d10v_push_dummy_call): Replace d10v_push_arguments.
(d10v_push_return_address, d10v_write_sp): Delete function,
handled by push_dummy_call.

21 years ago * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
Corinna Vinschen [Thu, 27 Mar 2003 14:09:52 +0000 (14:09 +0000)]
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.

21 years ago*** empty log message ***
gdbadmin [Thu, 27 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-26 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 26 Mar 2003 23:32:06 +0000 (23:32 +0000)]
2003-03-26  Eric Christopher  <echristo@redhat.com>

* config/tc-mips.c (nopic_need_relax): Check for
        S_IS_EXTERN.

21 years agodaily update
Alan Modra [Wed, 26 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 26 Mar 2003 22:39:53 +0000 (22:39 +0000)]
2003-03-26  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
(push_dummy_call): New pure multi-arch replacement with gdbarch,
regcache and dummy_addr parameters.
* gdbarch.h, gdbarch.c: Re-generate.
* valops.c (hand_function_call): Use gdbarch_push_dummy_call when
available; assume it will handle stack alignment and return
address issues.  Fall back to DEPRECATED_PUSH_ARGUMENTS and
legacy_push_arguments.
(legacy_push_arguments): Rename default_push_arguments.
* value.h (legacy_push_arguments): Rename default_push_arguments.
* i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/i386/tm-symmetry.h: Update.
* 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.
* hppa-tdep.c (hppa_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.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* arm-linux-tdep.c (arm_linux_init_abi): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

2003-03-26  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Replace
PUSH_ARGUMENTS with push_dummy_call, add gdbarch, regcache and
dummy_addr parameters.

21 years ago2003-03-26 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 26 Mar 2003 22:10:39 +0000 (22:10 +0000)]
2003-03-26  Michael Chastain  <mec@shout.net>

* gdb.base/ptype.exp: Actually use some typedef'd types.

21 years ago * signals/signals.c (do_target_signal_to_host): Correct realtime
Daniel Jacobowitz [Wed, 26 Mar 2003 20:44:39 +0000 (20:44 +0000)]
* signals/signals.c (do_target_signal_to_host): Correct realtime
signal range test.

21 years ago * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
Daniel Jacobowitz [Wed, 26 Mar 2003 20:19:12 +0000 (20:19 +0000)]
* breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
(struct sal_chain, map_catch_names): Remove.
(catch_exception_command_1): Don't call
handle_gnu_4_16_catch_command.

21 years ago From Mark Dettinger <dettinge@de.ibm.com>:
Daniel Jacobowitz [Wed, 26 Mar 2003 20:17:36 +0000 (20:17 +0000)]
From Mark Dettinger <dettinge@de.ibm.com>:
* dwarf2cfi.c (read_2u): Increment pointer by two.

21 years ago * signals/signals.c: Fix typos in last change.
Daniel Jacobowitz [Wed, 26 Mar 2003 17:21:16 +0000 (17:21 +0000)]
* signals/signals.c: Fix typos in last change.

21 years ago * linux-low.c (linux_create_inferior): Use __SIGRTMIN.
Daniel Jacobowitz [Wed, 26 Mar 2003 16:36:41 +0000 (16:36 +0000)]
* linux-low.c (linux_create_inferior): Use __SIGRTMIN.
(linux_wait_for_event, linux_init_signals): Likewise.

21 years ago * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
Daniel Jacobowitz [Wed, 26 Mar 2003 16:29:39 +0000 (16:29 +0000)]
* signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
not already defined.  Use __SIGRTMIN if available.
(target_signal_from_host): Remove SIGRTMIN block.
(do_target_signal_to_host): Remove SIGRTMIN block; check that
the signal is within the realtime range.

21 years ago * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
Andreas Schwab [Wed, 26 Mar 2003 14:20:14 +0000 (14:20 +0000)]
* elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf_m68k_relocate_section): Use it to correctly handle symbols
forced to be local.
(elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got
entries for symbols that are forced to be local.

21 years ago* Makefile.in (infrun.o): Add $(language_h)
Adam Fedor [Wed, 26 Mar 2003 03:39:44 +0000 (03:39 +0000)]
* Makefile.in (infrun.o): Add $(language_h)
* infrun.c (handle_inferior_event): Use skip_language_trampoline
for language specific trampolines.
* language.h (struct language_defn): Add skip_trampoline.
(skip_language_trampoline): Declare.
* language.c (unk_lang_trampoline, skip_language_trampoline):
New functions.
(unknown_language_defn, auto_language_defn, local_language_defn):
Add ukn_lang_trampoline.
* ada-lang.c (ada_language_defn): Add NULL for language
specific skip_trampoline.
* c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
scm-lang.c: Likewise.
* objc-lang.c (objc_skip_trampoline): New function.
(objc_language_defn): Add objc_skip_trampoline.

21 years ago* ld-mips-elf/mips-elf.exp: Added...
Alexandre Oliva [Wed, 26 Mar 2003 01:05:44 +0000 (01:05 +0000)]
* ld-mips-elf/mips-elf.exp: Added...
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d,
ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d,
ld-mips-elf/relax-jalr-n64-shared.d: New tests.

21 years ago* elfxx-mips.c (_bfd_mips_relax_section): New function.
Alexandre Oliva [Wed, 26 Mar 2003 01:04:22 +0000 (01:04 +0000)]
* elfxx-mips.c (_bfd_mips_relax_section): New function.
* elfxx-mips.h (_bfd_mips_relax_section): Declare.
* elfn32-mips.c, elf64-mips.c: Use it.

21 years ago*** empty log message ***
gdbadmin [Wed, 26 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-03-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 26 Mar 2003 00:00:07 +0000 (00:00 +0000)]
2003-03-25  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Delay validating a frame's ID -
non-NULL, didn't go backwards - until an attempt to unwind it to
the previous frame.

21 years agodaily update
Alan Modra [Tue, 25 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-03-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Mar 2003 22:56:41 +0000 (22:56 +0000)]
2003-03-25  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
EXTRA_STACK_ALIGNMENT_NEEDED.  Default to 0 not 1.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h
(DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
* sparc-tdep.c (sparc_gdbarch_init): Set
deprecated_extra_stack_alignment_needed.
* config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
extra_stack_alignment_needed.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.

21 years agoAdd iWMMXt support
Nick Clifton [Tue, 25 Mar 2003 20:56:01 +0000 (20:56 +0000)]
Add iWMMXt support

21 years ago2003-03-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Mar 2003 20:38:47 +0000 (20:38 +0000)]
2003-03-25  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
STORE_STRUCT_RETURN.
* gdbarch.h, gdbarch.c: Regenerate.
* d10v-tdep.c (d10v_store_struct_return): Delete function.
(d10v_push_arguments): Set the struct return register.
(d10v_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): 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.
* hppa-tdep.c (hppa_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.
* alpha-tdep.c (alpha_gdbarch_init): Update.

21 years ago2003-03-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 25 Mar 2003 18:54:16 +0000 (18:54 +0000)]
2003-03-25  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
CALL_DUMMY_STACK_ADJUST with a predicate variable.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_stack_adjust_p.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_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.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.  Do not set
call_dummy_stack_adjust_p.
* inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
(CALL_DUMMY_STACK_ADJUST): Delete macro.
* sparc-tdep.c (sparc32_push_arguments): Update.
* valops.c (hand_function_call): Update.

2003-03-25  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
reference to CALL_DUMMY_STACK_ADJUST_P.  Rename
CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST.
Add reference to PUSH_ARGUMENTS.

21 years ago * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
Corinna Vinschen [Tue, 25 Mar 2003 16:12:56 +0000 (16:12 +0000)]
* xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
set_gdbarch_char_signed.

21 years agoPR cli/548
Richard Earnshaw [Tue, 25 Mar 2003 15:35:39 +0000 (15:35 +0000)]
PR cli/548
* arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".

21 years ago* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
Richard Earnshaw [Tue, 25 Mar 2003 14:52:33 +0000 (14:52 +0000)]
* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
(_initialize_arm_tdep): Don't set tm_print_insn.

21 years agoldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
Nick Clifton [Tue, 25 Mar 2003 10:29:28 +0000 (10:29 +0000)]
ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
ldfile.c: Include pathnames.h. (is_sysrooted_pathname): New. (ldfile_add_library_path): Use it.
  (ldfile_open_file_search): Likewise.  Use IS_ABSOLUTE_PATH.
  Don't search_dirs if given an absolute pathname.
  (ldfile_open_file): Issue error message for sysrooted absolute pathnames.

21 years agoMakefile.in (YYOBJ): Add objc-exp.tab.o
Adam Fedor [Tue, 25 Mar 2003 02:18:55 +0000 (02:18 +0000)]
Makefile.in (YYOBJ): Add objc-exp.tab.o
objc-lang.h: Add multiple inclusion protection.
(start_msglist, add_msglist, end_msglist): Additional declarations.

21 years agoReplace oddly-encoded blank with regular blanks
Alexandre Oliva [Tue, 25 Mar 2003 00:41:25 +0000 (00:41 +0000)]
Replace oddly-encoded blank with regular blanks