Jim Blandy
919d772c55
* gdb/source.c (source_info): Mention whether the symtab has
...
information about preprocessor macros.
* gdb/testsuite/lib/gdb.exp (get_debug_format): Tolerate message
saying whether preprocessor macro information is present.
* gdb/doc/gdb.texinfo (Symbols): Update documentation for `info
source' command.
2002-06-11 20:37:05 +00:00
Jim Blandy
6827a8f8fe
* macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
...
tests.
2002-06-11 20:27:50 +00:00
Michael Snyder
c5984d7012
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/overlays.exp: Record addresses of overlay
functions in TCL variables rather than in GDB variables,
to avoid having GDB convert them to pointers (with loss
of information).
2002-06-06 20:26:10 +00:00
Michael Snyder
99a8512bd1
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/d10v.ld: Merge in several years worth of
default linker script changes.
2002-06-06 19:12:39 +00:00
Michael Snyder
c15b0d21ff
2002-06-06 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-06 19:08:18 +00:00
Michal Ludvig
be26fe0d93
2002-06-06 Michal Ludvig <mludvig@suse.cz>
...
* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.
2002-06-06 15:19:17 +00:00
Michael Chastain
4b3153f1b9
Fix formatting of "From ... " lines on recent changes
...
that I committed on behalf of others.
2002-05-31 19:45:27 +00:00
Michael Chastain
258093ca1e
2002-05-30 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.
2002-05-30 19:09:47 +00:00
Michael Snyder
241264c6a6
2002-05-28 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/call-ar-st.exp: Allow for reduced floating point
precision.
2002-05-29 02:23:20 +00:00
Michael Chastain
71ea1be0a8
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.
2002-05-27 21:46:52 +00:00
Michael Chastain
9bba8c8f34
2002-05-27 Michael Chastain <mec@shout.net>
...
From Benjamin Kosnik <bkoz@redhat.com>
* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.
2002-05-27 20:07:25 +00:00
Michael Chastain
def1b996f9
2002-05-27 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-27 18:00:14 +00:00
Michael Chastain
522ba26890
2002-05-26 Michael Chastain <mec@shout.net>
...
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-27 02:03:35 +00:00
Michael Snyder
277254ba88
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
...
* lib/gdb.exp (gdb_wrapper_init): Just because
gdb_wrapper_file exists, this does not mean that the file
should not be rebuilt. That is what gdb_wrapper_initialized
is for.
(default_gdb_init): Reset gdb_wrapper_initialized.
2002-05-23 21:25:42 +00:00
Michael Snyder
5bdb6d01db
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Revise previous patch by just reducing
the precision of the floating point test results.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 21:20:53 +00:00
Michael Snyder
b61a87338a
2002-05-23 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 15:42:44 +00:00
Michael Chastain
56f6e91079
2002-05-19 Michael Chastain <mec@shout.net>
...
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-20 05:16:53 +00:00
Elena Zannoni
ad0b001691
2002-05-17 Elena Zannoni <ezannoni@redhat.com>
...
* configure.in (configdirs): Add gdb.arch.
* configure: Regenerate.
2002-05-20 01:07:14 +00:00
Jim Blandy
f617d2b61f
* gdb.base/completion.exp: Recognize the more detailed error
...
messages produced by the macro expander's lexical analyzer.
2002-05-17 22:03:34 +00:00
Elena Zannoni
eac2a696e0
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:10:16 +00:00
Elena Zannoni
57680a243b
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:02:52 +00:00
Daniel Jacobowitz
2fdde8f831
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
...
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE.
(TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use
TYPE_INSTANCE_FLAGS.
(struct main_type): New.
(struct type): Move most members to struct main_type. Change
cv_type and as_type to new type_chain member. Add instance_flags.
(TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros.
(TYPE_CV_TYPE, TYPE_AS_TYPE): Remove.
(finish_cv_type): Remove prototype.
* gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE.
Set TYPE_CHAIN.
(alloc_type_instance): New function.
(smash_type): New function.
(make_pointer_type, make_reference_type, make_function_type)
(smash_to_member_type, smash_to_method_type): Call smash_type.
(make_qualified_type): New function.
(make_type_with_address_space): Call make_qualified_type.
(make_cv_type): Likewise.
(finish_cv_type): Remove unnecessary function.
(replace_type): Update comment. Copy TYPE_MAIN_TYPE.
(recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS;
remove TYPE_CV_TYPE and TYPE_AS_TYPE.
* c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS.
* dwarf2read.c (read_structure_scope): Don't call finish_cv_type.
* hpread.c (hpread_read_struct_type): Likewise.
* stabsread.c (read_struct_type): Likewise.
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp (maint print type): Update for new type
structure.
2002-05-14 18:30:53 +00:00
Elena Zannoni
e31f1a7cdb
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.arch: New directory.
* gdb.arch/configure.in: New file.
* gdb.arch/configure: New file.
* gdb.arch/Makefile.in: New file.
2002-05-14 17:09:13 +00:00
Corinna Vinschen
db5897415c
* gdb.asm/asm-source.exp: Add v850 as supported target.
...
* gdb.asm/v850.inc: New file.
2002-05-14 10:25:33 +00:00
Daniel Jacobowitz
8ce2a7dcda
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Daniel Jacobowitz
df763c7f5b
2002-05-12 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-13 01:18:19 +00:00
Michael Snyder
377daeed9a
2002-05-10 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Fix typo.
2002-05-10 23:43:04 +00:00
Jim Blandy
ecac9a4eaf
* gdb.base/printcmds.exp: Don't xfail the ptype command. This is
...
a bug.
2002-05-10 20:25:26 +00:00
Jim Blandy
c4b7bc2bea
* gdb.base/printcmds.exp (test_integer_literals_rejected):
...
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
2002-05-10 18:38:09 +00:00
Mark Kettenis
e71019a17f
* gdb.c++/method.exp: Fix typo.
2002-05-09 20:07:16 +00:00
Michael Snyder
166a195727
2002-05-08 Michael Snyder <msnyder@redhat.com>
...
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2002-05-09 18:29:33 +00:00
Michael Snyder
35928259ea
2002-05-09 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
2002-05-09 18:17:22 +00:00
Michael Snyder
fedfc8e665
2002-05-08 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2002-05-08 21:05:44 +00:00
Michael Snyder
cb9a9d3ed2
2002-05-06 Michael Snyder <msnyder@redhat.com>
...
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
(gdb_continue_to_end): Accept output from status wrapper.
* gdb.base/ending-run.exp: Add case for output from status wrapper.
Clean up fail messages to match pass messages.
2002-05-07 02:22:08 +00:00
Michael Snyder
f1c47eb238
2002-05-06 Michael Snyder <msnyder@redhat.com>
...
Enable the "needs_status_wrapper" testsuite feature.
* lib/gdb.exp (gdb_wrapper_init): New procedure.
(gdb_compile): Conditionally call gdb_wrapper_init.
* gdb.base/a2-run.exp: Recognize output from status wrapper.
* gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-07 00:45:46 +00:00
Ben Elliston
6079c749e1
2002-05-06 Ben Elliston <bje@redhat.com>
...
From Graydon Hoare <graydon@redhat.com>
* config/sid.exp: Include support for "rawsid" protocol.
2002-05-06 12:19:30 +00:00
Jim Blandy
188baff3f1
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
...
* gdb.c++/hang3.C: New file.
2002-05-04 20:51:16 +00:00
Andrew Cagney
b9c07f0f78
* gdb.base/default.exp: Remove obsolete code.
...
* gdb.c++/misc.exp: Ditto. Update copyright.
* gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
* gdb.base/whatis.exp: Ditto. Update copyright.
* gdb.base/scope.exp: Ditto. Update copyright.
* gdb.base/ptype.exp: Ditto. Update copyright.
* gdb.base/printcmds.exp: Ditto. Update copyright.
* gdb.base/opaque.exp: Ditto. Update copyright.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto. Update copyright.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-04 15:18:21 +00:00
Michael Snyder
d6dcc2647a
2002-05-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-03 23:16:44 +00:00
Michael Snyder
5c7a03973f
2002-05-02 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.
2002-05-03 21:25:08 +00:00
Jim Blandy
eb7f1c487a
* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
...
gdb.c++/hang.exp: New test.
2002-05-02 07:03:53 +00:00
Fred Fish
a6befae84d
2002-05-01 Fred Fish <fnf@redhat.com>
...
* gdb.base/completion.exp: Handle completions of "./Make" for
more than one completion possibility, as is the case when we
build and test in the source tree.
2002-05-01 15:39:32 +00:00
Anthony Green
0a31027751
New test cases for java support.
2002-04-29 21:33:03 +00:00
Daniel Jacobowitz
6ff9af88cb
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
...
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-24 22:11:28 +00:00
Elena Zannoni
96b3d632cb
2002-04-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/help.exp: Change 'help status' to allow for target
dependent output differences.
2002-04-24 03:07:33 +00:00
Michael Chastain
5019bb5448
2002-04-22 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-23 05:18:28 +00:00
Michael Chastain
a805a116a8
2002-04-22 Michael Chastain <mec@shout.net>
...
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-23 05:08:31 +00:00
David S. Miller
a1706bfd87
2002-04-17 David S. Miller <davem@redhat.com>
...
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni
a73a20a2d5
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-19 16:06:59 +00:00
David S. Miller
ba6783391f
2002-04-18 David S. Miller <davem@redhat.com>
...
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00