Andrew Cagney
0542c38179
Fix GNU/Linux tipo.
2002-09-18 22:00:22 +00:00
Adam Fedor
5b924b9bda
Add myself to the Write After Approval list.
2002-09-18 21:52:55 +00:00
Jim Blandy
5afc051b4b
* dbxread.c, mdebugread.c: Revert my change of 2001-10-23. Moving
...
texthigh and textlow to reader-specific structs caused
objfile_relocate to miss them. This is fixable, but the work that
the change was supposed to prepare GDB for never got done anyway.
2002-09-18 20:47:39 +00:00
David Carlton
e70d6e3ff5
2002-09-18 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/m-static.exp: Remove breakpoints depending on line
numbers, and replace them by a single breakpoint after the
constructors are all finished.
Add test 4.
* gdb.c++/m-static.cc: Add test 4.
* gdb.c++/m-static.h: New file.
* gdb.c++/m-static1.cc: New file.
* gdb.c++/printmethod.exp: New file.
* gdb.c++/printmethod.cc: New file.
* gdb.c++/pr-574.exp: New file.
* gdb.c++/pr-574.cc: New file.
2002-09-18 18:48:43 +00:00
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
Corinna Vinschen
afb5c968b6
* gdb.base/ending-run.exp: Add handling of "step to end of run" for
...
embedded targets which never actually exit.
2002-09-18 17:20:54 +00:00
Fernando Nasser
31e45dee03
* gdb.base/ending-run.exp: Properly mark "continue after exit" and
...
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 17:11:53 +00:00
Corinna Vinschen
a283c5a10f
* gdb.base/ending-run.exp: Fix expected string for _wrap_main to
...
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
Add newline to expected string in "step out of main (status wrapper)"
case.
2002-09-18 16:04:53 +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
Corinna Vinschen
11350d2a6f
* lib/gdb.exp (rerun_to_main): Allow restarting application.
...
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-18 15:34:10 +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
gdbadmin
419586656d
*** empty log message ***
2002-09-18 00:00:32 +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
Keith Seitz
6f1d84a5f0
* mi-var-cmd.exp: Add tests to check when varobj pinned to a
...
selected frame changes type.
2002-09-17 20:45:28 +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
Keith Seitz
d4f53e96eb
* mi-console.exp: Update copyright.
...
* mi-var-block.exp: Likewise.
* mi-var-cmd.exp: Likewise.
* mi-var-display.exp: Likewise.
* mi0-console.exp: Likewise.
* mi0-var-child.exp: Likewise.
* mi0-var-cmd.exp: Likewise.
* mi0-var-display.exp: Likewise.
2002-09-17 20:30:24 +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
Tom Tromey
0deec7d673
* gdb.base/printcmds.exp (test_print_string_constants): Expect
...
\000, not \0, in double-quoted string.
2002-09-17 17:01:22 +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
gdbadmin
135f18ffb3
*** empty log message ***
2002-09-17 00:00:02 +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
Keith Seitz
8038ed9723
* gdb701.exp: New file for testing varobj target type bug.
...
* gdb701.c: New file.
2002-09-16 19:01:43 +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
gdbadmin
4d1310b4a5
*** empty log message ***
2002-09-16 00:00:32 +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
gdbadmin
f9a38f5388
*** empty log message ***
2002-09-15 00:00:32 +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
Corinna Vinschen
b2b4a1b5e6
* gdb.base/command.exp: Don't expect a "Program exited normally"
...
string after running the commands execution on breakpoint tests.
2002-09-14 09:31: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
gdbadmin
1e0cda2325
*** empty log message ***
2002-09-14 00:00:03 +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
Keith Seitz
78d0849c9d
Fix line numbers.
2002-09-13 21:29:42 +00:00
Keith Seitz
602f3bfac4
* mi-var-child.exp: Use mi_step_to and mi_execute_to instead
...
of a bunch of repeated send_gdb/gdb_expect statements.
2002-09-13 21:03:33 +00:00
Stephane Carrez
e3da6fc58a
* tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
...
(tui_initialize_readline): Allow to use space to leave SingleKey
to enter one gdb command.
(tui_enable): Restore the TUI keymap when we are back to TUI.
(tui_disable): Restore normal keymap when leaving TUI.
* tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
when the buffer becomes empty and we are in tui_one_command_mode.
2002-09-13 20:06:56 +00:00
Stephane Carrez
bd9b0abf4e
* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
...
when leaving TUI mode so that gdb prompt is displayed.
2002-09-13 19:47:21 +00:00
Stephane Carrez
a42a37b725
* tuiStack.c (tui_make_status_line): Make sure the local buffer
...
is large enough to hold the complete line.
2002-09-13 19:37:47 +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
Corinna Vinschen
1c56143ab1
* lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2002-09-13 17:20:11 +00:00