Michael Chastain
10d1bea8d5
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/funcargs.exp: Remove obsolete setup_xfail for
hp_cc_compiler.
2004-01-08 07:26:50 +00:00
Michael Chastain
053248ffab
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/constvars.exp: Do not force lang=c++ if using HP
compilers. Delete duplicate call to get_compiler_info.
(local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
* gdb.base/volatile.exp: Likewise.
2004-01-07 22:44:54 +00:00
Mark Kettenis
84acecdda8
* gdb.base/gdb1476.exp: Only run the tests if we can't read the
...
memory at address 0.
2004-01-07 22:12:34 +00:00
Andrew Cagney
60ad077b5a
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.c (strerrno): Add "EBUSY".
2004-01-07 16:39:02 +00:00
Andrew Cagney
1c9b8f3352
2004-01-07 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
when creating the read-only file. From analysis by Roland McGrath
and Elena Zannoni.
2004-01-07 16:02:27 +00:00
Michael Chastain
eca3e36bf8
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/cvexpr.c: Be type-safe with function pointers and
data pointers.
2004-01-07 08:32:51 +00:00
Michael Chastain
9b4e0f9493
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
* gdb.base/call-rt-st.exp: Likewise.
* gdb.base/nodebug.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
2004-01-06 19:05:14 +00:00
Mark Kettenis
023c10246b
* gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2004-01-05 22:55:33 +00:00
Michael Chastain
19703c4ab8
2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
hppa*-hp-hpux*.
2004-01-05 12:32:11 +00:00
Mark Kettenis
ba6219c89f
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
...
x86_64-*-*.
2004-01-04 15:04:41 +00:00
Mark Kettenis
18b6703720
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
...
sparc64-*-* and sparc*-solaris2*.
2004-01-04 14:06:00 +00:00
Mark Kettenis
1bfbbb9d24
* gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
...
return ${tests}" test. The ${tests} already mentions the
filename.
2004-01-03 23:49:31 +00:00
Andrew Cagney
ede47fe902
Revert accidental commit.
2004-01-02 22:53:12 +00:00
Andrew Cagney
e42c953419
2004-01-02 Andrew Cagney <cagney@redhat.com>
...
* utils.c (do_my_cleanups): Make static, add forward declaration.
* defs.h (do_my_cleanups): Delete declaration.
2004-01-02 17:35:01 +00:00
Michael Chastain
850742db45
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
source files.
2003-12-18 16:25:21 +00:00
Michael Chastain
eb4bbda805
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/environ.exp: Handle compiling test case from multiple
source files.
2003-12-18 07:48:37 +00:00
Michael Chastain
e42c777187
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-17 22:32:18 +00:00
Jim Blandy
5f06973a05
* gdb.base/freebpcmd.c: Add copyright notice.
2003-12-17 21:34:51 +00:00
Jim Blandy
80e4b428e6
* gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2003-12-17 21:28:40 +00:00
Michael Chastain
0ab84fb789
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2003-12-17 05:43:46 +00:00
Jim Blandy
1b3bb3d032
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2003-12-13 20:12:31 +00:00
Fred Fish
a1dea79abe
Committed after testing and independent approval/endorsement.
...
2003-12-09 Fred Fish <fnf@redhat.com>
* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
functions to break1.c and leave prototypes behind. Add more
"set breakpoint NN here" comments.
* gdb.base/break1.c: New file.
* gdb.base/break.exp: Handle compiling test case from multiple
source files and change source file references as needed.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
hardcoded line numbers.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/completion.exp: Use "break1" for completion tests since
"break" is no longer a unique prefix.
2003-12-09 18:19:20 +00:00
Andrew Cagney
5266b69c16
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented". When an unimplemented struct return
architecture, report incorrect values as a KFAIL
2003-12-06 22:49:02 +00:00
Michael Chastain
ba9b20a7b1
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.
2003-12-06 02:06:22 +00:00
Michael Chastain
b74b6d0b9f
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.
2003-12-05 01:53:46 +00:00
Michael Chastain
ccfa340233
2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-04 04:37:54 +00:00
Michael Chastain
f6246aba72
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
2003-12-02 17:53:58 +00:00
Michael Chastain
96457b64cf
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
gcc_compiled with call to test_compiler_info.
2003-12-01 22:09:06 +00:00
Michael Chastain
f35309fcfd
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.
2003-11-30 23:13:34 +00:00
Michael Chastain
d7afdf9bce
2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
2003-11-30 06:50:49 +00:00
Michael Chastain
f81f93f75e
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-29 06:56:06 +00:00
Michael Chastain
9a77938ecf
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-28 03:31:24 +00:00
Mark Kettenis
e8367dc76a
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
...
pattern for the KFAILs.
2003-11-27 20:40:52 +00:00
Michael Chastain
b729099eb3
2003-11-23 Michael Chastain <mec@shout.net>
...
Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.
2003-11-23 17:48:00 +00:00
Andrew Cagney
d422fe19c6
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-23 01:09:19 +00:00
Andrew Cagney
6882279b13
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp: Handle and recover from internal errors.
Replace "foo${n}" with "foo<n>" in test messages.
2003-11-20 18:03:48 +00:00
Andrew Cagney
e53890ae03
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp: Update copyright. Rewrite.
* gdb.base/structs.c: Update copyright. Rewrite.
2003-11-20 17:11:55 +00:00
Andrew Cagney
039cf96dc4
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20 15:36:34 +00:00
Andrew Cagney
eac98b22ae
2003-11-19 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
KFAIL.
2003-11-19 18:34:52 +00:00
Andrew Cagney
b496706087
Oops, accidental commit, reverting.
2003-11-17 15:09:19 +00:00
Andrew Cagney
853d6e5b6d
2003-11-17 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (compiler_info): New global.
(test_compiler_info): New function.
(get_compiler_info): Set compiler_info.
* lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
"compiler_info" to gcc-<major>-<minor>.
2003-11-17 15:00:20 +00:00
Elena Zannoni
a50d3602e0
2003-11-13 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/break.c: Add comments to aid finding line numbers for
breakpoints.
* gdb.base/break.exp: Remove all references to explicit line
numbers.
2003-11-13 15:34:39 +00:00
Nick Clifton
d9407aaa54
Do not run for targets which do not support shared objects.
2003-11-11 17:58:28 +00:00
Corinna Vinschen
db488fc1b2
* gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
...
Don't run tests if nofileio flag is given.
2003-11-10 09:12:20 +00:00
Elena Zannoni
0b915e9cc2
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
...
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.
2003-11-06 20:50:47 +00:00
Michael Chastain
8b7d96c1c4
2003-10-20 Michael Chastain <mec@shout.net>
...
* gdb.base/gdb1056.exp: New test script.
2003-10-21 00:35:02 +00:00
Daniel Jacobowitz
7d605576a6
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
...
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
2003-10-13 16:30:45 +00:00
Corinna Vinschen
618ec11271
* gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
...
type, based on char type.
(struct bit_flags_short_t): New bitfield type, based on short type.
(init_bit_flags_char): New fuction.
(init_bit_flags_short): Ditto.
(print_bit_flags_char): Ditto.
(print_bit_flags_short): Ditto.
(main): Add handling for bit_flags_char_t and bit_flags_short_t.
2003-10-13 09:13:43 +00:00
Michael Chastain
9367a73cbc
2003-10-11 Michael Chastain <mec@shout.net>
...
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-11 20:57:42 +00:00
Corinna Vinschen
aec24853b5
* gdb.base/ending-run.exp: Add sh specific case.
2003-10-07 16:02:16 +00:00
Andrew Cagney
adc7428d50
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
* gdb.disasm/mn10200.exp: Delete obsolete file.
2003-10-06 19:31:43 +00:00
Daniel Jacobowitz
c9d37158cc
* ChangeLog: Correct an entry command.exp -> commands.exp.
...
* gdb.base/commands.exp (bp_deleted_in_command_test)
(temporary_breakpoint_commands): Check noargs.
2003-09-29 15:08:52 +00:00
David Carlton
10f0d45173
2003-09-25 David Carlton <carlton@kealia.com>
...
* gdb.base/corefile.exp: Delete obsolete setup_xfail.
2003-09-25 15:40:20 +00:00
Elena Zannoni
274bcba01c
2003-09-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/selftest.exp: Accomodate more instruction reordering
weirdness.
2003-09-23 19:19:48 +00:00
Elena Zannoni
1c19974635
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-11 18:59:02 +00:00
Michael Chastain
04ed252fc1
2003-09-08 Michael Chastain <mec@shout.net>
...
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-08 21:30:52 +00:00
Michael Chastain
49f2741a0a
2003-08-30 Michael Chastain <mec@shout.net>
...
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
* gdb.gdb/observer.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.
2003-08-30 04:58:21 +00:00
Mark Kettenis
8afa723e83
* gdb.base/interrupt.exp: XFAIL "call function when asleep" for
...
*-*-*bsd*.
2003-08-29 11:42:28 +00:00
Jeff Johnston
f31dfe3b88
2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/dump.exp: Skip for ia64.
2003-08-28 18:01:50 +00:00
Daniel Jacobowitz
a356f73bbf
* gdb.base/annota3.exp: Add missing newline.
2003-08-17 16:50:59 +00:00
Michael Snyder
c99c59c39d
2003-08-12 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/float.exp: Add test for SH.
2003-08-12 22:27:19 +00:00
Elena Zannoni
1a371f2e64
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Remove reduntant completion test
on filename.
2003-08-07 17:58:44 +00:00
Elena Zannoni
e0f353ceed
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
gdb.trace/save-trace.exp: Make sure that full pathnames are
escaped correctly.
2003-08-07 17:55:41 +00:00
Andrew Cagney
6009d8848e
2003-08-02 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.
2003-08-03 01:57:13 +00:00
Andrew Cagney
225f2bf663
2003-07-27 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.
2003-07-27 21:24:09 +00:00
Daniel Jacobowitz
bcb27c9f96
From Kei Sakamoto <sakamoto.kei@renesas.com>:
...
* gdb.base/relocate.c (dummy): New padding array.
2003-07-24 18:45:43 +00:00
Michael Snyder
686d097cef
2003-07-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/return2.exp: Don't test long-long return.
2003-07-23 18:53:34 +00:00
Andreas Schwab
180dea7cce
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
...
due to insn reordering.
2003-07-20 17:39:16 +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
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
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
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
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
Daniel Jacobowitz
2f816dda05
* gdb.base/relocate.exp: Test add-symbol-file with a variable
...
offset.
2003-06-22 18:32:38 +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
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
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
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
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
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
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
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
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
Kevin Buettner
dea9781227
Add new tests for charset support.
2002-09-20 00:26:06 +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
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
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
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
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
Corinna Vinschen
ce3abcfb03
* gdb.base/default.exp: Fix expected string in `info float' test.
2002-09-10 07:03:18 +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
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
Tom Tromey
3c1499adb3
* gdb.base/readline.exp: New file.
2002-08-13 22:10:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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