Jim Blandy
f0a847b8c7
* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
...
rather than as part of the output file name.
2002-12-23 00:02:02 +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
Jim Blandy
4c2acfeafe
* gdb.c++/psmang.exp: Doc fix.
2002-12-22 02:58:43 +00:00
Jim Blandy
f0708dbbc4
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
...
test.
2002-12-21 22:56:56 +00:00
David Carlton
9579e00017
2002-12-20 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 18:37:15 +00:00
Michael Chastain
d181017144
2002-12-18 Michael Chastain <mec@shout.net>
...
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19 05:10:45 +00:00
David Carlton
7656509736
2002-12-17 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/try_catch.cc: Add marker comments.
* gdb.c++/try_catch.exp: Get line numbers from marker comments.
* gdb.c++/m-data.cc: Delete namespace __gnu_test.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* gdb.c++/try_catch.cc: Ditto.
2002-12-17 23:24:57 +00:00
Jeff Johnston
da81390ba6
2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
to see whether we are using the new -environment-directory
command which resets via -r or the old version of the command
which may prompt the user. Part of fix for gdb/741.
2002-12-16 20:03:17 +00:00
Andrew Cagney
b304d13005
Remove obsolete testsuite code.
2002-12-16 19:33:54 +00:00
Jeff Johnston
93ce5efb0a
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-basics.exp: Change tests for -environment-directory. Also add
tests for -environment-cd, -environment-pwd, and -environment-path.
Part of fix for PR gdb/741.
2002-12-13 17:57:38 +00:00
David Carlton
a23b6e6a0a
2002-12-11 David Carlton <carlton@math.stanford.edu>
...
* gdb.c++/m-data.exp: Add test for members that shadow global
variables: see PR gdb/804.
* gdb.c++/m-data.cc: Ditto.
2002-12-11 18:45:29 +00:00
Daniel Jacobowitz
6604731ba7
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
...
CHILD_FOLLOW_FORK.
* hppah-nat.c (saved_vfork_pid): Add.
(child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(child_wait): Call detach_breakpoints after receiving the child vfork.
Call child_resume directly instead of going through resume ().
Make sure we have the exec before reporting the vfork.
* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
(follow_fork): New function. Call target_follow_fork.
(follow_inferior_reset_breakpoints): New function broken out from
old follow_inferior_fork.
(resume): Remove hack to follow exec after vfork.
* inftarg.c (child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
* target.c (cleanup_target): Replace to_post_follow_vfork with
to_follow_fork.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_post_follow_vfork): Remove.
(debug_to_follow_fork): New function.
* target.h (struct target_ops): Replace to_post_folow_vfork with
to_follow_fork.
(child_post_follow_vfork): Remove prototype.
(child_follow_fork): Add prototype.
(target_post_follow_vfork): Remove macro.
(target_follow_fork): Add macro.
testsuite/
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2002-12-11 02:04:45 +00:00
David Carlton
de46ecd713
2002-12-06 David Carlton <carlton@math.stanford.edu>
...
* gdb.base/store.c: Don't declare functions static.
2002-12-06 19:21:51 +00:00
Andrew Cagney
27e829d037
2002-12-04 Andrew Cagney <ac131313@redhat.com>
...
* gdb.base/store.exp, gdb.base/store.c: New files.
2002-12-05 01:48:19 +00:00
Daniel Jacobowitz
92806416b3
* gdb.base/selftest.exp: Update for current gdb.
2002-12-04 03:15:27 +00:00
Daniel Jacobowitz
3bcbaac540
* gdb.base/maint.exp: Only dump symbols from one source file
...
or objfile.
2002-12-04 03:13:22 +00:00
Daniel Jacobowitz
f4f00b1fe5
* gdb.base/step-test.exp: Allow MIPS to return to the line of a
...
function call.
2002-12-04 03:07:45 +00:00
Jim Blandy
f1c8a9492e
* lib/mi-support.exp (mi_delete_breakpoints): Change name of
...
function appearing in error message.
2002-11-25 19:54:09 +00:00
Jim Blandy
f81a4d0bea
Revert previous change --- the hour was late, and I was confused about
...
its status.
2002-11-22 19:07:28 +00:00
Jim Blandy
b6d3ce7015
* gdb.base/step-line.exp: Check that GDB can handle filenames that
...
appear in the line number info, but not in the preprocessor macro
info.
* lib/gdb.exp (gdb_internal_error_regexp): New variable.
(gdb_internal_error_resync): New procedure.
(gdb_test): If the command results in an internal error,
answer GDB's questions until we get back to a prompt.
2002-11-22 07:00:37 +00:00
Daniel Jacobowitz
9e297a9744
* gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2002-11-22 04:31:21 +00:00
Klee Dienes
82661bd0df
2002-11-09 Klee Dienes <kdienes@apple.com>
...
* chexp.exp: Mark as obsolete.
* pr-5016.exp: Remove stray trailing newline.
2002-11-09 19:15:23 +00:00
Jeff Johnston
1f312e798b
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/mi-support.exp (mi_gdb_start): Verify the startup message
for mi1 and current mi is in correct format. New mi startup message
should be in mi console format. This is part of fix for PR gdb/604.
2002-11-08 20:37:50 +00:00
Fernando Nasser
83c31e7d1e
* printcmd.c (disassemble_command): Remove obsolete function.
...
(_initialize_printcmd): Do not create disassemble command here.
* cli/cli-cmds.c (disassemble_command): New function. Implements
disassemble command.
(init_cli_cmds): Create disassemble command here instead.
* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".
2002-11-08 03:21:34 +00:00
Jeff Johnston
f80a3b5fb4
2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb792.cc: New file to test patch for PR gdb/792.
* gdb792.exp: Ditto.
2002-11-05 22:31:32 +00:00
Elena Zannoni
6afa27b08c
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
...
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
mi_step_to wherever possible. Update copyright notices.
* mi-disassemble.exp: Ditto.
* mi-eval.exp: Ditto.
* mi-read-memory.exp: Ditto.
* mi-regs.exp: Ditto.
* mi-return.exp: Ditto.
* mi-stack.exp: Ditto.
* mi-stepi.exp: Ditto.
* mi-var-block.exp: Ditto.
* mi-var-cmd.exp: Ditto.
* mi-watch.exp: Ditto.
* mi1-console.exp: Ditto.
* mi1-disassemble.exp: Ditto.
* mi1-eval.exp: Ditto.
* mi1-read-memory.exp: Ditto.
* mi1-regs.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
* mi1-stepi.exp: Ditto.
* mi1-var-block.exp: Ditto.
* mi1-var-cmd.exp: Ditto.
* mi1-watch.exp: Ditto.
2002-11-05 15:43:18 +00:00
Jeff Johnston
7b8e064773
2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-var-cmd.exp: Add tests to verify that a -var-assign that changes
a value shows up in the changelist of a -var-update. Part of fix
for gdb/702.
* mi1-var-cmd.exp: Ditto.
2002-10-23 23:57:28 +00:00
Daniel Jacobowitz
322b3f65ca
* gdb.threads/schedlock.c (args): Make unsigned.
2002-10-23 03:22:56 +00:00
Daniel Jacobowitz
8b1d7e37a4
* gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
...
numbers. Allow "foo2|selected stack frame".
* gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
* gdb.asm/asmsrc2.s: Likewise.
* gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
comments.
* gdb.asm/mips.inc: New file.
2002-10-22 01:43:37 +00:00
Adam Fedor
5e2fe5b8f8
gdb.base/default.exp: Update expected output to include 'ObjC'.
...
gdb.base/help.exp: Likewise.
2002-10-18 18:54:55 +00:00
Kevin Buettner
abe1a5d0ef
* gdb.base/constvars.c (struct crass, struct crisp): New structs.
...
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-10-17 20:22:58 +00:00
Jeff Johnston
c18008c5d8
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-return.exp: Change expected frame output to remove extraneous
space in level field when frame level is single digit. Part of
fix for PR gdb/192.
* mi-stack.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
2002-10-03 22:33:15 +00:00
Jeff Johnston
93cae4bfd9
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-var-block.exp: Change expected output from -var-update
command to expect list format for "changelist". Fix for
PR gdb/672.
* mi-var-cmd.exp: Ditto.
* mi-var-child: Ditto.
2002-10-03 20:03:55 +00:00
Jim Blandy
10abb1d48f
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2002-10-02 21:46:56 +00:00
Andrew Cagney
1f609b42e3
2002-10-01 Andrew Cagney <ac131313@redhat.com>
...
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-10-01 16:01:37 +00:00
Andrew Cagney
0aee02e418
Delete no-longer-needed tests.
2002-09-29 14:20:32 +00:00
Kevin Buettner
6fde09ad29
* gdb.base/annota1.exp (info break): Make directory components of
...
path optional since not all compilers emit this debug information.
* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
step ends up stepping out of the function instead of stopping on
the epilogue.
2002-09-28 01:12:04 +00:00
Keith Seitz
9e8aab7587
* lib/insight-support.exp (gdbtk_start): Figure out where
...
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Andrew Cagney
e36180d795
2002-09-25 Andrew Cagney <cagney@redhat.com>
...
* frame.c: Include "gdb_string.h" and "builtin-regs.h".
(frame_map_regnum_to_name): New function.
(frame_map_name_to_regnum): New function.
* frame.h (frame_map_name_to_regnum): Declare.
(frame_map_regnum_to_name): Declare.
* builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
* builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
* parse.c: Do not include "builtin-regs.h".
(target_map_name_to_register): Delete function.
(write_dollar_variable): Use frame_map_name_to_regnum.
* parser-defs.h (target_map_name_to_register): Delete declaration.
* expprint.c: Include "frame.h".
(print_subexp): Use frame_map_regnum_to_name.
* eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
* infcmd.c (registers_info): Use frame_map_name_to_regnum.
2002-09-25 Andrew Cagney <cagney@redhat.com>
* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 20:30:38 +00:00
Keith Seitz
1154261b1f
* mi-pthreads.exp (get_mi_thread_list): Check if expect_out
...
exists before using it.
(check_mi_and_console_threads): Likewise.
* gdb669.exp (get_mi_thread_list): Likewise.
(check_mi_and_console_threads): Likewise.
2002-09-25 16:08:43 +00:00
Keith Seitz
d1a2f20434
* configure.in: Add config header.
...
Check for pthread.h.
* configure: Regenerate.
* config.in: New file.
* pthreads.c: New file.
* mi-pthreads.exp: New file to test thread functionality.
* gdb669.exp: New file.
2002-09-24 19:36:06 +00:00
Andrew Cagney
9dd34b2bcf
2002-09-24 Andrew Cagney <ac131313@redhat.com>
...
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
test_isolated_complaints.
(test_empty_complaint): New function.
(test_empty_complaints): New function. Check no output when no
complaints.
2002-09-24 16:07:42 +00:00
Kevin Buettner
dea9781227
Add new tests for charset support.
2002-09-20 00:26:06 +00:00
Andrew Cagney
54951bd7b5
2002-09-19 Andrew Cagney <ac131313@redhat.com>
...
* gdb.gdb/complaints.exp: New file.
2002-09-19 15:22:47 +00:00
Andrew Cagney
dec43320d9
2002-09-18 Andrew Cagney <ac131313@redhat.com>
...
* maint.c (maintenance_internal_error): Print the parameter as the
error message.
(maintenance_internal_warning): New function.
(_initialize_maint_cmds): Add command `maint internal-warning'.
* defs.h (internal_warning, internal_vwarning): Declare.
* utils.c (struct internal_problem): Define.
(internal_vproblem): New function.
(internal_warning): New function.
(internal_vwarning): New function.
(internal_warning_problem, internal_error_problem): New variables.
(internal_verror): Just call internal_vproblem.
Index: testsuite/ChangeLog
2002-09-18 Andrew Cagney <ac131313@redhat.com>
* gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-18 23:53:52 +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
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
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
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
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
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
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
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
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
Corinna Vinschen
1c56143ab1
* lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2002-09-13 17:20:11 +00:00
Joel Brobecker
37f8da45ab
* gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2002-09-13 00:43:10 +00:00
Keith Seitz
fc5cfef41b
* mi-simplerun.exp (test_controlled_execution): Follow renaming of
...
mi_run_to to mi_execute_to.
* mi-var-cmd.exp: Likewise.
* mi0-simplerun.exp: Likewise.
* mi0-var-cmd.exp: Likewise.
2002-09-10 22:28:44 +00:00
Keith Seitz
08b468e0c5
* lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
...
runto proc.
(mi_run_to_main): Use mi_runto.
(mi_execute_to): Renamed from mi_run_to. Changed all callers.
2002-09-10 22:28:19 +00:00
Keith Seitz
dc360f582a
* lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
...
regexp for stopping at main. Could have multiple event notifications.
Don't assume that main was declared with no parameters.
(mi_next): Use mi_step_to.
(mi_step): Use mi_next_to.
2002-09-10 22:07:58 +00:00
Corinna Vinschen
ce3abcfb03
* gdb.base/default.exp: Fix expected string in `info float' test.
2002-09-10 07:03:18 +00:00
Ben Elliston
d1f5b980c3
* config/mips.exp: Update comments.
...
* config/mips-idt.exp: Likewise.
* config/nind.exp: Likewise.
* config/slite.exp: Likewise.
* config/sparclet.exp: Likewise.
* config/udi.exp: Likewise.
* config/vx.exp: Likewise.
* config/vxworks29k.exp: Likewise.
2002-09-09 21:21:35 +00:00
Jim Blandy
2f71430b46
* gdb.threads/killed.exp: Fix test failure message.
2002-09-05 19:45:11 +00:00
Keith Seitz
7ddebc7e56
* lib/mi-support.exp: Update copyright.
...
(mi_gdb_test): Increase the priority of the expected pattern
so that it matches gdb_test.
2002-09-04 21:05:07 +00:00
Keith Seitz
0ae67eb394
* lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
...
Use integer comparison instead of string comparison for testing
whether binary was built.
2002-09-03 22:29:14 +00:00
Jim Blandy
38fc42c80d
* gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2002-09-03 20:02:48 +00:00
Keith Seitz
d26bd0178a
* gdb680.exp: New file to test to check for uiout list/tuple
...
nesting bug.
2002-09-03 16:37:00 +00:00
Jim Blandy
b6ff0e81ff
* gdb.threads/pthreads.exp: Move the portable thread compilation
...
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-29 22:36:52 +00:00
Keith Seitz
07c988968a
* lib/mi-support.exp (mi_gdb_test): Add global declaration for
...
expect_out so that callers can get at it.
2002-08-29 16:10:13 +00:00
Michael Snyder
c2b8ed2c80
2002-08-26 Joel Brobecker <brobecker@gnat.com>
...
* cli/cli-script.c (copy_command_lines): New function.
* defs.h (copy_command_lines): Export.
* testsuite/gdb.base/commands.exp: New tests for commands
attached to a temporary breakpoint, and for commands that
delete the breakpoint they are attached to.
2002-08-26 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (bpstat_stop_status): Instead of copying the
pointer to the breakpoint commands struct, make a new copy
of the struct and point to that.
(bpstat_clear): Free the commands struct.
(bpstat_clear_actions): Free the commands struct.
(bpstat_do_actions): Free the command actions. Also execute
the local cleanups, instead of deleting them.
(delete_breakpoint): Leave the commands field of the bpstat
chain alone -- it will be freed later.
2002-08-27 01:09:09 +00:00
Daniel Jacobowitz
0312286c94
* gdb.threads/print-threads.c: New file.
...
* gdb.threads/print-threads.exp: New file.
* gdb.threads/schedlock.c: New file.
* gdb.threads/schedlock.exp: New file.
2002-08-23 20:32:02 +00:00
Elena Zannoni
dd039bc424
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
not altivec.c.
2002-08-23 01:52:22 +00:00
Mark Kettenis
1f36144cb0
* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
...
targets. The problem should be fixed now.
2002-08-17 10:22:01 +00:00
Mark Kettenis
16057ec7a6
*** empty log message ***
2002-08-15 18:38:43 +00:00
Mark Kettenis
5415e7c5d4
* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
...
2002-07-24 change that removes final dots from error messages.
2002-08-15 17:18:50 +00:00
Tom Tromey
3c1499adb3
* gdb.base/readline.exp: New file.
2002-08-13 22:10:18 +00:00
Andrew Cagney
ba010b30d4
More obsolete CHILL.
2002-08-02 00:25:23 +00:00
Andrew Cagney
a20ce2c398
* lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
...
supress message.
2002-08-01 22:06:49 +00:00
Andrew Cagney
db034ac512
2002-08-01 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Menion that CHILL has been made obsolete.
* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.
* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
2002-08-01 17:18:35 +00:00
Kevin Buettner
3e000b1880
* gdb.base/shlib-call.exp (additional_flags): Conditionally
...
set Irix-specific compile and link flags.
2002-07-30 18:51:23 +00:00
Kevin Buettner
28f4966bbb
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
...
source files. The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.
2002-07-29 23:35:56 +00:00
Daniel Jacobowitz
46c0d5a66e
2002-07-19 Daniel Jacobowitz <drow@mvista.com>
...
* config/gdbserver.exp (gdb_load): Don't use TCL varargs.
Improve support for reusing an exec file. Copy exec file
to target, and run gdbserver on the target instead of on the host.
2002-07-19 19:40:28 +00:00
Jim Blandy
0f815cdf7e
* gdb.base/ending-run.exp: Don't expect to see the program end in
...
some orderly fashion when we're running on a real stand-alone
board.
2002-07-19 00:02:34 +00:00
Jim Blandy
eecf4bedc4
* gdb.base/interrupt.exp: Correct logic for skipping tests on
...
targets that don't support interrupts.
2002-07-18 23:52:49 +00:00
Joel Brobecker
52d309e45f
* gdb.base/attach.exp: Add patterns to match output from /proc-based
...
systems.
Move comments in expect statements to inside the actions, so that they
don't get matched against.
2002-07-11 00:51:37 +00:00
Mark Kettenis
ff683d9ee1
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
...
function when asleep" test.
2002-07-10 23:00:57 +00:00
Andrew Cagney
b535675370
* gdb.base/page.exp: Rewrite to handle problems with very long
...
`info set' output. Update copyright.
2002-07-10 21:57:56 +00:00
Andrew Cagney
6aa4d13aab
Zap remainder of gdb.threads-hp directory.
2002-06-27 03:58:32 +00:00
Andrew Cagney
8cf8c2b853
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
...
setlocale, bindtextdomain and textdomain.
2002-06-22 22:19:37 +00:00
Jim Blandy
919d772c55
* gdb/source.c (source_info): Mention whether the symtab has
...
information about preprocessor macros.
* gdb/testsuite/lib/gdb.exp (get_debug_format): Tolerate message
saying whether preprocessor macro information is present.
* gdb/doc/gdb.texinfo (Symbols): Update documentation for `info
source' command.
2002-06-11 20:37:05 +00:00
Jim Blandy
6827a8f8fe
* macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
...
tests.
2002-06-11 20:27:50 +00:00
Michael Snyder
c5984d7012
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/overlays.exp: Record addresses of overlay
functions in TCL variables rather than in GDB variables,
to avoid having GDB convert them to pointers (with loss
of information).
2002-06-06 20:26:10 +00:00
Michael Snyder
99a8512bd1
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/d10v.ld: Merge in several years worth of
default linker script changes.
2002-06-06 19:12:39 +00:00
Michael Snyder
c15b0d21ff
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-06 19:08:18 +00:00
Michal Ludvig
be26fe0d93
2002-06-06 Michal Ludvig <mludvig@suse.cz>
...
* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.
2002-06-06 15:19:17 +00:00
Michael Chastain
4b3153f1b9
Fix formatting of "From ... " lines on recent changes
...
that I committed on behalf of others.
2002-05-31 19:45:27 +00:00
Michael Chastain
258093ca1e
2002-05-30 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.
2002-05-30 19:09:47 +00:00
Michael Snyder
241264c6a6
2002-05-28 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/call-ar-st.exp: Allow for reduced floating point
precision.
2002-05-29 02:23:20 +00:00
Michael Chastain
71ea1be0a8
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.
2002-05-27 21:46:52 +00:00
Michael Chastain
9bba8c8f34
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.
2002-05-27 20:07:25 +00:00
Michael Chastain
def1b996f9
2002-05-27 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-27 18:00:14 +00:00
Michael Chastain
522ba26890
2002-05-26 Michael Chastain <mec@shout.net>
...
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-27 02:03:35 +00:00
Michael Snyder
277254ba88
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
...
* lib/gdb.exp (gdb_wrapper_init): Just because
gdb_wrapper_file exists, this does not mean that the file
should not be rebuilt. That is what gdb_wrapper_initialized
is for.
(default_gdb_init): Reset gdb_wrapper_initialized.
2002-05-23 21:25:42 +00:00
Michael Snyder
5bdb6d01db
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Revise previous patch by just reducing
the precision of the floating point test results.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 21:20:53 +00:00
Michael Snyder
b61a87338a
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 15:42:44 +00:00
Michael Chastain
56f6e91079
2002-05-19 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-20 05:16:53 +00:00
Elena Zannoni
ad0b001691
2002-05-17 Elena Zannoni <ezannoni@redhat.com>
...
* configure.in (configdirs): Add gdb.arch.
* configure: Regenerate.
2002-05-20 01:07:14 +00:00
Jim Blandy
f617d2b61f
* gdb.base/completion.exp: Recognize the more detailed error
...
messages produced by the macro expander's lexical analyzer.
2002-05-17 22:03:34 +00:00
Elena Zannoni
eac2a696e0
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:10:16 +00:00
Elena Zannoni
57680a243b
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:02:52 +00:00
Daniel Jacobowitz
2fdde8f831
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
...
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE.
(TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use
TYPE_INSTANCE_FLAGS.
(struct main_type): New.
(struct type): Move most members to struct main_type. Change
cv_type and as_type to new type_chain member. Add instance_flags.
(TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros.
(TYPE_CV_TYPE, TYPE_AS_TYPE): Remove.
(finish_cv_type): Remove prototype.
* gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE.
Set TYPE_CHAIN.
(alloc_type_instance): New function.
(smash_type): New function.
(make_pointer_type, make_reference_type, make_function_type)
(smash_to_member_type, smash_to_method_type): Call smash_type.
(make_qualified_type): New function.
(make_type_with_address_space): Call make_qualified_type.
(make_cv_type): Likewise.
(finish_cv_type): Remove unnecessary function.
(replace_type): Update comment. Copy TYPE_MAIN_TYPE.
(recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS;
remove TYPE_CV_TYPE and TYPE_AS_TYPE.
* c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS.
* dwarf2read.c (read_structure_scope): Don't call finish_cv_type.
* hpread.c (hpread_read_struct_type): Likewise.
* stabsread.c (read_struct_type): Likewise.
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp (maint print type): Update for new type
structure.
2002-05-14 18:30:53 +00:00
Elena Zannoni
e31f1a7cdb
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch: New directory.
* gdb.arch/configure.in: New file.
* gdb.arch/configure: New file.
* gdb.arch/Makefile.in: New file.
2002-05-14 17:09:13 +00:00
Corinna Vinschen
db5897415c
* gdb.asm/asm-source.exp: Add v850 as supported target.
...
* gdb.asm/v850.inc: New file.
2002-05-14 10:25:33 +00:00
Daniel Jacobowitz
8ce2a7dcda
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Daniel Jacobowitz
df763c7f5b
2002-05-12 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-13 01:18:19 +00:00
Michael Snyder
377daeed9a
2002-05-10 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Fix typo.
2002-05-10 23:43:04 +00:00
Jim Blandy
ecac9a4eaf
* gdb.base/printcmds.exp: Don't xfail the ptype command. This is
...
a bug.
2002-05-10 20:25:26 +00:00
Jim Blandy
c4b7bc2bea
* gdb.base/printcmds.exp (test_integer_literals_rejected):
...
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
2002-05-10 18:38:09 +00:00
Mark Kettenis
e71019a17f
* gdb.c++/method.exp: Fix typo.
2002-05-09 20:07:16 +00:00
Michael Snyder
166a195727
2002-05-08 Michael Snyder <msnyder@redhat.com>
...
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2002-05-09 18:29:33 +00:00
Michael Snyder
35928259ea
2002-05-09 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
2002-05-09 18:17:22 +00:00
Michael Snyder
fedfc8e665
2002-05-08 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2002-05-08 21:05:44 +00:00
Michael Snyder
cb9a9d3ed2
2002-05-06 Michael Snyder <msnyder@redhat.com>
...
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
(gdb_continue_to_end): Accept output from status wrapper.
* gdb.base/ending-run.exp: Add case for output from status wrapper.
Clean up fail messages to match pass messages.
2002-05-07 02:22:08 +00:00
Michael Snyder
f1c47eb238
2002-05-06 Michael Snyder <msnyder@redhat.com>
...
Enable the "needs_status_wrapper" testsuite feature.
* lib/gdb.exp (gdb_wrapper_init): New procedure.
(gdb_compile): Conditionally call gdb_wrapper_init.
* gdb.base/a2-run.exp: Recognize output from status wrapper.
* gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-07 00:45:46 +00:00
Ben Elliston
6079c749e1
2002-05-06 Ben Elliston <bje@redhat.com>
...
From Graydon Hoare <graydon@redhat.com>
* config/sid.exp: Include support for "rawsid" protocol.
2002-05-06 12:19:30 +00:00
Jim Blandy
188baff3f1
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
...
* gdb.c++/hang3.C: New file.
2002-05-04 20:51:16 +00:00
Andrew Cagney
b9c07f0f78
* gdb.base/default.exp: Remove obsolete code.
...
* gdb.c++/misc.exp: Ditto. Update copyright.
* gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
* gdb.base/whatis.exp: Ditto. Update copyright.
* gdb.base/scope.exp: Ditto. Update copyright.
* gdb.base/ptype.exp: Ditto. Update copyright.
* gdb.base/printcmds.exp: Ditto. Update copyright.
* gdb.base/opaque.exp: Ditto. Update copyright.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto. Update copyright.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-04 15:18:21 +00:00
Michael Snyder
d6dcc2647a
2002-05-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-03 23:16:44 +00:00
Michael Snyder
5c7a03973f
2002-05-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.
2002-05-03 21:25:08 +00:00
Jim Blandy
eb7f1c487a
* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
...
gdb.c++/hang.exp: New test.
2002-05-02 07:03:53 +00:00
Fred Fish
a6befae84d
2002-05-01 Fred Fish <fnf@redhat.com>
...
* gdb.base/completion.exp: Handle completions of "./Make" for
more than one completion possibility, as is the case when we
build and test in the source tree.
2002-05-01 15:39:32 +00:00
Anthony Green
0a31027751
New test cases for java support.
2002-04-29 21:33:03 +00:00
Daniel Jacobowitz
6ff9af88cb
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-24 22:11:28 +00:00
Elena Zannoni
96b3d632cb
2002-04-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/help.exp: Change 'help status' to allow for target
dependent output differences.
2002-04-24 03:07:33 +00:00
Michael Chastain
5019bb5448
2002-04-22 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-23 05:18:28 +00:00
Michael Chastain
a805a116a8
2002-04-22 Michael Chastain <mec@shout.net>
...
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-23 05:08:31 +00:00
David S. Miller
a1706bfd87
2002-04-17 David S. Miller <davem@redhat.com>
...
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni
a73a20a2d5
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-19 16:06:59 +00:00
David S. Miller
ba6783391f
2002-04-18 David S. Miller <davem@redhat.com>
...
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00
Kevin Buettner
b03399da11
* gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
...
``-fpic'' when compiling files comprising a shared library, but
it does need additional linker flags in order to find shared
libraries at run time.
2002-04-18 21:07:20 +00:00
Kevin Buettner
e20049926b
* gdb.base/cvexpr.c (use): New function.
...
(main): Invoke use() on all global variables to prevent
some linkers from deleting these otherwise unused symbols.
2002-04-18 13:21:03 +00:00
Michael Chastain
d8937120db
2002-04-17 Michael Chastain <mec@shout.net>
...
From David S. Miller <davem@redhat.com>
* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
2002-04-18 03:24:20 +00:00
Michael Snyder
ffd61a589b
2002-04-12 Michael Snyder <msnyder@redhat.com>
...
From Jim Blandy <jimb@redhat.com>
* gdb.base/foo.c (foox): Remove section attribute; the linker
script can handle this instead.
* gdb.base/bar.c (barx): Same.
* gdb.base/baz.c (bazx): Same.
* gdb.base/grbx.c (grbxx): Same.
* gdb.base/overlays.exp: New test: check that GDB's manual overlay
manager doesn't automatically unmap overlays unnecessarily.
2002-04-13 00:21:40 +00:00
Michael Snyder
fda6ae12ae
2002-02-14 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
2002-04-11 18:24:08 +00:00
Martin Hunt
6b8426a663
2002-04-10 Martin M. Hunt <hunt@redhat.com>
...
* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.
2002-04-11 03:31:26 +00:00
Michael Chastain
34af487575
2002-04-09 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.
2002-04-10 03:52:57 +00:00
Daniel Jacobowitz
2d1676a068
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/attach.exp: Correct target board test.
2002-04-09 20:48:45 +00:00
Michael Chastain
3a63e3f9b9
2002-04-08 Michael Chastain <mec@shout.net>
...
* gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
in a const method. Add some xfail and fail cases for configurations
that do not emit the "const ...".
2002-04-08 22:43:15 +00:00