David Carlton
eb9443807a
2002-09-18 David Carlton <carlton@math.stanford.edu>
...
* MAINTAINERS: Alphabetize Write After Approval list.
2002-09-18 17:56:59 +00:00
Daniel Jacobowitz
948e66d973
Fix PR gdb/709
...
* values.c (value_static_field): Call read_var_value.
2002-09-18 15:43:47 +00:00
Andrew Cagney
dc60453953
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* valops.c (hand_function_call): Align the initial stack pointer
and STRUCT_ADDR using frame_align. When STRUCT_RETURN and
FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's
return value.
* mips-tdep.c (mips_frame_align): New function.
(mips_gdbarch_init): Set frame_align.
* gdbarch.sh (FRAME_ALIGN): New method.
* gdbarch.h, gdbarch.c: Re-generate.
2002-09-18 15:37:18 +00:00
Michal Ludvig
cb7e422f1e
2002-09-18 Michal Ludvig <mludvig@suse.cz>
...
* x86-64-linux-nat.c (x86_64_regmap): Added CS and SS
registers.
2002-09-18 11:24:02 +00:00
Andrew Cagney
a094c6fb43
2002-09-17 Andrew Cagney <ac131313@redhat.com>
...
* NEWS: Mention that MIPS $fp behavior changed.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete
reference to FP_REGNUM.
(mipsnbsd_cannot_store_register): Ditto.
* mips-linux-nat.c: Update copyright.
(mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM.
(mips_linux_cannot_store_register): Ditto.
* mips-linux-tdep.c (supply_gregset): Ditto. Update copyright.
* config/mips/tm-mips.h: Update copyright.
(FP_REGNUM): Delete macro.
(MIPS_REGISTER_NAMES): Replace "fp" with "".
* config/mips/tm-irix6.h (FP_REGNUM): Delete macro.
* mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp.
(mips_r3041_reg_names, mips_r3051_reg_names)
(mips_r3081_reg_names): Replace "fp" with "".
Fix PR gdb/480.
2002-09-17 23:26:02 +00:00
Theodore A. Roth
45cf40d1cf
* gdb/avr-tdep.c(avr_scan_prologue): Fix bad call to
...
generic_read_register_dummy() (PR gdb/703).
(avr_push_return_address): #if 0 out unused vars.
(avr_gdbarch_init): Enable use of avr_push_return_address().
2002-09-17 23:08:45 +00:00
Michael Snyder
d76ba2a58e
Fix thinko: m32r, not mips!
2002-09-17 23:00:31 +00:00
Michael Snyder
c7e701b54b
2002-09-17 Michael Snyder <msnyder@redhat.com>
...
* mips-stub.c (restore_and_return): Postpone restoring of PSW.
RTE will take care of it.
2002-09-17 22:58:01 +00:00
Andrew Cagney
20bcf01c7a
2002-09-17 Andrew Cagney <ac131313@redhat.com>
...
* arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is
invalid, return SP_REGNUM.
2002-09-17 21:18:54 +00:00
Andrew Cagney
009a997142
fix date.
2002-09-17 21:01:01 +00:00
Michael Snyder
21f87145aa
2002-08-13 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_pop_frame): Read saved values of floating
point registers without sign extension.
2002-09-17 20:54:02 +00:00
Andrew Cagney
135c175f57
2002-09-17 Andrew Cagney <cagney@redhat.com>
...
* h8300-tdep.c (h8300_frame_chain):
(h8300_frame_saved_pc):
* blockframe.c (deprecated_read_register_dummy): Rename
generic_read_register_dummy.
* frame.c (frame_unwind_signed_register): New function.
(frame_unwind_unsigned_register): New function.
* frame.h (frame_unwind_signed_register): Declare.
(frame_unwind_unsigned_register): Declare.
(deprecated_read_register_dummy): Rename
generic_read_register_dummy.
* xstormy16-tdep.c (xstormy16_frame_saved_pc): Update.
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
* s390-tdep.c (s390_frame_saved_pc_nofix): Update.
(s390_frame_chain): Update.
* v850-tdep.c (v850_find_callers_reg): Update.
(v850_frame_saved_pc): Update.
* m32r-tdep.c (m32r_init_extra_frame_info): Update.
(m32r_find_callers_reg): Update.
(m32r_frame_saved_pc): Update.
* sh-tdep.c (sh_find_callers_reg): Update.
(sh64_get_saved_pr): Update.
(sh_init_extra_frame_info): Update.
(sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* mcore-tdep.c (mcore_find_callers_reg): Update.
(mcore_frame_saved_pc): Update.
(mcore_init_extra_frame_info): Update.
* i386-tdep.c (i386_frame_saved_pc): Update.
* ia64-tdep.c (ia64_frame_saved_pc): Update.
(ia64_init_extra_frame_info): Update.
(ia64_init_extra_frame_info): Update.
* d10v-tdep.c (d10v_frame_saved_pc): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_frame_chain): Update.
(avr_init_extra_frame_info): Update.
(avr_frame_saved_pc): Update.
* arm-tdep.c (arm_find_callers_reg): Update.
(arm_init_extra_frame_info): Update.
(arm_frame_saved_pc): Update.
2002-09-17 20:42:01 +00:00
Tom Tromey
a741e51424
* c-lang.c (c_emit_char): Don't treat \0 specially unless quoter
...
is "'".
2002-09-17 17:01:47 +00:00
Corinna Vinschen
d1a8e808fa
* MAINTAINERS: Remove "non multi-arched" text from h8300.
...
* h8300-tdep.c (h8300_next_prologue_insn) Renamed from
NEXT_PROLOGUE_INSN.
(h8300_examine_prologue): Call h8300_next_prologue_insn instead of
NEXT_PROLOGUE_INSN.
2002-09-17 15:54:26 +00:00
Joel Brobecker
d9025a1885
* osfsolib.c: Remove file, replaced by solib-osf.c.
...
* Makefile.in: Remove compilation rules for osfsolib.c.
2002-09-17 04:45:50 +00:00
David Carlton
1b2ef1b64f
2002-09-16 David Carlton <carlton@math.stanford.edu>
...
* cp-valprint.c (cp_print_class_method): Correct args to
check_stub_method_group.
2002-09-16 22:02:46 +00:00
Corinna Vinschen
928e48af4f
* h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
...
`set architecture'. Unify naming convention of functions.
(h8300_skip_prologue): Improve prologue analysis.
(h8300_push_arguments): Rewritten to more closely match GCC's
bizarre argument-passing behavior, along with the comment describing
said behavior.
* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
* config/h8300/tm-h8300.h: Multiarch. Just keep stuff needed by
sim, remote-e7000.c, remote-hms.c and remote.c
2002-09-16 15:03:17 +00:00
Mark Kettenis
5e3397bbf7
* i386-tdep.c (gdb_print_insn_i386): Removed.
...
(i386_print_insn): New function.
(i386_gdbarch_init): Set print_insn to i386_print_insns.
(_initialize_i386_tdep): Don't initialize tm_print_insn and
tm_print_insn_info.
2002-09-15 13:53:36 +00:00
Mark Kettenis
f710f4fc2c
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
...
zero.
2002-09-14 15:39:52 +00:00
Corinna Vinschen
db54fef427
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
...
for IN_SIGTRAMP to here. Use IN_SIGTRAMP only if it's defined.
Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.
2002-09-14 09:40:36 +00:00
Christopher Faylor
2becadeece
* win32-nat.c (child_create_inferior): Honor 'tty' command.
2002-09-14 03:28:23 +00:00
Daniel Jacobowitz
de17c821b3
* gdbtypes.c (check_stub_method): Make static.
...
(check_stub_method_group): New function.
* gdbtypes.h: Update prototypes.
* cp-support.c: New file.
* cp-support.h: New file.
* stabsread.c: Include "cp-abi.h" and "cp-support.h".
(update_method_name_from_physname): New function.
(read_member_functions): Correct method names for operators
and v3 constructors/destructors. Separate v2 constructors and
destructors.
* Makefile.in (stabsread.o): Update dependencies.
(SFILES): Add cp-support.c.
(COMMON_OBS): Add cp-support.o.
(cp_support_h, cp-support.o): Add.
* cp-valprint.c (cp_print_class_method): Call
check_stub_method_group instead of check_stub_method. Remove
extraneous QUITs.
* p-valprint.c (pascal_object_print_class_method): Likewise.
* valops.c (search_struct_method): Likewise.
(find_method_list, value_struct_elt_for_reference): Likewise.
2002-09-14 02:09:39 +00:00
Andrew Cagney
e76cff22f1
2002-09-13 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.
2002-09-13 23:21:45 +00:00
Andrew Cagney
905abb3f14
2002-09-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (find_saved_register): Delete function.
* frame.h (find_saved_register): Delete declaration.
Fix PR gdb/631.
2002-09-13 22:53:36 +00:00
Andrew Cagney
6415945597
Fri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (read_next_frame_reg): Re-hack using
frame_register_unwind.
2002-09-13 22:15:33 +00:00
Andrew Cagney
795e1e1128
Fri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_get_saved_register): Re-hack using
frame_register_unwind.
2002-09-13 17:58:22 +00:00
Joel Brobecker
5720643ce8
* gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
...
vector. Will be useful for Interix.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (value_allocate_space_in_inferior): Replace hard-coded
name of the malloc function by NAME_OF_MALLOC.
2002-09-13 00:38:48 +00:00
Joel Brobecker
3bada2a2df
* value.h (find_function_in_inferior): Add const keyword to
...
one of the parameters. Allows us to invoke this function with
a const char *.
* valops.c (find_function_in_inferior): Likewise.
2002-09-13 00:18:33 +00:00
Joel Brobecker
3db26b01ff
* exec.c (xfer_memory): Fix compilation warning with old versions
...
of GCC.
* tracepoint.c (trace_find_tracepoint_command): Likewise.
2002-09-12 19:49:56 +00:00
David Carlton
17c5ed2cf3
2002-09-12 David Carlton <carlton@math.stanford.edu>
...
* symtab.h: Run through gdb_indent.h.
Add 2002 to Copyright year list.
2002-09-12 19:19:37 +00:00
Alan Modra
ecd1107e81
* x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
...
mach constants.
* MAINTAINERS: Add myself to write after approval list.
2002-09-12 08:39:26 +00:00
Joel Brobecker
e64f66d171
* osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
2002-09-12 00:26:30 +00:00
Joel Brobecker
f939579412
* osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
...
Interix.
2002-09-11 22:32:45 +00:00
Michael Snyder
1a303dec0c
2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
...
* procfs.c (do_detach): Clear current signal, not just fault.
Corrects problem with breakpoint trap signal leaking to detached
process on Tru64.
2002-09-11 00:13:58 +00:00
Michael Snyder
c0219d4272
2002-09-10 Michael Snyder <msnyder@redhat.com>
...
* buildsym.c (finish_block): Protect against null pointer.
2002-09-10 23:45:26 +00:00
Andrew Cagney
9d84ac84ef
2002-09-10 Andrew Cagney <cagney@redhat.com>
...
* infcmd.c (default_print_registers_info): Send all output to
``file'' instead of ``gdb_stdout''.
2002-09-10 23:28:54 +00:00
Michael Snyder
77d8f2b47e
2002-09-10 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_extract_struct_value_address): Make val a
LONGEST, and use signed register read (addresses are sign-
extended for mips).
2002-09-10 21:31:18 +00:00
Stephane Carrez
99656a6140
* event-loop.c (gdb_do_one_event): Make public.
...
* event-loop.h (gdb_do_one_event): Declare.
2002-09-10 19:53:24 +00:00
Jeff Law
da12f4d874
* infttrace.c (child_resume): Simplify and rework to avoid
...
TT_PROC_CONTINUE.
2002-09-10 17:34:05 +00:00
Fred Fish
d0aee0c4b8
Reviewed and approved by Kevin Buettner <kevinb@redhat.com>
...
2002-09-09 Fred Fish <fnf@intrinsity.com>
* printcmd.c (print_scalar_formatted): "len" is the number of
target bytes, NOT the number of target bits.
2002-09-10 02:04:38 +00:00
Elena Zannoni
7cb3ec5e73
2002-09-09 Elena Zannoni <ezannoni@redhat.com>
...
From: Emmanuel Thome' <thome@lix.polytechnique.fr>
* top.c (init_main): Set rl_terminal_name.
2002-09-09 21:03:26 +00:00
Aidan Skinner
4dc8198746
* ada-lang.c (ada_array_bound, ada_type_match,
...
_initialize_ada_language): Fix K&R definitions.
* ada-tasks.c (get_current_task): Fix K&R definitions.
* ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
2002-09-08 17:44:22 +00:00
Christopher Faylor
842330b4f8
* MAINTAINERS: Remove CE from list of maintainership responsibilities. Add XP.
2002-09-07 15:22:00 +00:00
Mark Kettenis
66da5fd837
* i386-tdep.c (i386_register_virtual_type,
...
i386_register_convertible, i386_register_convert_to_virtual,
i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P
instead of IS_FP_REGNUM and IS_SSE_REGNUM.
(i386_gdbarch_init): Fix comment. Add comments on calls that set
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum.
Don't set push_arguments twice.
2002-09-06 21:28:18 +00:00
Mark Kettenis
4b218c1874
* i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
...
sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
* i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
sigtramp_end to NULL.
* config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
defines.
(i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
2002-09-06 20:44:23 +00:00
Mark Kettenis
4cc314d5b9
* i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
...
whitespace.
2002-09-06 20:28:57 +00:00
Mark Kettenis
43156d82f1
* gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
...
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (find_pc_sect_partial_function): Convert to use
SIGTRAMP_START_P predicate.
2002-09-06 20:17:40 +00:00
Michael Snyder
95f959112a
2002-09-05 Michael Snyder <msnyder@redhat.com>
...
* arm-tdep.c (arm_extract_return_value): Use new regcache method.
2002-09-05 19:05:59 +00:00
Michael Snyder
a90c3637c9
2002-09-05 Michael Snyder <msnyder@redhat.com>
...
* arm-tdep.c (arm_init_extra_frame_info): Distinguish between
generic_dummy_frame method and old method. Also distinguish
between ARM_FP_REGNUM and THUMB_FP_REGNUM.
2002-09-05 19:03:07 +00:00
Michael Snyder
6672060b18
2002-09-05 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
adjustment that doesn't conform to the ABI.
(mips_extract_struct_value_address): Retrieve V0_REGNUM from
saved regcache, not from current regcache.
2002-09-05 18:31:07 +00:00