OSDN Git Service
Andrew Cagney [Mon, 17 Mar 2003 20:06:16 +0000 (20:06 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
vector registes.
* gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
* gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
Andrew Cagney [Mon, 17 Mar 2003 19:57:12 +0000 (19:57 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* disasm.c (gdb_disassembly): Set di.mach using the architecture's
BFD. Simplify setting of di.endian.
David Carlton [Mon, 17 Mar 2003 19:51:58 +0000 (19:51 +0000)]
2003-03-17 David Carlton <carlton@math.stanford.edu>
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
test, for PR breakpoints/38.
Call test_watchpoint_and_breakpoint.
* gdb.base/watchpoint.c (func3): New function.
(main): Call func3.
Daniel Jacobowitz [Mon, 17 Mar 2003 19:39:53 +0000 (19:39 +0000)]
* configure.in: Check for stdlib.h.
* configure: Regenerated.
* config.in: Regenerated.
Andrew Cagney [Mon, 17 Mar 2003 18:27:07 +0000 (18:27 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (ppc_floating_point_unit_p): New function.
* ppc-tdep.h (ppc_floating_point_unit_p): Declare.
From Elena Zannoni <ezannoni@redhat.com>
* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
vector and floating-point parameters.
(ppc_sysv_abi_use_struct_convention): Handle e500 struct return
convention.
(ppc_sysv_abi_broken_use_struct_convention): Ditto.
DJ Delorie [Mon, 17 Mar 2003 18:01:07 +0000 (18:01 +0000)]
merge from gcc
Fernando Nasser [Mon, 17 Mar 2003 15:01:48 +0000 (15:01 +0000)]
* MAINTAINERS: Remove my name from several maintainership roles.
Andrew Cagney [Mon, 17 Mar 2003 14:46:35 +0000 (14:46 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (DATE): Delete. Remove date from titles. Mention
that GNU Press update the manual version number.
Andrew Cagney [Mon, 17 Mar 2003 14:23:50 +0000 (14:23 +0000)]
2003-03-17 Andrew Cagney <cagney@redhat.com>
Fix frame off-by-one bug.
* frame-unwind.h (frame_this_id_ftype): Replace
frame_unwind_id_ftype.
(frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
(struct frame_unwind): Replace "id" with "this_id". Replace "reg"
with "prev_register".
* frame-unwind.c (frame_unwind_find_by_pc): Return
legacy_saved_regs_unwind instead of trad_frame_unwind. Update
comment.
* dummy-frame.c (cached_find_dummy_frame): Delete function.
(dummy_frame_this_id): Replace dummy_frame_id_unwind.
(dummy_frame_prev_register): Replace dummy_frame_register_unwind.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_prev_register): Replace
sentinel_frame_register_unwind.
(sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
(sentinel_frame_unwinder): Update.
* frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
(struct frame_info): Rename "unwind_cache" to "prologue_cache".
* frame.c (create_sentinel_frame): Update. Initialize
"prologue_cache" instead of "unwind_cache".
(frame_register_unwind): Call this frame's prev_register with the
next frame and this frame's prologue cache.
(get_prev_frame): Simplify. Always call prev frame's this_id with
this frame and prev frame's prologue cache. Document that this
call is shifted one to the left when compared to the
frame_register_unwind call.
(legacy_saved_regs_prev_register): Replace
frame_saved_regs_register_unwind.
(legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
(legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
(legacy_saved_regs_unwind): Replace trad_frame_unwind.
* d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
(d10v_frame_unwind): Update.
(d10v_frame_prev_register): Replace d10v_frame_register_unwind.
(d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
(saved_regs_unwinder): Replace this "frame" with "next_frame", and
"saved_regs" with "this_saved_regs".
Nick Clifton [Mon, 17 Mar 2003 11:43:30 +0000 (11:43 +0000)]
Fix formatting. Update copyright date.
Nick Clifton [Mon, 17 Mar 2003 10:34:29 +0000 (10:34 +0000)]
(O_SYS_CMDLINE): New pseudo opcode for command line processing.
gdbadmin [Mon, 17 Mar 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 16 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 16 Mar 2003 20:47:40 +0000 (20:47 +0000)]
2003-03-16 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_pop): Don't call target_store_registers. Fix
problem reported by Mark Kettenis.
Mark Kettenis [Sun, 16 Mar 2003 20:14:57 +0000 (20:14 +0000)]
* i386-tdep.c (i386_register_type): Renamed from
i386_register_virtual_type. Adjust function signature.
(i386_gdbarch_init): Set register_type instead of
deprecated_max_register_raw_size,
deprecated_max_register_virtual_size and register_virtual_type.
gdbadmin [Sun, 16 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 15 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 15 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 14 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 14 Mar 2003 21:07:54 +0000 (21:07 +0000)]
ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
Nathanael Nerode [Fri, 14 Mar 2003 20:49:14 +0000 (20:49 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.
Andrew Cagney [Fri, 14 Mar 2003 20:34:14 +0000 (20:34 +0000)]
2003-03-14 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): When a legacy frame, always call
legacy_get_prev_frame. Simplify unwind code using assumption that
the unwinder is new.
(legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
(legacy_frame_p): When no gdbarch_unwind_dummy_id, or
SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
Michael Chastain [Fri, 14 Mar 2003 18:59:59 +0000 (18:59 +0000)]
2003-03-14 Michael Chastain <mec@shout.net>
* Makefile.in: Regenerate with correct Makefile.def.
Andrew Cagney [Fri, 14 Mar 2003 17:07:01 +0000 (17:07 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_saved_register): Delete function.
* xstormy16-tdep.c: Update comment.
* regcache.h: Update comments.
* sparc-tdep.c (sparc_init_extra_frame_info): Instead of
get_saved_register and extract_address, use
frame_read_unsigned_register.
(sparc_frame_saved_pc): Ditto.
(sparc_get_saved_register): Instead of get_saved_register, use
frame_register.
(sparc_pop_frame): Ditto.
* frame.h (get_saved_register): Delete declaration.
* findvar.c: Update comments.
(value_of_register): Call frame_register instead of
get_saved_register.
(value_from_register): Ditto.
* config/sparc/tm-sparc.h: Update comment.
* breakpoint.c: Update comment.
Index: doc/ChangeLog
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
references to get_saved_register.
Andrew Cagney [Fri, 14 Mar 2003 16:05:36 +0000 (16:05 +0000)]
2003-03-14 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
GET_SAVED_REGISTER.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h: Update comments.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frame.c (frame_register): Update.
(get_saved_register): Update.
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
Nick Clifton [Fri, 14 Mar 2003 12:47:20 +0000 (12:47 +0000)]
(ieee_write_expression): Handle the case where symbol is NULL.
D.Venkatasubramanian [Fri, 14 Mar 2003 04:12:01 +0000 (04:12 +0000)]
File I/O Support added.
2003-03-14 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* compile.c (decode): Added code for some more magic traps.
* compile.c (sim_resume): Added support for File I/O system
calls through callback to host_system.
System calls provided support for :
open, read, write, lseek, close, stat, fstat
Only basic support for stat and fstat.
gdbadmin [Fri, 14 Mar 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 13 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 13 Mar 2003 21:45:43 +0000 (21:45 +0000)]
2003-03-13 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update comment.
* stack.c (return_command): Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): 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.
2003-03-13 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
POP_FRAME with DEPRECATED_POP_FRAME. Update description.
Stephane Carrez [Thu, 13 Mar 2003 20:24:06 +0000 (20:24 +0000)]
* tui-out.c (tui_out_data): Fix typedef.
Andrew Cagney [Thu, 13 Mar 2003 18:09:30 +0000 (18:09 +0000)]
2003-03-13 Andrew Cagney <cagney@redhat.com>
* frame.c (legacy_frame_p): New function.
(get_prev_frame): Use legacy_frame_p.
* frame.h (legacy_frame_p): Declare.
Nick Clifton [Thu, 13 Mar 2003 15:09:29 +0000 (15:09 +0000)]
Add New Chinese (simplified) PO file.
Nick Clifton [Thu, 13 Mar 2003 09:28:49 +0000 (09:28 +0000)]
(BYTES_IN_WORD): Don't define.
D.Venkatasubramanian [Thu, 13 Mar 2003 05:32:21 +0000 (05:32 +0000)]
Alphabetically corrected my name addition to MAINTAINERS (write after approval).
D.Venkatasubramanian [Thu, 13 Mar 2003 05:13:57 +0000 (05:13 +0000)]
Added myself to MAINTAINERS (write after approval). Approved by : Andrew Cagney.
gdbadmin [Thu, 13 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 12 Mar 2003 23:55:36 +0000 (23:55 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Rename the frame parameter to
"this_frame".
(get_next_frame, legacy_get_prev_frame): Ditto.
Alexandre Oliva [Wed, 12 Mar 2003 23:05:51 +0000 (23:05 +0000)]
* Reverted 2003-03-02's patch.
Alan Modra [Wed, 12 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Wed, 12 Mar 2003 22:52:12 +0000 (22:52 +0000)]
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.
Andrew Cagney [Wed, 12 Mar 2003 22:39:16 +0000 (22:39 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* frame.c (get_current_frame): Check target_has_registers before
checking target_has_stack.
* eval.c (evaluate_subexp_standard): Use get_selected_frame,
instead of deprecated_selected_frame.
* findvar.c (value_of_register): Pass "frame", not
deprecated_selected_frame, to value_of_builtin_reg.
Martin Hunt [Wed, 12 Mar 2003 22:09:16 +0000 (22:09 +0000)]
2003-03-12 Martin M. Hunt <hunt@redhat.com>
* rhabout.itcl (RHAbout): Fix call
to open_help. We no longer use HTMLViewer.
Andrew Cagney [Wed, 12 Mar 2003 20:50:13 +0000 (20:50 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_write_signed): New function.
(regcache_cooked_write_unsigned): New function.
(regcache_cooked_read_unsigned): Fix regnum in range assertion.
(regcache_cooked_read_signed): Fix regnum in range assertion.
* regcache.h (regcache_cooked_write_signed): Declare.
(regcache_cooked_write_unsigned): Declare.
Nathanael Nerode [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
DJ Delorie [Wed, 12 Mar 2003 17:28:10 +0000 (17:28 +0000)]
merge from gcc
Andrew Cagney [Wed, 12 Mar 2003 16:50:47 +0000 (16:50 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.h: 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): 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.
* i386-interix-tdep.c (i386_interix_init_abi): 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.
* sh-tdep.c (sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
(xstormy16_frame_chain_valid): Update.
* vax-tdep.c (vax_saved_pc_after_call): Update.
* v850-tdep.c (v850_frame_chain): Update.
(v850_pop_frame): Update.
(v850_init_extra_frame_info): Update.
* sparc-tdep.c (setup_arbitrary_frame): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* s390-tdep.c (s390_pop_frame_regular): Update.
* mn10300-tdep.c (mn10300_frame_chain): Update.
(mn10300_pop_frame_regular): Update.
(mn10300_init_extra_frame_info): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
(mips_frame_chain): Update.
(mips_pop_frame): Update.
* mcore-tdep.c (mcore_frame_chain): Update.
(mcore_pop_frame): Update.
(mcore_init_extra_frame_info): Update.
* arch-utils.c (init_frame_pc_default): Update.
* m68k-tdep.c (isi_frame_num_args): Update.
(delta68_frame_num_args): Update.
(news_frame_num_args): Update.
* ia64-tdep.c (ia64_pop_frame_regular): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
(alpha_frame_chain): Update.
(alpha_pop_frame): Update.
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
(hppa_init_extra_frame_info): Update.
(hppa_frame_chain): Update.
(hppa_frame_chain_valid): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_init_extra_frame_info): Update.
* arm-tdep.c (arm_frame_chain_valid): Update.
(arm_init_extra_frame_info): Update.
(arm_pop_frame): Update.
* frame.c (frame_pc_unwind): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC.
Andrew Cagney [Wed, 12 Mar 2003 15:39:30 +0000 (15:39 +0000)]
2003-03-12 Andrew Cagney <cagney@redhat.com>
Eliminate the need for POP_FRAME.
* frame.c (do_frame_unwind_register): New function.
(frame_pop): When no POP_FRAME, pop the frame using register
unwind and a scratch regcache.
(frame_saved_regs_pop): Delete function.
(trad_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pop): Delete function.
(d10v_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pop): Delete function.
(sentinel_frame_unwinder): Update.
* dummy-frame.c (dummy_frame_pop): Delete function.
(dummy_frame_unwind): Update.
* frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
(struct frame_unwind): Update.
DJ Delorie [Wed, 12 Mar 2003 15:08:02 +0000 (15:08 +0000)]
merge from gcc
Nick Clifton [Wed, 12 Mar 2003 09:59:52 +0000 (09:59 +0000)]
Rename 'index' to 'offset'
gdbadmin [Wed, 12 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Tue, 11 Mar 2003 23:15:38 +0000 (23:15 +0000)]
* mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
mips_dwarf_dwarf2_ecoff_reg_to_regnum().
(mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
Do range checks on register number obtained from debugging info.
(mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
set_gdbarch_ecoff_reg_to_regnum() to account for new name of
mapping function.
(do_fp_register_row): Fix typo which caused double type to be
used when attempting to unpack a float.
Alan Modra [Tue, 11 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
DJ Delorie [Tue, 11 Mar 2003 20:18:26 +0000 (20:18 +0000)]
merge from gcc
Alexandre Oliva [Tue, 11 Mar 2003 19:11:38 +0000 (19:11 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
dynamic relocations pointing to local or section symbols, use the
NULL symbol instead. Document the choice to not emit an
additional R_MIPS_64 relocation.
Joel Brobecker [Tue, 11 Mar 2003 19:07:01 +0000 (19:07 +0000)]
* breakpoint.c (bpstat_stop_status): Fix a small memory leak.
Daniel Jacobowitz [Tue, 11 Mar 2003 18:35:29 +0000 (18:35 +0000)]
Update changelog entry for Klee's patch
Andrew Cagney [Tue, 11 Mar 2003 17:47:13 +0000 (17:47 +0000)]
2003-03-11 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_update_frame_pc_hack): Don't assume a next
frame. Problem found by Corinna Vinschen.
Pierre Muller [Tue, 11 Mar 2003 16:38:52 +0000 (16:38 +0000)]
2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
* doublest.c (floatformat_from_length): Accept also
the real size of 'long double' type.
gdbadmin [Tue, 11 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Mon, 10 Mar 2003 23:37:29 +0000 (23:37 +0000)]
* breakpoint.c (bpstat_copy): Copy the command lines as well
as the old value, to match what is freed in bpstat_clear.
Alan Modra [Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT. Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
Alan Modra [Mon, 10 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
David Carlton [Mon, 10 Mar 2003 20:40:45 +0000 (20:40 +0000)]
2003-03-10 David Carlton <carlton@math.stanford.edu>
* minsyms.c (add_minsym_to_hash_table): Replace
DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
(compare_minimal_symbols, compact_minimal_symbols)
(install_minimal_symbols, find_solib_trampoline_target): Ditto.
(lookup_minimal_symbol_text): Use strcmp on linkage names instead
of DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol_solib_trampoline): Ditto.
Andrew Cagney [Mon, 10 Mar 2003 19:08:47 +0000 (19:08 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* regcache.h (regcache_cooked_read_ftype): Define.
(regcache_save, regcache_restore): Add a cooked_read parameter.
* regcache.c (regcache_save, regcache_restore): Update.
(do_cooked_read): New function.
(regcache_cpy): Pass do_cooked_read to regcache_save and
regcache_restore.
Corinna Vinschen [Mon, 10 Mar 2003 17:11:39 +0000 (17:11 +0000)]
* gdb.texinfo: Add File-I/O documentation.
Andrew Cagney [Mon, 10 Mar 2003 15:28:41 +0000 (15:28 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_unwind_pc): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
but use read_pc and FRAME_SAVED_PC as fall backs.
(frame_saved_regs_pc_unwind): Delete function.
(trad_frame_unwinder): Update.
* frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
(struct frame_unwind): Update.
* dummy-frame.c (dummy_frame_pc_unwind): Delete function.
(dummy_frame_unwind): Update.
* sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
(sentinel_frame_unwinder): Update.
* d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
(d10v_frame_unwind): Update.
(d10v_unwind_pc): New function.
(d10v_gdbarch_init): Set unwind_pc.
Index: doc/ChangeLog
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Cross reference
FRAME_SAVED_PC to unwind_pc. Document unwind_pc.
Andrew Cagney [Mon, 10 Mar 2003 14:54:58 +0000 (14:54 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.h: Re-generate.
Andrew Cagney [Mon, 10 Mar 2003 14:43:15 +0000 (14:43 +0000)]
2003-03-10 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
PC.
(d10v_frame_pop): Unwind the PC, and not the LR, when restoring
the PC register.
gdbadmin [Mon, 10 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 9 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.
gdbadmin [Sun, 9 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 8 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 8 Mar 2003 22:16:45 +0000 (22:16 +0000)]
* gdbarch.sh (save_dummy_frame_tos): Add comment.
Andrew Cagney [Sat, 8 Mar 2003 20:04:27 +0000 (20:04 +0000)]
Index: ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* cli-out.c: Update copyright.
(cli_out_data): Define typedef. Use instead of ui_out_data.
Index: mi/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* mi-out.c: Update copyright.
(mi_out_data): Define typedef. Use instead of ui_out_data.
Index: tui/ChangeLog
2003-03-08 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Update copyright.
(tui_out_data): Define typedef. Use instead of ui_out_data.
Andrew Cagney [Sat, 8 Mar 2003 19:27:12 +0000 (19:27 +0000)]
2003-03-08 Andrew Cagney <cagney@redhat.com>
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
the result.
gdbadmin [Sat, 8 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Fri, 7 Mar 2003 23:43:26 +0000 (23:43 +0000)]
2003-03-07 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Debugging Output): Mention the "set/show debug
frame" command.
Andrew Cagney [Fri, 7 Mar 2003 23:34:15 +0000 (23:34 +0000)]
2003-03-07 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Don't generate two macro definitions when an
undefined macro taking no arguments.
* gdbarch.h: Regenerate.
Alan Modra [Fri, 7 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Michal Ludvig [Fri, 7 Mar 2003 15:07:51 +0000 (15:07 +0000)]
2002-03-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_save_dummy_frame_tos)
(x86_64_unwind_dummy_id): New functions.
(x86_64_init_abi): Register these two new functions.
Michal Ludvig [Fri, 7 Mar 2003 10:43:00 +0000 (10:43 +0000)]
2003-03-07 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_function_has_prologue): New function.
(x86_64_skip_prologue): Move prologue detection to
separate function.
* x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
Alan Modra [Fri, 7 Mar 2003 01:09:01 +0000 (01:09 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after
a tls_get_addr call.
gdbadmin [Fri, 7 Mar 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 6 Mar 2003 23:26:20 +0000 (23:26 +0000)]
* elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.
(ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
* elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout.
(elf_i386_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
Alan Modra [Thu, 6 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Martin Hunt [Thu, 6 Mar 2003 21:58:41 +0000 (21:58 +0000)]
2003-03-06 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-interp.c (gdbtk_interpreter_init): Remove
unused variable.
* generic/gdbtk-cmds.c (gdb_update_mem): Remove unused variable.
(gdbtk_print_source): Deleted.
(gdbtk_print_asm): Deleted.
Martin Hunt [Thu, 6 Mar 2003 21:45:39 +0000 (21:45 +0000)]
2003-03-06 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-bp.c (gdb_get_tracepoint_info): Return CORE_ADDR.
Martin Hunt [Thu, 6 Mar 2003 21:28:33 +0000 (21:28 +0000)]
2003-03-06 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (gdb_disassemble): Deleted.
(sprintf_append_element_to_obj): Deleted.
* generic/gdbtk-bp.c (get_breakpoint_commands): Use
Tcl_ListObjAppendElement() instead of
sprintf_append_element_to_obj().
Andrew Cagney [Thu, 6 Mar 2003 20:50:01 +0000 (20:50 +0000)]
2003-03-06 Andrew Cagney <cagney@redhat.com>
* texinfo/texinfo.tex: Import version 2003-02-03.16.
Nick Clifton [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.
Andrew Haley [Thu, 6 Mar 2003 15:47:23 +0000 (15:47 +0000)]
2003-03-06 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* elflink.h (elf_bfd_discard_info): Don't process eh frames if
output is relocateable.
Nick Clifton [Thu, 6 Mar 2003 12:29:04 +0000 (12:29 +0000)]
(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.
Alan Modra [Thu, 6 Mar 2003 11:32:43 +0000 (11:32 +0000)]
* elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize
error messages.
(ELIMINATE_COPY_RELOCS): Define to zero.
(ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating
TLSLD relocs. Report reloc types on a number of errors. Optimize
LOCAL24PC check for non-local syms. Don't capitalize error messages.
* elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero.
(ppc64_elf_relocate_section): Don't deref htab->tls_sec when
calculating TLSLD relocs. Report reloc types on a number of errors.
Don't capitalize error messages.
Martin Hunt [Thu, 6 Mar 2003 04:34:51 +0000 (04:34 +0000)]
2003-03-05 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb (SrcTextWin::FillAssembly):
Remove unused variables asm_lo_addr and asm_hi_addr.
(FillMixed): Ditto.
Martin Hunt [Thu, 6 Mar 2003 01:25:50 +0000 (01:25 +0000)]
2003-03-05 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (Gdbtk_Init): Create gdb_CA_to_TAS.
(gdb_load_disassembly): Now takes CORE_ADDRs. Returns CORE_ADDRs
for low and high.
(gdbtk_load_asm): Use CORE_ADDRs.
(gdb_loc): Return CORE_ADDRs.
(gdb_entry_point): Return CORE_ADDR.
(gdb_incr_addr): Update description.
(gdb_CA_to_TAS): New function. Takes a CORE_ADDR and returns
a target sddress string.
* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Change to
take a CORE_ADDR.
(gdb_get_breakpoint_info): Returns a CORE_ADDR.
(gdb_set_bp_addr): Takes a CORE_ADDR.
* library/bpwin.itb (bp_add): Call gdb_CA_to_TAS before
displaying address.
(bp_modify): Ditto.
* library/srcwin.itb (location): Call gdb_CA_to_TAS before
displaying address. Don't add "0x" in front of address.
(set_execution_status): Call gdb_CA_to_TAS before
displaying address. Don't call [gdb_cmd printf] to format
output. Weird.
gdbadmin [Thu, 6 Mar 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Wed, 5 Mar 2003 23:14:18 +0000 (23:14 +0000)]
2003-03-05 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_unwind_dummy_id): New function.
(d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
* frame.c (get_prev_frame): Restructure the frame ID unwind code
to use unwind_dummy_id when a dummy frame.
* gdbarch.sh (unwind_dummy_id): New multi-arch method with
predicate.
* gdbarch.h, gdbarch.c: Regneerate.
Index: doc/ChangeLog
2003-03-05 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
unwind_dummy_id. Cross reference unwind_dummy_id and
SAVE_DUMMY_FRAME_TOS.
Alan Modra [Wed, 5 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update