Jim Blandy
e3e5a4f3c1
* gdb.base/corefile.exp: Tolerate stuff after argument parens in
...
backtrace.
2003-05-22 22:35:45 +00:00
Andrew Cagney
00905d52fe
Index: testsuite/ChangeLog
...
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Add tests for "maint print dummy-frames".
Index: doc/ChangeLog
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Maintenance Commands): Document "maint print
dummy-frames".
2003-05-05 Andrew Cagney <cagney@redhat.com>
* dummy-frame.c: Include "command.h" and "gdbcmd.h".
(fprint_dummy_frames): New function.
(maintenance_print_dummy_frames): New function.
(_initialize_dummy_frame): Add command "maint print dummy-frames".
* frame.c (fprint_frame_id): Make global.
* frame.h (fprint_frame_id): Declare.
* Makefile.in (dummy-frame.o): Update dependencies.
2003-05-05 18:33:11 +00:00
Andrew Cagney
b1e29e332a
2003-05-03 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
(DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
SIZEOF_CALL_DUMMY_WORDS.
(DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
(DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
(DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
CALL_DUMMY_BREAKPOINT_OFFSET.
(DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
CALL_DUMMY_START_OFFSET.
(DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
* gdbarch.h, gdbarch.c: Re-generate.
* alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
* arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
* dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
* gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
* i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
* mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
* sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
* vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
* config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
* config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
* config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
* config/sparc/tm-sparc.h: Update.
Index: doc/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Make
CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH,
FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and
CALL_DUMMY_BREAKPOINT_OFFSET deprecated.
Index: mi/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Replace
REGISTER_SIZE with DEPRECATED_REGISTER_SIZE.
Index: testsuite/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-05 17:56:57 +00:00
Elena Zannoni
e33d66ec21
gdb:
...
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* charset.c (GDB_DEFAULT_TARGET_CHARSET,
GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
(host_charset_name, target_charset_name): New vars for use by
set/show commands.
(host_charset_enum, target_charset_enum): New enums for set/show
commands.
(set_charset_sfunc, set_host_charset_sfunc,
set_target_charset_sfunc): New functions.
(set_host_charset, set_target_charset): Make static.
(list_charsets, set_host_charset_command,
set_target_charset_command): Delete functions.
(show_charset_command): Rewrite as....
(show_charset): Hook this up with the set/show command mechanism.
(_initialize_charset): Change names of charsets to match the
set/show enums. Use host_charset_name and target_charset_name.
Use set/show mechanism for charset, host-charset, target-charset
commands. Do not make 'show host-charset' and 'show
target-charset' be aliases of 'show charset'.
* charset.h (set_host_charset, set_target_charset): Don't export,
they are not used outside the file.
gdb/testsuite:
2003-05-01 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/charset.exp: Update based on new behavior of set/show
charset commands.
gdb/doc:
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo (Character Sets): Update to reflect new behavior of
set/show charsets commands.
2003-05-02 14:23:39 +00:00
Daniel Jacobowitz
bea7185483
* gdb.base/signals.exp: Make backtrace tests more specific.
2003-04-28 00:50:30 +00:00
Kevin Buettner
c8c4d8dcfb
* gdb.base/args.exp: Invoke gdb_load for simulator targets.
2003-04-16 20:29:42 +00:00
Elena Zannoni
3fe60e3c14
2003-04-16 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead. Update test name.
2003-04-16 20:07:08 +00:00
Elena Zannoni
0089057280
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/attach.exp: Add new message from ptrace in case of
attaching to nonexistent process.
2003-04-14 14:04:06 +00:00
Elena Zannoni
68ab8fc55f
2003-04-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.
2003-04-10 13:38:15 +00:00
Stephane Carrez
f1f02ee4e4
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
...
with -DPROTOTYPES.
2003-04-05 13:35:25 +00:00
Stephane Carrez
6eb79af08f
* gdb.base/break.exp: Revert last patch.
2003-04-05 10:40:59 +00:00
Stephane Carrez
8dfb4cf091
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
...
with -DPROTOTYPES.
2003-04-04 20:03:46 +00:00
Andrew Cagney
ed4c619a67
2003-04-02 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/callfuncs.exp: Make "print add" messages unique.
* gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
matching directories by the name breakpoint.
* gdb.base/pointers.exp: Make "ptype pppC" message consistent.
Make "continue to marker1" consistent.
* gdb.base/call-rt-st.exp: Make "finish out from loop_count"
message consistent.
* lib/gdb.exp: Put "the program is no longer running", and "the
program exited" in parenthesis.
* lib/mi-support.exp: Ditto.
2003-04-03 16:34:48 +00:00
Andrew Cagney
71900fe836
2003-03-29 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/sizeof.c (main): Print the value of '\377'.
* gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-30 04:08:16 +00:00
Michael Chastain
c0655a1649
2003-03-27 Michael Chastain <mec@shout.net>
...
* gdb.base/gdb1090.exp: New file.
* gdb.base/gdb1090.cc: New file.
2003-03-27 21:29:49 +00:00
Michael Chastain
7987689039
2003-03-27 Michael Chastain <mec@shout.net>
...
* gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
* gdb.base/ptype.exp: Likewise.
2003-03-27 18:59:11 +00:00
Michael Chastain
e8c7183923
2003-03-26 Michael Chastain <mec@shout.net>
...
* gdb.base/ptype.exp: Actually use some typedef'd types.
2003-03-26 22:10:39 +00:00
Corinna Vinschen
2512cf80ca
* gdb.base/default.exp: Fix regular expression.
2003-03-20 14:45:50 +00:00
Corinna Vinschen
0d195a4f2d
* gdb.base/args.exp: Fix regular expression.
2003-03-20 14:42:15 +00:00
Corinna Vinschen
8a2dbca8e1
* gdb.base/help.exp: Allow Win32 child process.
2003-03-20 14:19:41 +00:00
Corinna Vinschen
bf02868245
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
...
when stepping out of main().
2003-03-20 14:10:17 +00:00
Corinna Vinschen
182dbe8580
* gdb.base/default.exp: Check for win32 specific message when calling
...
"run" without executable.
2003-03-20 13:27:49 +00:00
Corinna Vinschen
d67a6ba598
* gdb.base/args.exp: Expect .exe in output.
2003-03-20 13:06:51 +00:00
David Carlton
293e9a3142
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.
2003-03-17 19:51:58 +00:00
Michael Snyder
e8d359df3a
2003-02-27 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/restore.c (main): Return zero, so exit code
will be consistant.
2003-02-27 18:36:31 +00:00
Michael Chastain
74641dfb93
2003-02-13 Michael Chastain <mec@shout.net>
...
* gdb.base/exprs.exp: Remove i960 remnants.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
2003-02-15 18:32:45 +00:00
Jason Molenda
c4f90d873c
[ChangeLog]
...
2003-02-12 Jason Molenda (jmolenda@apple.com )
* symmisc.c (print_objfile_statistics): Include information about
the number of psymtabs and symtabs in each object file.
[testsuite/ChangeLog]
2003-02-13 Jason Molenda (jmolenda@apple.com )
* gdb.base/maint.exp: Update maint print statistics regexp to include
new entries.
2003-02-14 01:13:45 +00:00
Michael Chastain
070afcf86f
2003-02-05 Michael Chastain <mec@shout.net>
...
* gdb.base/dump.exp: Add missing copyright line.
2003-02-06 06:39:38 +00:00
Andrew Cagney
67f1660612
2003-02-04 Andrew Cagney <ac131313@redhat.com>
...
* NEWS: Mention that the mn10200-elf is obsolete.
* configure.tgt: Obsolete mn10200-*-* target.
* breakpoint.c (update_breakpoints_after_exec): Update comment to
mention that the mn10200 is obsolete.
* breakpoint.h: Ditto.
* MAINTAINERS: Mark the mn10200-elf as obsolete.
* config/mn10200/mn10200.mt: Obsolete file.
* config/mn10200/tm-mn10200.h: Obsolete file.
* mn10200-tdep.c: Obsolete file.
Index: testsuite/ChangeLog
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* gdb.disasm/mn10200.exp: Obsolete file.
* gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2003-02-04 22:49:19 +00:00
Michael Chastain
9ba61c5d3a
2003-02-01 Michael Chastain <mec@shout.net>
...
* gdb.base/advance.c (marker1): New marker function.
* gdb.base/advance.exp: When the 'advance' command lands on the
return breakpoint, it can legitimately stop on either the
current line or the next line. Accommodate both outcomes.
* gdb.base/until.exp: Likewise.
2003-02-03 16:07:31 +00:00
Michael Snyder
19ea9e7332
2003-01-29 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-29 23:25:43 +00:00
Elena Zannoni
f2dd3617b5
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations. Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-20 15:40:07 +00:00
Elena Zannoni
0fbc361cc7
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.
2003-01-16 01:56:16 +00:00
Elena Zannoni
c362c33a0d
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2003-01-16 01:13:18 +00:00
Mark Kettenis
dabf8a3592
* gdb.base/default.exp: Adapt "info float" test for recent changes
...
to that command. Add test for "info vector".
* gdb.base/float.exp: New file. Add test for "info float" that
resembles the old test in gdb.base/default.exp.
2003-01-15 17:46:20 +00:00
David Carlton
a1769aca31
2003-01-15 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2003-01-15 17:32:41 +00:00
Elena Zannoni
82025e1307
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.
2003-01-15 14:25:11 +00:00
Elena Zannoni
8f9ab80108
2003-01-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/args.c: New file.
* gdb.base/args.exp: New file.
2003-01-14 21:03:44 +00:00
Daniel Jacobowitz
12d2f0a1dd
* gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
...
dates.
2003-01-14 17:36:49 +00:00
Daniel Jacobowitz
b00234725e
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
...
(ptype &*"foo").
* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-14 04:34:46 +00:00
Daniel Jacobowitz
c4cf40b7ca
* gdb.base/detach.exp: New test.
2003-01-09 19:18:04 +00:00
Daniel Jacobowitz
696d5a5b84
* Makefile.in (ALL_SUBDIRS): New variable.
...
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
2003-01-09 18:50:28 +00:00
Daniel Jacobowitz
1e69823536
gdb/
...
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
(COERCE_FLOAT_TO_DOUBLE): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* Makefile.in: Remove value_h from gdbarch_h.
* valops.c (coerce_float_to_double): New variable.
(default_coerce_float_to_double): Remove.
(standard_coerce_float_to_double): Remove.
(value_arg_coerce): Use coerce_float_to_double.
(_initialize_valops): Add "set coerce-float-to-double".
* value.h (default_coerce_float_to_double): Remove prototype.
(standard_coerce_float_to_double): Remove prototype.
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
prototyped.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Mark all functions as prototyped.
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
set_gdbarch_coerce_float_to_double.
* arm-tdep.c (arm_gdbarch_init): Likewise.
* frv-tdep.c (frv_gdbarch_init): Likewise.
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
(mips_coerce_float_to_double): Remove.
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
(rs6000_coerce_float_to_double): Remove.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
(sh_coerce_float_to_double): Remove.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
(sparc_coerce_float_to_double): Remove.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
(hppa_coerce_float_to_double): Remove prototype.
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
* gdb.texinfo (Controlling GDB): Add ABI section. Document
"set coerce-float-to-double".
* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 22:37:49 +00:00
Mark Kettenis
dc62bfc2fc
* configure.in: Call AC_CONFIG_HEADER. Don't call
...
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
2003-01-04 15:37:40 +00:00
Michael Chastain
77afa6398a
2003-01-03 Michael Chastain <mec@shout.net>
...
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2003-01-04 04:07:16 +00:00
Daniel Jacobowitz
7634bb6e63
* gdb.base/store.exp: Fix regular expressions.
2003-01-04 03:59:27 +00:00
David Carlton
0a8551ddd5
2003-01-03 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/psymtab.exp: New file.
* gdb.base/psymtab1.c: Ditto.
* gdb.base/psymtab2.c: Ditto.
2003-01-03 20:55:46 +00:00
Adam Fedor
c60b71880d
gdb.base/maint.exp: Update expect output to include 'ObjC'.
2002-12-24 04:03:46 +00:00
David Carlton
ee73db833f
2002-12-23 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
and current_directory initialization.
2002-12-23 16:56:25 +00:00
Jim Blandy
d6c1774ec3
* gdb.base/attach.exp: There's no need to copy the test program to
...
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.
2002-12-22 23:53:48 +00:00