Daniel Jacobowitz
b9c5a23d0d
* gdb.base/store.exp: Don't use gdb_suppress_entire_file.
2006-06-22 19:57:02 +00:00
Daniel Jacobowitz
9af2e58deb
* gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
...
native.
2006-06-22 19:53:46 +00:00
Daniel Jacobowitz
30930ca5c5
* gdb.stabs/exclfwd.exp: Skip the test if configure did not
...
enable stabs testing.
2006-06-22 19:50:57 +00:00
Daniel Jacobowitz
aa32fa1d64
* auxv.exp: Intercept undefined command messages before
...
gdb_test_multiple does.
2006-06-22 19:32:41 +00:00
Daniel Jacobowitz
321fef153f
Add changelog entry for unintended earlier commit:
...
* Makefile.in (host_alias): Remove.
(target_alias): Use @target_noncanonical@.
(site.exp): Don't set host_alias.
* aclocal.m4: Remove contents. Include acx.m4.
* configure: Regenerated.
* configure.ac: Use ACX_NONCANONICAL_TARGET.
2006-06-22 19:17:49 +00:00
Daniel Jacobowitz
90750ee799
Revert accidental commit.
2006-06-22 19:17:09 +00:00
Daniel Jacobowitz
be2a5f717b
gdb/
...
* NEWS: Mention qSupported.
* remote.c (struct remote_state): Add explicit_packet_size.
(get_remote_packet_size): Check explicit_packet_size.
(get_memory_packet_size): Likewise.
(PACKET_qSupported): New enum value.
(struct protocol_feature, remote_supported_packet)
(remote_packet_size, remote_protocol_features)
(remote_query_supported): New.
(remote_open_1): Reset explicit_packet_size. Call
remote_query_supported.
(_initialize_remote): Register qSupported.
gdb/doc/
* gdb.texinfo (Remote configuration): Document set / show
remote supported-packets.
(General Query Packets): Document qSupported packet.
gdb/gdbserver/
* server.c (handle_query): Handle qSupported.
2006-06-21 13:57:21 +00:00
Nathan Sidwell
e63b55d15b
* lib/gdb.exp (gdb_load_cmd): New.
2006-06-13 13:20:25 +00:00
Nathan Sidwell
5600ea19e0
gdb/
...
* remote-file.io.c (remote_fileio_func_system): Treat zero length
string as NULL. Adjust for NULL pointer argument.
* doc/gdb.texinfo (system): Document behaviour with zero length
string.
gdb/testsuite/
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
2006-06-13 08:55:22 +00:00
Nathan Sidwell
e1c2defab5
* gdb.base/break.c: Add 10a breakpoint at }
...
* gdb.base/break.exp: Add test for breakpoint at }
* gdb.cp/anon-union.cc: Add code at end of function.
* gdb.cp/anon-union.exp: Adjust end of function breakpoint.
* gdb.mi/var-cmd.c: Add code at end of function.
* gdb.mi/mi-var-display.exp: Adjust end of next.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/fileio.c: Add stop function and insert calls at
stopping places.
* gdb.base/fileio.exp: Breakpoint stop function and remove
explicit line number references.
2006-06-13 08:46:17 +00:00
Joel Brobecker
6c0112ecf2
* gdb.base/del.exp (test_delete_alias): New function.
...
Now check that both "del" and "d" work as aliases for "delete".
2006-05-20 01:35:27 +00:00
Fred Fish
154189a4a5
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-18 Fred Fish <fnf@specifix.com>
* gdb.base/a2-run.exp: Allow part of test to run when args aren't
required. Check for spurious output after program exits normally.
2006-05-18 19:34:01 +00:00
Fred Fish
582e64c29d
Suggested, reviewed, and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-17 Fred Fish <fnf@specifix.com>
* gdb.base/relocate.exp: Use gdb_file_cmd rather than
gdb_load, so it works in the simulator.
2006-05-17 23:59:40 +00:00
Fred Fish
8ef6493a1d
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
...
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
"program exited normally" and the gdb prompt, as many other
tests do.
2006-05-11 13:09:58 +00:00
Mark Kettenis
692b141ccb
* gdb.base/help.exp: Make "delete checkpoint" part option for
...
"help d" and "help delete" tests.
2006-05-07 20:50:35 +00:00
Ulrich Weigand
540b8a309d
* gdb.mi/mi-basics.exp: Add missing serial number to
...
expected output in some mi_gdb_test statements.
* gdb.mi/mi2-basics.exp: Likewise.
2006-05-06 20:39:15 +00:00
David S. Miller
c324242868
* gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
...
will get printed without a mi_cmd_data_list_register_values prefix.
(*-data-list-register-*): Correct regular expressions to expect the new
pseudo d? floating point registers.
* gdb.mi/mi2-regs.exp: Likewise.
2006-05-05 23:34:40 +00:00
Joel Brobecker
9b6462d950
* gdb.base/del.c: New file.
...
* gdb.base/del.exp: New testcase.
2006-05-05 22:49:39 +00:00
David S. Miller
1303f75ea1
* gdb.base/savedregs.exp: Do not require that the dummy
...
frame location match up to a symbol and source file location.
2006-05-05 22:48:10 +00:00
David S. Miller
954de43bb9
* gdb.base/break.exp: Do not assume a breakpoint on
...
main will actually be in $srcfile when optimizing.
2006-05-05 22:45:35 +00:00
Daniel Jacobowitz
c7e64c9a76
* gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
...
* gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
is allocated by the compiler.
* gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
anons, e, anone to force their allocation by the compiler.
2006-05-05 18:04:09 +00:00
Daniel Jacobowitz
79c214e04d
* gdb.base/help.exp: Update expected text for help d and
...
help delete.
2006-05-05 15:45:09 +00:00
Mark Kettenis
27ce9a6de2
* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
...
NetBSD/ELF targets.
2006-05-01 22:21:35 +00:00
Mark Kettenis
8608915fb1
* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
...
single-step breakpoint fails; make this a KFAIL on
sparc*-*-openbsd*.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp (advance, advancei): Likewise.
2006-05-01 16:39:36 +00:00
Michael Snyder
b8db102de3
2006-04-26 Michael Snyder <msnyder@redhat.com>
...
* linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
command to "delete fork" (no hyphen), compatible with other
"delete" commands.
(info_forks_command): Accept a fork ID argument, for info
on a single fork. Report if no matching forks.
2006-04-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
which may have to consume output from other forks.
Add tests to make sure that "delete fork" succeeded.
2006-04-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (delete-fork): Command renamed to "delete fork".
2006-04-27 23:03:42 +00:00
Michael Snyder
c702009a72
2006-04-20 Michael Snyder <msnyder@redhat.com>
...
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.
2006-04-20 23:24:23 +00:00
Andrew Stubbs
e28493f226
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
...
gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.
gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
2006-04-07 13:31:15 +00:00
David S. Miller
880da1859d
* gdb.base/float.exp: Add pattern for sparc targets.
2006-04-04 23:17:41 +00:00
Daniel Jacobowitz
61d9b92fc1
gdb/
...
* cli/cli-script.c (insert_args): Handle NULL user_args.
gdb/testsuite/
* gdb.base/commands.exp (stray_arg0_test): New test.
2006-03-30 16:51:20 +00:00
Paul Brook
bd717df8b1
2006-03-30 Paul Brook <paul@codesourcery.com>
...
* gdb.mi/mi-until.exp: kfail broken until command.
* gdb.mi/mi2-until.exp: Ditto.
2006-03-30 16:21:26 +00:00
Nick Roberts
5cc40a5834
New files.
2006-03-27 00:27:09 +00:00
Nick Roberts
ec793d3caa
*** empty log message ***
2006-03-27 00:22:31 +00:00
Alexandre Oliva
831004b79b
gdb/ChangeLog:
...
* solib-svr4.c (svr4_current_sos): Move up initialization of
l_addr, such that it clearly covers all cases.
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
2006-03-09 00:22:09 +00:00
Paul Brook
effe49a0c7
2006-03-07 Paul Brook <paul@codesourcery.com>
...
* gdb.base/assign.exp: Correct fail message.
2006-03-07 21:40:50 +00:00
Paul Brook
e546101697
2006-03-07 Paul Brook <paul@codesourcery.com>
...
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.
2006-03-07 18:51:56 +00:00
Paul Brook
fc91c6c2b9
2006-03-07 Paul Brook <paul@codesourcery.com>
...
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.arch/e500-abi.exp: Ditto.
* gdb.arch/e500-regs.exp: Ditto.
* gdb.base/all-bin.exp: Ditto.
* gdb.base/annota1.exp: Ditto.
* gdb.base/annota3.exp: Ditto.
* gdb.base/args.exp: Ditto.
* gdb.base/arithmet.exp: Ditto.
* gdb.base/assign.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/bang.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/jump.exp: Ditto.
* gdb.base/logical.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pc-fp.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sep.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.trace/actions.exp: Ditto.
* gdb.trace/backtrace.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/limits.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* lib/gdb.exp: Ditto.
(gdb_compile): Handle nowarning option.
2006-03-07 15:23:33 +00:00
Alexandre Oliva
5f4a23d95c
* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
...
* gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
Rename executable to prelinkt. Don't re-prelink if we didn't
get a core file. Test prelink -u exit status to tell whether
prelinking failed. Use gdb_test_multiple.
2006-03-07 05:05:29 +00:00
Daniel Jacobowitz
9733fc9442
gdb/
...
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
calls.
gdb/testsuite/
* gdb.cp/inherit.exp (test_print_mi_member_types): New function.
(do_tests): Call it.
2006-03-01 19:34:46 +00:00
Alexandre Oliva
cc10cae34a
gdb/ChangeLog:
...
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New. Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr. Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
2006-02-28 04:29:10 +00:00
Wu Zhou
15c46491c2
* gdb.fortran/derived-type.f90: New file.
...
* gdb.fortran/derived-type.exp: New testcase.
2006-02-24 07:29:42 +00:00
Daniel Jacobowitz
5c9f7ded98
* gdb.base/default.exp: Allow ';' as a directory separator.
2006-02-23 18:24:34 +00:00
Andrew Stubbs
5b96932ba3
2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* symfile.c (add_symbol_file_command): Use buildargv(), instead of
hand decoding the command line, to allow use of quotes and spaces.
(_initialize_symfile): Reorganize the help message for add-symbol-file
such that 'help files' shows a better message.
testsuite/
* gdb.base/help.exp (help add-symbol-file): Update.
2006-02-21 19:13:20 +00:00
Andrew Stubbs
1986bccdb5
2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
...
* symfile.c (generic_load): Use buildargv() and tilde_expand()
to parse file names with quoting, spaces and tildes properly.
(load_command): Quote all special characters before calling
target_load() such that buildargv() doesn't break file names.
(_initialize_symfile): Mention the load offset in the help for
the load command.
* remote-sim.c: Include readline.h.
(gdbsim_load): Use buildargv and tilde_expand() to parse file
names with quoting, spaces and tildes properly.
* target.h (target_load): Comment the parameters better.
* Makefile.in (remote_sim.o): Add readline.h dependency.
testsuite/
* gdb.base/help.exp (help load): Update expected results.
2006-02-21 18:22:27 +00:00
Fred Fish
a8b7528fa2
Reviewed and approved by Daniel Jacobowitz
...
2006-02-19 Fred Fish <fnf@specifix.com>
* gdb.base/pc-fp.exp (get_valueofx): Don't print environment
specifix hex value as part of results.
* gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2006-02-19 20:53:34 +00:00
Fred Fish
f8261448b0
2006-02-16 Fred Fish <fnf@specifix.com>
...
* gdb.base/whatis.c: Define variables using typedefs char_addr,
ushort_addr, and slong_addr, so the typedefs are not optimized
away.
* gdb.base/whatis.exp: Add tests using type name for struct type,
union type, enum type, and typedef.
2006-02-18 20:01:17 +00:00
Mark Kettenis
31d8bdd239
* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
2006-02-13 22:33:26 +00:00
Jim Blandy
34e41e637a
gdb/testsuite/ChangeLog:
...
2006-02-13 Jim Blandy <jimb@redhat.com>
* gdb.base/scope.exp (test_at_main): Remove logic to handle the
case where it takes two "next" commands to skip past the init
call.
2006-02-13 18:11:38 +00:00
Fred Fish
ac6e4f3115
Reviewed and approved by Jim Blandy
...
2006-02-12 Fred Fish <fnf@specifix.com>
* gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
to handle cases where it takes two "next" commands to skip
past the init call.
2006-02-13 10:41:26 +00:00
Joel Brobecker
2db2d57137
* gdb.ada/array_return.exp: Mark the last test as expected to fail
...
on hppa32 targets.
2006-02-07 19:37:46 +00:00
Daniel Jacobowitz
38fcd64c3a
From Vladimir Prus <ghost@cs.msu.su>:
...
gdb/
* breakpoint.c (print_one_breakpoint): For MI-like UI, output
fullname field.
gdb/doc/
* gdb.texinfo (Breakpoint table commands): Document the fullname
field in -break-list output.
gdb/testsuite/
* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
field.
2006-02-06 21:55:06 +00:00
Mark Kettenis
1315ad4636
* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
2006-01-29 21:30:17 +00:00
Daniel Jacobowitz
5625b94380
* gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
...
files.
2006-01-23 01:47:32 +00:00
Daniel Jacobowitz
80df1bbe05
* gdb.cp/maint.exp: Set complaints to a positive value.
2006-01-20 23:08:48 +00:00
Daniel Jacobowitz
9078e6905b
* gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
...
* gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
function name.
2006-01-15 19:07:33 +00:00
Daniel Jacobowitz
9c903399a2
* gdb.base/checkpoint.c: Update copyright notice. Include
...
<stdlib.h>.
2006-01-15 18:31:55 +00:00
Jim Blandy
761ae4d626
2006-01-04 Jim Blandy <jimb@redhat.com>
...
* gdb.asm/asm-source.exp: Independently provide default values for
asm-flags and debug-flags. Use 'string equal' to do the
comparison, not the implicit expr's '==' operator. Remove
now-unneeded assignments to asm-flags. In h8300 case, place
"-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
2006-01-12 00:51:45 +00:00
Michael Snyder
099ac3dd7c
2006-01-04 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/checkpoint.c: New file.
* gdb.base/checkpoint.exp: New file.
* gdb.base/multi-fork.c: New file.
* gdb.base/multi-fork.exp: New file.
* gdb.base/pi.txt: New file (data for checkpoint.c test).
2006-01-04 19:29:26 +00:00
Fred Fish
f4d8531447
Reviewed and approved by Jim Blandy
...
2006-01-04 Fred Fish <fnf@specifix.com>
* gdb.base/ptype.c (foo): Add typedef.
(intfoo): Add function.
* gdb.base/ptype1.c: New file.
* gdb.base/ptype.exp: Handle compilation and linking with two
source files. Test that proper type for "foo" is found based
on source context rather than first match found in symtabs.
2006-01-04 14:46:17 +00:00
Mark Kettenis
a1b06f3564
* gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
...
* gdb.asm/openbsd.inc: Indent commands.
2005-12-28 10:36:00 +00:00
Mark Kettenis
c65016bd6f
* gdb.base/freebpcmd.exp: Increase timeout.
2005-12-26 14:44:38 +00:00
Mark Kettenis
d082a1e285
* gdb.gdb/selftest.exp (test_with_self): Update copyright check.
2005-12-26 14:38:20 +00:00
Daniel Jacobowitz
d3c32a0efe
* gdb.base/default.exp: Update check for "show version".
2005-12-17 23:39:26 +00:00
Randolph Chung
9fdb1f509e
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.
2005-12-09 11:05:26 +00:00
Randolph Chung
5f2c56f79b
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.
2005-12-09 11:02:09 +00:00
Randolph Chung
8117349cb4
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.
2005-12-09 10:57:40 +00:00
Randolph Chung
8f07f25a06
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2005-12-09 10:55:09 +00:00
Daniel Jacobowitz
55b3918466
gdb/
...
* valops.c (value_struct_elt): Clarify error message.
gdb/testsuite/
2005-12-07 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.
2005-12-07 23:07:54 +00:00
Andrew Stubbs
31e2b00f59
2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
...
* breakpoint.c (BREAK_ARGS_HELP): New mecro.
(_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak
commands' help by adding more information and using BREAK_ARGS_HELP
to duplicate the common parts. Remove now-redundant cross-references.
testsuite/
* gdb.base/help.exp (help b, help br, help bre, help brea)
(help break): Update the expected message.
2005-12-02 14:58:18 +00:00
Stephane Carrez
c3d0b56edf
* gdb.asm/m68hc11.inc: Setup the data section.
...
* gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
script for this test.
(m6812-*-*): Likewise.
2005-11-11 11:18:53 +00:00
Randolph Chung
36ae0ea97e
2005-11-09 Randolph Chung <tausq@debian.org>
...
* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
2005-11-09 15:45:55 +00:00
Wu Zhou
9d6f42e946
gdb.base/break.exp: Fix a comment typo.
2005-11-09 06:41:30 +00:00
Elena Zannoni
e2126a1475
2005-11-03 Jim Blandy <jimb@redhat.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-04 02:48:51 +00:00
Corinna Vinschen
e0ac7199c4
* gdb.arch/gdb1558.c: Include stdio.h.
2005-11-02 11:03:02 +00:00
Mark Kettenis
31d3fb18aa
* gdb.asm/asm-source.exp: Use -e instead of --entry.
2005-10-31 20:33:22 +00:00
Mark Kettenis
e52b687cc5
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
2005-10-31 16:00:46 +00:00
Paul Gilliam
f4711d79c9
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to better match output.
2005-10-17 22:16:54 +00:00
Jim Blandy
987a910636
2005-10-12 Jim Blandy <jimb@redhat.com>
...
* gdb.base/structs.exp (any): New function.
(test_struct_returns): Don't make any assumptions at all about
what value the function returns when GDB can't set the return
value.
2005-10-12 17:56:41 +00:00
Joel Brobecker
2336bb5846
* gdb.ada/arrayidx/p.adb: New file.
...
* gdb.ada/arrayidx.exp: New testcase
2005-10-10 01:14:36 +00:00
Joel Brobecker
1495de3fd3
* gdb.ada/array_return/pck.ads: New file.
...
* gdb.ada/array_return/pck.adb: New file.
* gdb.ada/array_return/p.adb: New file.
* gdb.ada/array_return.exp: New testcase.
2005-10-10 01:11:51 +00:00
Joel Brobecker
705335ead4
* gdb.base/arrayidx.c: New file.
...
* gdb.base/arrayidx.exp: New testcase.
2005-10-03 21:28:04 +00:00
Nick Roberts
3ca42dbe77
* annotate.c (breakpoints_changed, annotate_frames_invalid)
...
(_initialize_annotate): Print breakpoints-invalid and
frames-invalid for level 2 annotations only.
* gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
frames-invalid and breakpoints-invalid are no longer generated
with level 3 so don't expect them in the output.
2005-09-28 23:44:02 +00:00
Nick Roberts
11ee99408d
*** empty log message ***
2005-09-28 23:32:43 +00:00
Bob Rossi
39fb8e9e0f
2005-09-27 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
2005-09-27 22:39:04 +00:00
Paul Brook
2af48f6826
2005-09-26 Paul Brook <paul@codesourcery.com>
...
* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.
2005-09-26 02:17:34 +00:00
Paul Gilliam
1260befad1
2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
after a 'finish' command.
2005-09-20 23:40:51 +00:00
Wu Zhou
f34502bcd6
* bfp-test.c: New file.
...
* bfp-test.exp: New testcase.
2005-09-20 09:01:14 +00:00
Wu Zhou
ca9295176c
* gdb.fortran/subarray.exp: New testcase to test the evaluation
...
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
2005-09-20 06:37:03 +00:00
Daniel Jacobowitz
c761af65c2
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
...
copyright dates.
2005-09-19 18:09:08 +00:00
Paul Gilliam
561d7a1d04
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
...
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
2005-09-19 17:38:04 +00:00
Paul Gilliam
b2b64cc92a
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
2005-09-13 23:13:50 +00:00
Paul Gilliam
6ac4d15a41
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
2005-09-13 22:07:05 +00:00
Bob Rossi
40e55befbf
2005-09-11 Bob Rossi <bob@brasko.net>
...
* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
commands that return an MI output command and an asyncronous MI output
command.
* gdb.mi/mi-console.exp: Ditto.
2005-09-11 20:24:54 +00:00
Bob Rossi
3c7385ece0
2005-09-11 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-var-child.c: Include <string.h>.
2005-09-11 12:50:45 +00:00
Daniel Jacobowitz
a6cd0eb35d
* killed.exp: Correct gdb_expect syntax.
2005-09-10 14:17:34 +00:00
Corinna Vinschen
2f168eed4b
* lib/mi-support.exp (mi_gdb_load): Fix typo.
2005-08-09 19:00:16 +00:00
Bob Rossi
ecd3fd0f9d
2005-08-02 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
(test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
Change tests to inferior-tty-set/show.
* gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
(47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
* gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
inferior. Use mi_gdb_test to get GDB and Inferior output.
* lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
descriptor.
(mi_inferior_tty_name): Add inferior PTY file name.
(mi_gdb_start): Add INFERIOR_PTY parameter.
(mi_gdb_test): Add IPATTERN parameter.
2005-08-04 01:52:31 +00:00
Bob Rossi
f1ea48cbd9
2005-08-02 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
parameter to mi_gdb_test.
* lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-08-02 14:21:01 +00:00
Daniel Jacobowitz
6e650a6732
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
...
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.
2005-07-31 22:10:53 +00:00
Daniel Jacobowitz
8be260b6f9
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
...
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.
2005-07-31 21:24:25 +00:00
Nick Roberts
d8d83e9b52
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
...
(do_children_tests): Assign values to the extra elements.
* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".
* gdb.mi/basics.c (callee4): Add integer array D[3]...
* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values" Improve doc strings and
comments.
2005-07-27 02:21:16 +00:00
Nick Roberts
4e660f0729
*** empty log message ***
2005-07-27 02:18:24 +00:00
Mark Kettenis
598b7a6f2b
* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
...
*-*-openbsd*.
* gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2005-07-18 19:23:54 +00:00
Mark Kettenis
6bdae935ab
* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
...
sigaltsatck'.
2005-07-18 08:12:03 +00:00
Bob Rossi
1323e929ae
+2005-07-14 Bob Rossi <bob@brasko.net>
...
+
+ * gdb.base/default.exp (tty): Changed output of command.
+ * gdb.base/help.exp (help tty): Ditto.
2005-07-14 14:49:23 +00:00
Mark Kettenis
b1a9c08259
* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
2005-07-12 15:20:00 +00:00
Mark Kettenis
10a844a290
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
...
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-07-10 20:49:38 +00:00
Bob Rossi
3cb3b8dfd1
Index: gdb/ChangeLog
...
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Wu Zhou
a0c5fbcf0e
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
...
tests to evaluate exponentiation expression.
2005-07-06 06:11:54 +00:00
Andreas Schwab
984971d0d4
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
...
main to avoid warnings.
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-29 15:01:49 +00:00
Nick Roberts
1ed91682d1
(test_stack_locals_listing): Remove test for -stack-select-frame without
...
arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-06-20 03:38:20 +00:00
Nick Roberts
fe03833f9a
*** empty log message ***
2005-06-20 03:37:15 +00:00
Daniel Jacobowitz
0ffa0ea5bc
Correct a typo.
2005-06-18 00:56:23 +00:00
Wu Zhou
7a55f27940
* gdb.fortran/array_element.f: New file.
...
* gdb.fortran/array_element.exp: New testcase.
2005-06-17 05:18:12 +00:00
Daniel Jacobowitz
26585198a1
* gdb.base/bigcore.exp: Correct checks for systems which can
...
not dump a large core file.
2005-06-13 18:11:01 +00:00
Daniel Jacobowitz
c1bd25fd1d
gdb/
...
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
2005-06-13 16:15:40 +00:00
Daniel Jacobowitz
589e074d2e
gdb/
...
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.
2005-06-13 02:41:51 +00:00
Joel Brobecker
0915f927ad
* gdb.arch/alpha-step.c: New file.
...
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 01:58:53 +00:00
Daniel Jacobowitz
76ff342d25
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
...
Dennis Brueni <dennis@slickedit.com>
gdb/
* stack.c (print_frame): In MI mode, output a fullname attribute
with the stack frame.
gdb/doc/
* gdb.texinfo (GDB/MI Breakpoint Table Commands)
(GDB/MI Data Manipulation, GDB/MI Program Control)
(GDB/MI Stack Manipulation): Update examples to include the fullname
attribute in stack frames.
gdb/testsuite/
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 03:41:59 +00:00
Daniel Jacobowitz
96b0c7acfe
* gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
...
IBM's xlc compiler.
* gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
* gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2005-05-18 01:38:46 +00:00
Jim Blandy
f1e6ae7c1d
Revert accidentally committed change.
2005-05-13 17:37:43 +00:00
Jim Blandy
f21565d2ff
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.
2005-05-13 17:36:43 +00:00
Bob Rossi
6006a3a1ec
Add the fullname_syntax testsuite variable. This allows GDB to make sure
...
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
2005-05-08 13:42:04 +00:00
Daniel Jacobowitz
c3b69c04b9
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2005-05-04 21:21:42 +00:00
Paul Gilliam
3c95e6af3b
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
Jim Blandy
78df6c563d
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Daniel Jacobowitz
1690f9cfba
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
...
Slightly relax "sem_post" name checking.
2005-04-30 19:56:47 +00:00
Paul Gilliam
5ea106f753
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-29 21:08:24 +00:00
Paul Gilliam
bf7234cff8
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
2005-04-29 20:45:32 +00:00
Corinna Vinschen
547b869acd
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
...
* gdb.asm/h8300.inc: New file.
2005-04-29 14:22:28 +00:00
Paul Gilliam
f07e55f031
2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
2005-04-28 23:21:22 +00:00
Paul Gilliam
3cbba3d1cd
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
2005-04-28 23:04:28 +00:00
Paul Gilliam
ed6df20042
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
and use test_compiler_info instead of gcc_compiled.
2005-04-28 22:31:33 +00:00
Paul Gilliam
8c8f4ebeff
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright.
2005-04-27 21:45:16 +00:00
Daniel Jacobowitz
607fbc543c
* ChangeLog: Correct some 2003-01-13 dates.
...
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
2005-04-27 16:35:15 +00:00
Daniel Jacobowitz
57bf0e56f8
* lib/gdb.exp (gdb_compile): Handle shlib=.
...
(gdb_compile_shlib): New function.
2005-04-14 19:06:19 +00:00
Paul Gilliam
9b59379032
2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (test_compiler_info): Give argument a default value.
2005-04-12 20:14:35 +00:00
Daniel Jacobowitz
9494c6a5dc
gdb/
...
* config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
gdb/testsuite/
* Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
gdb.server.
* configure.ac: Likewise.
* configure: Regenerated.
* gdb.gdbserver/Makefile.in: Moved to...
* gdb.server/Makefile.in: ... here.
* gdb.gdbserver/server.c: Moved to...
* gdb.server/server.c: ... here.
* gdb.gdbserver/server-run.exp: Moved to...
* gdb.server/server-run.exp: ... here.
2005-04-11 14:13:14 +00:00
Daniel Jacobowitz
6f8eac0e51
gdb/testsuite/
...
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
* configure.ac: Create gdb.gdbserver/Makefile.
* configure: Regenerated.
* lib/gdbserver-support.exp: New file, derived from
config/gdbserver.exp.
* config/gdbserver.exp: Use gdbserver-support.exp.
* gdb.gdbserver/Makefile.in: New file.
* gdb.gdbserver/server.c: New file.
* gdb.gdbserver/server-run.exp: New file.
gdb/
* config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
2005-04-08 12:57:00 +00:00
Paul Gilliam
6e87504dd4
test_compiler_info: Return compiler_info if no arguments are given.
2005-04-06 21:38:48 +00:00
Paul Gilliam
d1779be45e
* gdb.arch/altivec-abi.exp: Check for compiler and set
...
use altivec' flag accordingly.
* gdb.arch/altivec-regs.exp: Likewise.
2005-04-01 18:43:22 +00:00
Daniel Jacobowitz
8875030493
* c-valprint.c (c_value_print): Fix up some formatting. Use
...
check_typedef.
testsuite/
* gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-29 20:37:19 +00:00
Andreas Schwab
f3fb768d95
* gdb.base/bigcore.c (main): Add missing mode argument in open
...
call.
2005-03-27 00:18:55 +00:00
Daniel Jacobowitz
7e813ac51f
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
...
downloads.
* config/gdbserver.exp (gdb_load): Likewise.
2005-03-25 20:38:55 +00:00
Paul Brook
8e3049aa8c
2005-03-14 Paul Brook <paul@codesourcery.com>
...
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.
2005-03-14 15:42:52 +00:00
Joel Brobecker
a9df7c4413
* gdb.dwarf2/dup-psym.S: New file.
...
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-09 05:58:45 +00:00
Joel Brobecker
9f0d94e893
* gdb.ada/exec_changed/first.adb: New file.
...
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
2005-03-08 22:19:15 +00:00
Nathan Sidwell
36e9969cac
* ax-gdb.c (gen_expr): Add UNOP_PLUS case.
...
* c-exp.y (exp): Add unary plus.
* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
* valarith.c (value_x_unop): Add UNOP_PLUS case.
(value_pos): New.
* value.h (value_pos): Declare.
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
2005-03-08 14:35:20 +00:00
Nathan Sidwell
5f579bc5f9
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
...
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 10:12:21 +00:00
Corinna Vinschen
be46087ebc
* gdb.asm/asm-source.exp: Add iq2000 case.
...
* gdb.asm/iq2000.inc: New file.
2005-03-08 08:59:17 +00:00
Manoj Iyer
384e1a6106
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
...
* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.
2005-03-07 21:37:25 +00:00
Daniel Jacobowitz
584b6e9e37
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
...
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2005-03-07 21:16:50 +00:00
Paul Gilliam
c4d88f87b7
fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
...
but for get_compiler_info, line must start with 'set'.
2005-03-07 18:57:57 +00:00
Mark Kettenis
ab5b5d6168
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
...
changes.
2005-03-05 13:31:26 +00:00
Paul Gilliam
ae051c1bca
2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/compiler.c: Add test for IBM's xlc compiler.
* lib/compiler.cc: Likewise.
2005-03-04 17:35:46 +00:00
Joel Brobecker
3f0f6ed2e8
* gdb.ada/fixed_points.exp: Create compilation object directory
...
before running the test.
* gdb.ada/null_record.exp: Likewise.
* gdb.ada/packed_array.exp: Likewise.
* gdb.ada/start.exp: Likewise.
2005-02-24 23:54:03 +00:00
Joel Brobecker
724f452bdd
* gdb.ada/packed_array/pa.adb: New file.
...
* gdb.ada/packed_array.exp: New testcase.
2005-02-15 15:35:26 +00:00
Mark Kettenis
57f5cdfb56
Fix my email address in last commit.
2005-02-11 04:15:55 +00:00
Mark Kettenis
1f39315167
* gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
...
files.
2005-02-11 04:12:19 +00:00
Mark Kettenis
ebdda33727
* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
...
on *-*-openbsd*. Correctly match whitespace in regukar
expressions.
2005-02-11 04:01:01 +00:00
Daniel Jacobowitz
cf309262d9
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
...
PR exp/1821
* cp-valprint.c: Include "language.h".
(cp_print_value_fields): Pass the current language to
fprintf_symbol_filtered.
* Makefile.in (cp-valprint.o): Update dependencies.
testsuite/
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* gdb.base/gdb1821.c: New test file.
* gdb.base/gdb1821.exp: New test file.
2005-02-10 18:15:44 +00:00
Joel Brobecker
3be49e7a08
* gdb.base/start.c: New file.
...
* gdb.base/start.exp: New testcase.
2005-02-09 19:58:23 +00:00
Joel Brobecker
e292e67d52
* gdb.ada/start/dummy.adb: New file.
...
* gdb.ada/start.exp: New testcase.
2005-02-09 19:38:01 +00:00
Corinna Vinschen
dbdfa66c30
* maint.exp: Raise timeout to give Cygwin targeted GDBs more time
...
for printing symbols and statistics.
Add test for using relative pathnames in "maint print msymbols" test.
Mark "maint info sections DATA" XFAIL on Cygwin.
Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
tests.
2005-02-09 16:45:39 +00:00
Andrew Cagney
d79416713d
2005-02-09 Andreas Schwab <schwab@suse.de>
...
Committed by Andrew Cagney <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.
2005-02-09 14:54:24 +00:00
Mark Kettenis
74e5ef4498
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
2005-02-07 02:39:45 +00:00
Joel Brobecker
464dd14d58
* gdb.ada/gnat_ada.gpr: New file.
...
* gdb.ada/gnat_ada.gin: Delete, no longer used.
* lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
* configure.ac: No longer generate gnat_ada.gpr.
* configure: Regenerate.
* gdb.ada/Makefile.in: Minor adaptations due to new project file.
* gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
* gdb.ada/null_record/bar.ads: Likewise.
* gdb.ada/null_record/bar.adb: Likewise.
* gdb.ada/fixed_points/fixed_points.adb: Likewise.
* gdb.ada/null_record.exp (testdir): New variable.
(testfile): executable is now in testdir subdirectory.
(srcfile): Use full path to the main compilation unit.
* gdb.ada/fixed_points.exp: Same changes as above.
2005-02-03 03:58:53 +00:00
Nick Roberts
1b9afc0454
New test for interpreter-exec command.
2005-02-02 21:12:03 +00:00
Nick Roberts
30d756aee6
*** empty log message ***
2005-02-02 21:09:13 +00:00
Andrew Cagney
9d799f85e0
Index: ChangeLog
...
2005-01-24 Andrew Cagney <cagney@gnu.org>
* infrun.c (handle_inferior_event): Handle back-to-back and nested
signals where the step_resume_breakpoint may have already been
inserted.
Index: testsuite/ChangeLog
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2005-01-24 22:00:59 +00:00
Andrew Cagney
a892c31bde
2005-01-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.stabs/Makefile.in (Makefile): Update dependencies -
configure.ac not configure.in.
2005-01-19 18:40:12 +00:00
Andrew Cagney
1565611803
2005-01-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
of powerpc*-*-*.
* gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
* gdb.base/list.exp (test_list_function)
(test_list_filename_and_function): Ditto.
* gdb.base/callfuncs.exp (do_function_calls): Ditto.
2005-01-19 16:57:48 +00:00
Andrew Cagney
17d92a0219
2005-01-16 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-script.c: Include "exceptions.h".
(struct wrapped_read_command_file_args): Define.
(wrapped_read_command_file): New function.
(script_from_file): Replace direct call to read_command_file by
one wrapped by an exception handler.
* exceptions.c (throw_it): Free the old message after creating the
new.
* Makefile.in: Update dependencies.
Index: testsuite/ChangeLog
2005-01-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2005-01-16 21:20:06 +00:00
Andrew Cagney
a7b01baf32
2005-01-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2005-01-16 20:30:18 +00:00
Andrew Cagney
bc8332bb44
Index: ChangeLog
...
2005-01-14 Andrew Cagney <cagney@gnu.org>
* varobj.c (varobj_create): Add missing \n.
Index: testsuite/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
* gdb.mi/mi2-var-cmd.exp: Ditto.
2005-01-14 18:17:20 +00:00
Corinna Vinschen
4d074752ec
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2005-01-10 15:58:23 +00:00
Andrew Cagney
bec39cab00
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07 21:53:26 +00:00
Andrew Cagney
3ace7edba4
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 15:17:01 +00:00
Jim Blandy
f10b16d41f
* gdb.threads/linux-dp.exp: Fix output regexp to handle output
...
under NPTL when there is debugging info available for libpthread.
2004-12-15 18:28:54 +00:00
Jerome Guitton
fb6e181400
* gdb.ada/fixed_points.c: New file.
...
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Randolph Chung
fe46cd3ab5
2004-12-03 Randolph Chung <tausq@debian.org>
...
* gdbarch.sh (instruction_nullified): Delete.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is
nullified.
(hppa_unwind_pc): Likewise.
(hppa_instruction_nullified): Delete.
(hppa_gdbarch_init): Don't set instruction_nullified method.
* infrun.c (infwait_states): Remove infwait_nullified_state.
(handle_inferior_event): Remove handling of infwait_nullified_state.
Remove handling of nullified instructions.
testsuite/
* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.
2004-12-03 23:59:53 +00:00
Randolph Chung
8de0841b1c
2004-11-30 Randolph Chung <tausq@debian.org>
...
* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
instead of "tbug". Fix regexp to work properly with gdb_test.
2004-12-01 06:56:21 +00:00
Paul N. Hilfinger
c817078231
* gdb.base/bitfields2.exp: New test.
...
* gdb.base/bitfields2.c: New file.
2004-11-29 09:11:20 +00:00
Richard Earnshaw
954269c2f7
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2004-11-28 23:17:33 +00:00
Randolph Chung
0107feeddf
2004-11-16 Randolph Chung <tausq@debian.org>
...
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2004-11-23 19:51:35 +00:00
Daniel Jacobowitz
f073ae8c82
* gdb.threads/threadapply.exp: Correct "macro details" test.
2004-11-14 18:45:17 +00:00
Jeff Johnston
19ad59e76a
2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/threadapply.exp: New test.
* gdb.threads/threadapply.c: New file.
2004-11-11 21:37:24 +00:00
Mark Kettenis
9cf0961bb8
* gdb.base/savedregs.exp: Correct pattern used for sigtramp
...
frames.
2004-11-07 16:47:57 +00:00
Felix Lee
c789492af8
2004-11-05 Felix Lee <felix+log1@specifixinc.com>
...
* gdb.base/cursal.exp: New file.
* gdb.base/cursal.c: New file.
2004-11-05 08:53:19 +00:00
Andrew Cagney
a1e167bbea
2004-11-03 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2004-11-03 14:46:18 +00:00
Mark Kettenis
b7cbf173ac
* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
...
NetBSD/ELF targets.
2004-10-30 21:49:30 +00:00
Joel Brobecker
88f9d34f0c
* gdb.threads/bp_in_thread.c: New file, copied from
...
pthread_cond_wait.c.
* gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
file, rather than reusing the .c file from another testcase.
2004-10-29 21:35:20 +00:00
Joel Brobecker
ca7d6a0cb5
* gdb.ada/null_record.exp: Check where we stopped after
...
sending the start command, instead of where the associated
temporary breakpoint was inserted.
2004-10-21 03:55:08 +00:00
Andrew Cagney
d40539a4fa
Fix changelog (but not mine :-)
2004-10-14 19:15:24 +00:00
Andrew Cagney
0d863d0396
2004-10-14 Andrew Cagney <cagney@gnu.org>
...
* gdb.mi/gdb701.c (main): Return 0.
2004-10-14 19:13:24 +00:00
Daniel Jacobowitz
d11e72cb08
* dw2-intercu.S, dw2-intercu.exp: New files.
2004-10-13 19:07:11 +00:00
Jeff Johnston
e1923096a1
2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/schedlock.c: Add comment markers to use to find
line numbers.
* gdb.threads/schedlock.exp: Adjust regex to handle the new
comments.
* gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
breakpoint lines.
2004-10-12 22:49:17 +00:00
Daniel Jacobowitz
ec8ba2c9a1
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
2004-10-12 15:55:06 +00:00
Daniel Jacobowitz
0eb3658b8f
* configure.in: Add gdb.dwarf2.
...
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.
2004-10-12 14:41:42 +00:00
Orjan Friberg
a271cc337c
2004-10-11 Orjan Friberg <orjanf@axis.com>
...
* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets. Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.
2004-10-11 12:22:33 +00:00
Michael Chastain
895ce074f7
2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/overlays.exp: Update copyright years.
2004-10-08 18:19:18 +00:00