old-cross-binutils/gdb/testsuite/gdb.base
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
..
a2-run.exp 2002-05-06 Michael Snyder <msnyder@redhat.com> 2002-05-07 00:45:46 +00:00
all-bin.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
all-types.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
annota1.c import gdb-1999-11-01 snapshot 1999-11-02 04:44:47 +00:00
annota1.exp 2002-04-18 David S. Miller <davem@redhat.com> 2002-04-18 22:17:01 +00:00
arithmet.exp 2001-06-24 Michael Chastain <chastain@redhat.com> 2001-07-09 21:42:52 +00:00
assign.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
async.c import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
async.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
attach.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
attach.exp 2002-04-09 Daniel Jacobowitz <drow@mvista.com> 2002-04-09 20:48:45 +00:00
attach2.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
average.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
bar.c 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-13 00:21:40 +00:00
baz.c 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-13 00:21:40 +00:00
bitfields.c 2002-01-30 Daniel Jacobowitz <drow@mvista.com> 2002-01-30 22:38:56 +00:00
bitfields.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
bitops.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
branches.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
break.c * gdb.base/break.c (multi_line_if_conditional): New function. 2002-01-07 19:21:27 +00:00
break.exp 2002-05-12 Daniel Jacobowitz <drow@mvista.com> 2002-05-13 01:18:19 +00:00
call-ar-st.c * gdb.base/call-ar-st.c (print_double_array): Match for loop 2001-10-29 18:20:22 +00:00
call-ar-st.exp Fix PR gdb/66. 2002-01-06 14:42:39 +00:00
call-rt-st.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
call-rt-st.exp Fix PR gdb/66. 2002-01-06 14:42:39 +00:00
call-strs.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
call-strs.exp Fix PR gdb/66. 2002-01-06 14:42:39 +00:00
callfuncs.c 2001-11-26 Fernando Nasser <fnasser@redhat.com> 2001-11-26 21:29:31 +00:00
callfuncs.exp Fix PR gdb/66. 2002-01-06 14:42:39 +00:00
code-expr.exp 2001-11-14 Michael Snyder <msnyder@redhat.com> 2001-11-21 00:12:01 +00:00
commands.exp gdb/ChangeLog 2001-12-13 22:42:23 +00:00
completion.exp 2002-05-01 Fred Fish <fnf@redhat.com> 2002-05-01 15:39:32 +00:00
cond-expr.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
condbreak.exp 2001-05-19 Michael Chastain <chastain@redhat.com> 2001-05-23 19:04:13 +00:00
configure import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
configure.in import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
consecutive.c 2001-07-25 Michael Snyder <msnyder@redhat.com> 2001-07-25 23:16:40 +00:00
consecutive.exp 2001-07-25 Michael Snyder <msnyder@redhat.com> 2001-07-25 23:16:40 +00:00
constvars.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
constvars.exp * gdb.base/break.exp: Fix HP specific search string when testing 2001-12-19 21:08:45 +00:00
corefile.exp * gdb.base/corefile.exp: Recognize the message saying that GDB 2001-12-17 21:03:48 +00:00
coremaker.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
coremaker2.c import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
cvexpr.c * gdb.base/cvexpr.c (use): New function. 2002-04-18 13:21:03 +00:00
cvexpr.exp 2001-11-13 Michael Snyder <msnyder@redhat.com> 2001-11-15 02:16:59 +00:00
d10v.ld Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
d10vovly.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
dbx.exp 2002-03-30 Daniel Jacobowitz <drow@mvista.com> 2002-03-30 23:47:18 +00:00
default.exp 2002-05-08 Michael Snyder <msnyder@redhat.com> 2002-05-08 21:05:44 +00:00
define.exp 2001-05-19 Michael Chastain <chastain@redhat.com> 2001-05-23 19:04:13 +00:00
display.c * gdb.base/display.c (do_loops): Add float variable `f'. 2001-09-17 20:41:22 +00:00
display.exp * gdb.base/display.c (do_loops): Add float variable `f'. 2001-09-17 20:41:22 +00:00
dump.c 2002-03-26 Michael Snyder <msnyder@redhat.com> 2002-03-29 01:19:11 +00:00
dump.exp 2002-03-26 Michael Snyder <msnyder@redhat.com> 2002-03-29 01:19:11 +00:00
echo.exp Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
ena-dis-br.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
ending-run.c * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just 2002-01-21 18:46:33 +00:00
ending-run.exp 2002-05-06 Michael Snyder <msnyder@redhat.com> 2002-05-07 02:22:08 +00:00
environ.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
eval-skip.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
execd-prog.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
exprs.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
exprs.exp 2001-06-10 Michael Chastain <chastain@redhat.com> 2001-06-11 16:06:46 +00:00
finish.exp * gdb.base/finish.exp (finish_void): Revise pattern for 2001-05-24 01:14:15 +00:00
foll-exec.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
foll-exec.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
foll-fork.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
foll-fork.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
foll-vfork.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
foll-vfork.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
foo.c 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-13 00:21:40 +00:00
funcargs.c Checked in under the "obvious fix/typo rule". 2002-03-07 04:18:55 +00:00
funcargs.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00
gcore.c 2002-01-08 Michael Snyder <msnyder@redhat.com> 2002-01-09 00:37:41 +00:00
gcore.exp 2002-02-14 Michael Snyder <msnyder@redhat.com> 2002-04-11 18:24:08 +00:00
gdbvars.exp import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
grbx.c 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-13 00:21:40 +00:00
help.exp 2002-04-23 Elena Zannoni <ezannoni@redhat.com> 2002-04-24 03:07:33 +00:00
huge.c s/Linux/.../ 2002-02-24 22:56:08 +00:00
huge.exp 2002-01-07 Michael Snyder <msnyder@redhat.com> 2002-01-08 01:00:10 +00:00
info-proc.exp 2002-01-04 Michael Snyder <msnyder@redhat.com> 2002-01-05 02:44:07 +00:00
int-type.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
interrupt.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
interrupt.exp * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such 2001-10-29 17:38:11 +00:00
jump.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
jump.exp 2001-10-30 Michael Snyder <msnyder@redhat.com> 2001-10-31 02:40:24 +00:00
langs.exp import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
langs0.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
langs1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
langs1.f Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
langs2.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
langs2.cxx Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
list.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00
list0.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
list0.h import gdb-1999-07-12 snapshot 1999-07-12 11:15:22 +00:00
list1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
logical.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
long_long.c import gdb-1999-08-09 snapshot 1999-08-09 21:36:23 +00:00
long_long.exp 2002-05-10 Michael Snyder <msnyder@redhat.com> 2002-05-10 23:43:04 +00:00
m32r.ld Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
m32rovly.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
maint.exp 2002-05-14 Daniel Jacobowitz <drow@mvista.com> 2002-05-14 18:30:53 +00:00
Makefile.in Add new step-line test. 2001-03-27 01:32:45 +00:00
mips_pro.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
mips_pro.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
miscexprs.c * gdb.base/miscexprs.c (main): Add usage of preprocessor 2001-10-31 20:59:22 +00:00
miscexprs.exp * gdb.base/miscexprs.c (main): Add usage of preprocessor 2001-10-31 20:59:22 +00:00
nodebug.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
nodebug.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
opaque.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00
opaque0.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
opaque1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
overlays.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
overlays.exp 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-13 00:21:40 +00:00
ovlymgr.c 2002-04-04 Michael Snyder <msnyder@redhat.com> 2002-04-04 19:48:09 +00:00
ovlymgr.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
page.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
pointers.c 2001-02-26 Orjan Friberg <orjanf@axis.com> 2001-03-07 17:21:43 +00:00
pointers.exp 2001-02-26 Orjan Friberg <orjanf@axis.com> 2001-03-07 17:21:43 +00:00
printcmds.c 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> 2000-03-27 17:34:48 +00:00
printcmds.exp * gdb.base/printcmds.exp: Don't xfail the ptype command. This is 2002-05-10 20:25:26 +00:00
ptype.c * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing 2002-02-21 20:34:16 +00:00
ptype.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00
radix.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
recurse.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
recurse.exp * gdb.base/recurse.exp: When checking leaving the watchpoint 2001-09-19 08:21:17 +00:00
regs.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
relational.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
relocate.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-05 02:45:48 +00:00
relocate.exp 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-05 02:45:48 +00:00
remote.c 2001-08-30 Jeff Holcomb <jeffh@redhat.com> 2001-09-03 19:54:33 +00:00
remote.exp * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K 2001-07-17 21:47:19 +00:00
reread.exp 2002-02-14 Daniel Jacobowitz <drow@mvista.com> 2002-02-14 06:25:19 +00:00
reread1.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
reread2.c Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
restore.c * restore.c: Make the code of caller0 correspond to its comment. 2001-05-07 00:05:15 +00:00
restore.exp 2002-01-21 Fred Fish <fnf@redhat.com> 2002-01-22 01:05:06 +00:00
return.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
return.exp * gdb.base/return2.exp: return of long long and double fails for 2001-07-16 18:49:43 +00:00
return2.c * gdb.base/return2.exp (main): Use values to test float and double 2001-06-07 03:42:41 +00:00
return2.exp * gdb.base/return2.exp: return of long long and double fails for 2001-07-16 18:49:43 +00:00
run.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
scope.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00
scope0.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
scope1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
sect-cmd.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
selftest.exp * gdb.base/selftest.exp (backtrace through signal handler): Remove 2002-01-07 19:20:10 +00:00
setshow.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
setshow.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
setvar.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
setvar.exp * gdb.base/printcmds.exp: Expect the null character to be printed 2001-12-19 06:29:45 +00:00
shlib-call.exp * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need 2002-04-18 21:07:20 +00:00
shmain.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
shr1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
shr2.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
sigall.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
sigall.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
signals.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
signals.exp 2001-03-16 Orjan Friberg <orjanf@axis.com> 2001-03-16 08:57:44 +00:00
sizeof.c * gdb.base/sizeof.c (main): Call fill_structs. Print value of 2002-02-21 01:55:05 +00:00
sizeof.exp * gdb.base/sizeof.c (main): Call fill_structs. Print value of 2002-02-21 01:55:05 +00:00
so-impl-ld.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
so-impl-ld.exp * gdb.base/so-impl-ld.exp: Remove stray space that prevented 2001-07-12 13:07:32 +00:00
so-indr-cl.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
so-indr-cl.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
solib.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
solib.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
solib1.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
solib2.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
ss.h Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
step-line.c Add new step-line test. 2001-03-27 01:32:45 +00:00
step-line.exp Add new step-line test. 2001-03-27 01:32:45 +00:00
step-line.inp Add new step-line test. 2001-03-27 01:32:45 +00:00
step-test.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
step-test.exp 2002-04-04 Fred Fish <fnf@redhat.com> 2002-04-05 00:30:09 +00:00
structs.c Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
structs.exp * gdb.base/selftest.exp (backtrace through signal handler): Remove 2002-01-07 19:20:10 +00:00
structs2.c 2000-04-10 Fernando Nasser <fnasser@cygnus.com> 2000-04-10 14:14:54 +00:00
structs2.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
sum.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
term.exp 2002-02-14 Daniel Jacobowitz <drow@mvista.com> 2002-02-14 06:25:19 +00:00
twice.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
twice.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
varargs.c 2001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com> 2001-02-28 01:54:47 +00:00
varargs.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
vforked-prog.c import gdb-1999-06-28 snapshot 1999-06-28 23:04:32 +00:00
volatile.exp * gdb.base/break.exp: Fix HP specific search string when testing 2001-12-19 21:08:45 +00:00
watchpoint.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
watchpoint.exp 2002-05-02 Michael Snyder <msnyder@redhat.com> 2002-05-03 23:16:44 +00:00
whatis-exp.exp Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
whatis.c import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
whatis.exp * gdb.base/default.exp: Remove obsolete code. 2002-05-04 15:18:21 +00:00