diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-05-04 00:02:50 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-05-04 00:02:50 +0000 |
commit | 2ae1c2d22252e6ac448c9e5fe11d7cd8701284e3 (patch) | |
tree | 69815d84902a0fbb1c0e9da5884bed811bcce7ea /gdb/m68klinux-nat.c | |
parent | ae0c415a5cfa89517a78c9c40e45a819f5a0b16c (diff) | |
download | gdb-2ae1c2d22252e6ac448c9e5fe11d7cd8701284e3.zip gdb-2ae1c2d22252e6ac448c9e5fe11d7cd8701284e3.tar.gz gdb-2ae1c2d22252e6ac448c9e5fe11d7cd8701284e3.tar.bz2 |
* stabsread.c (multiply_defined_struct): New complaint.
(read_struct_type): If the type we were passed isn't empty, or
incomplete, don't read the new struct type into it; complain,
and return the original type unchanged. Take a new `type_code'
argument, which is the type code for the new type.
(read_type): Rather than storing the type's type code here, pass
it as an argument to read_struct_type, and let that take care of
storing it. That way, we don't overwrite the original type code,
so read_struct_type can use it to decide whether we're overwriting
something we shouldn't.
(complain_about_struct_wipeout): New function.
Diffstat (limited to 'gdb/m68klinux-nat.c')
0 files changed, 0 insertions, 0 deletions