Andrew Cagney
0714963c79
2003-07-15 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts. Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.
Index: testsuite/ChangeLog
2003-07-15 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2003-07-15 17:23:32 +00:00
Michael Chastain
98a23b3f74
2003-07-15 Michael Chastain <mec@shout.net>
...
* gdb.base/gdb1250.exp: New file.
* gdb.base/gdb1250.c: New file.
2003-07-15 16:28:21 +00:00
Michal Ludvig
27e417a2c4
2003-07-09 Michal Ludvig <mludvig@suse.cz>
...
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.
2003-07-11 06:44:34 +00:00
Elena Zannoni
d99968dcc1
2003-07-09 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/annota1.exp: Make sure that we properly escape the
full path of the source file. Xfail more permissive patterns,
due to a compiler debug info problem.
2003-07-09 13:19:08 +00:00
Andreas Schwab
2705e97210
* gdb.asm/m68k.inc: New file.
...
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
2003-07-07 14:48:50 +00:00
Andreas Schwab
83876b3be5
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
...
arguments"): Also match negative number.
* gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-06 22:27:34 +00:00
Daniel Jacobowitz
3a871b371b
* gdb.base/store.c (charest): New typedef.
...
(add_char): Rename to add_charest, update.
(wack_char): Rename to wack_charest, update types. Return l + r
to keep r live across the call.
(wack_short, wack_int, wack_long, wack_longest, wack_float)
(wack_double, wack_doublest): Return l + r to keep r live across
the call.
* gdb.base/store.exp: Accomodate store.c changes.
2003-07-03 13:55:22 +00:00
David Carlton
b2a7f303a2
2003-06-30 David Carlton <carlton@kealia.com>
...
Band-aid for PR c++/1245.
* Makefile.in (cp-support.o): Depend on complaints_h.
* cp-support.c: Include complaints.h. Add declaration for
find_last_component.
(cp_find_first_component): Separate code into
cp_find_first_component_aux.
(cp_find_first_component_aux): Call demangled_name_complaint.
(demangled_name_complaint): New.
2003-06-30 David Carlton <carlton@kealia.com>
* gdb.c++/maint.exp (test_invalid_name): New.
(test_first_component): Add tests for invalid names.
2003-06-30 16:21:16 +00:00
Michael Chastain
3c6cb4a1a4
2003-06-29 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
output of '<VTT for class>' for virtual base classes.
2003-06-30 00:12:09 +00:00
Daniel Jacobowitz
f1c2644b92
* gdb.base/completion.exp: Tab-complete "complet" instead of
...
"compl".
* gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 20:32:23 +00:00
Daniel Jacobowitz
180803508c
* gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
...
* gdb.base/volatile.exp: Likewise.
2003-06-29 20:01:59 +00:00
Daniel Jacobowitz
f56973f819
* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
...
gdb/1265.
2003-06-29 19:29:42 +00:00
Daniel Jacobowitz
48fe539ffe
* gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
...
initial line count of 'captured_main' from 26 to 32.
(test_with_self): Allow xmalloc call to be interleaved with the
preceding two lines.
2003-06-28 16:36:42 +00:00
Joel Brobecker
e766d4d601
* gdb.base/bang.exp: New testcase.
2003-06-24 22:04:06 +00:00
Joel Brobecker
f125c9a4e9
* gdb.base/langs.exp: Add some tests for the "minimal" language
...
support.
2003-06-23 22:42:50 +00:00
Elena Zannoni
6e25beafa9
2003-06-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.objc/basicclass.exp: Return -1 if we cannot compile
the testcase.
2003-06-23 20:20:31 +00:00
Daniel Jacobowitz
2f816dda05
* gdb.base/relocate.exp: Test add-symbol-file with a variable
...
offset.
2003-06-22 18:32:38 +00:00
Daniel Jacobowitz
db5a5748d7
* gdb.c++/pr-1210.cc: New file.
...
* gdb.c++/pr-1210.exp: New file.
2003-06-22 15:20:13 +00:00
Daniel Jacobowitz
1df0c130e8
* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
...
000-exec-continue.
2003-06-22 00:04:27 +00:00
Mark Kettenis
a92feac0ae
* gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
...
on *-*-*bsd* instead of *-*-freebsd*.
2003-06-15 13:10:38 +00:00
Andrew Cagney
81a58f5b70
2003-06-14 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/store.exp: Test longest and doublest. Test all
parameters. Weaken return statement match.
* gdb.base/store.c: Add longest and doublest - aka long long and
long double functions. Put all parameters into local register
variables. Use negative values.
2003-06-14 22:10:47 +00:00
Andrew Cagney
b257a0d30a
2003-06-14 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
-Wformat errors. Add lost line. Use WEXITSTATUS to get system
exit status.
* gdb.base/fileio.exp: Disable target when nointerrupts and
noinferiorio, instead of limiting it to remote. Use remote_exec
instead of system.
2003-06-14 16:51:42 +00:00
Jeff Johnston
21c3830442
2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/float.exp: Add ia64 support.
2003-06-12 17:55:06 +00:00
Corinna Vinschen
1bcdb42447
* gdb.base/fileio.exp: Run only on remote targets.
2003-06-12 09:49:05 +00:00
Corinna Vinschen
6aeb981f43
* gdb.base/fileio.c: New file, testing File-I/O.
...
* gdb.base/fileio.exp: Ditto.
2003-06-10 14:38:04 +00:00
Raoul Gough
53df362e2a
Shared-object relocation tests
2003-06-09 21:23:53 +00:00
Mark Kettenis
b5ca37229d
* gdb.base/readline.exp: Add tests for operate-and-get-next with a
...
fully filled history list.
* gdb.base/gdb_history: New file.
2003-06-08 13:14:05 +00:00
Mark Kettenis
03ed860d17
* gdb.base/signals.exp: XFAIL "continue to func1" on
...
i*86-*-freebsd*.
2003-06-08 13:02:58 +00:00
Mark Kettenis
ffee1b461d
* gdb.base/attach.exp: When trying to attach to a nonexistent
...
process, make it possible to specify the PID based on the target,
and do so for *-*-freebsd*.
2003-06-08 12:58:10 +00:00
Richard Henderson
d80dbb52aa
* gdb.base/float.exp: Add expected regexp for alpha-*-*.
2003-06-02 16:49:35 +00:00
Richard Henderson
6dd77b815f
* top.h (lim_at_start): Declare.
...
* main.c (captured_main): Set it.
* top.c (lim_at_start): Define.
(command_loop): Use it instead of &environ.
* event-top.c (command_handler): Likewise.
* gdb.base/selftest.exp: Next over lim_at_start initialization.
2003-06-02 16:02:59 +00:00
Richard Henderson
f6347e1633
* gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2003-06-02 15:51:24 +00:00
Daniel Jacobowitz
2c16140788
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
...
of globalvar.
2003-06-02 03:09:32 +00:00
Mark Kettenis
572eb74696
* gdb.asm/asm-source.exp: Check for memory read errors in
...
disassembler test on *BSD too.
2003-06-01 11:37:34 +00:00
Richard Henderson
9e9617a51f
* gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
...
for .frame.
(gdbasm_call): Lose ldgp.
(gdbasm_startup): Add frame information.
* gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2003-06-01 07:16:05 +00:00
Mark Kettenis
7b34ad4ea9
* gdb.base/float.exp: Expect similar output for x86_64-*-* as for
...
i?86-*-*.
2003-05-31 19:48:39 +00:00
Mark Kettenis
10059fdf95
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
...
FreeBSD.
2003-05-30 17:45:50 +00:00
Richard Henderson
acf4b81681
* gdb.asm/alpha.inc: New file.
...
* gdb.asm/asm-source.exp: Use it.
2003-05-30 02:51:46 +00:00
Jim Blandy
e9ecd94986
* gdb.base/corefile.exp: Find corefiles on Linux, which names them
...
'core.PID'.
2003-05-29 23:00:02 +00:00
Jim Blandy
e3e5a4f3c1
* gdb.base/corefile.exp: Tolerate stuff after argument parens in
...
backtrace.
2003-05-22 22:35:45 +00:00
David Carlton
72fe3d258d
2003-05-20 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
this time.
2003-05-20 22:54:53 +00:00
David Carlton
58da2eb212
2003-05-19 David Carlton <carlton@bactrian.org>
...
* gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
* gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2003-05-19 David Carlton <carlton@bactrian.org>
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
2003-05-20 04:08:19 +00:00
David Carlton
1fcb515536
2003-05-19 David Carlton <carlton@bactrian.org>
...
Partial fix for PR c++/827.
* cp-support.h: Include symtab.h.
Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
* cp-namespace.c: Update contributors.
(cp_lookup_symbol_nonlocal): New.
(lookup_namespace_scope, cp_lookup_symbol_namespace)
(lookup_symbol_file): Ditto.
* c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
* block.h: Declare block_scope, block_using, block_global_block.
* block.c (block_scope): New.
(block_using, block_global_block): Ditto.
* Makefile.in (cp_support_h): Depend on symtab_h.
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
2003-05-19 David Carlton <carlton@bactrian.org>
* gdb.c++/namespace.exp: Add namespace scope and anonymous
namespace tests.
Bump copyright date.
* gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
(main): Call C::D::marker2.
* gdb.c++/namespace1.cc: New file.
2003-05-20 03:56:29 +00:00
Jeff Johnston
85e851634c
2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
...
Roland McGrath <roland@redhat.com>
* gdb.threads/linux-dp.exp: Account for fact that in nptl model
there is no manager thread.
2003-05-14 19:36:56 +00:00
Jeff Johnston
a25fbfec62
2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/schedlock.exp: Remove assumption that all threads
will run in a particular small time slice. Also ensure we break
in one of the child threads rather than the main thread.
2003-05-08 19:23:29 +00:00
Jim Blandy
09bf6082f5
Add support for assembly source testing on the s390x.
...
* gdb.asm/asm-source.exp: Add a case for the s390x-*-*
architecture.
* gdb.asm/s390x.inc: New file.
2003-05-07 21:52:53 +00:00
Jim Blandy
be375bae05
* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
...
succession of 'if' statements.
2003-05-07 21:51:06 +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
Joel Brobecker
b81896b4c4
From Thierry Schneider <tpschneider1@yahoo.com>:
...
* mi1-symbol.exp (-symbol-list-lines): New test file to
validate all symbol-related commands
2003-05-04 03:57:39 +00:00