diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-01-20 19:12:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-01-20 19:12:23 +0000 |
commit | 8176bb6dee95680ff93a522d0d4d114a91afc466 (patch) | |
tree | 3a50a8698c8e5fa16cf2c9dda9c9953c3f4f6dbf /gdb/dwarf2read.c | |
parent | 7fd605275856aa86a4ac6651ea2686fb937eb0a7 (diff) | |
download | gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.zip gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.tar.gz gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.tar.bz2 |
2002-01-15 Daniel Jacobowitz <drow@mvista.com>
* gdbtypes.h (struct type): Fix whitespace. Remove obsolete
comment. Add ``artificial'' to ``union field_location''.
* dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
* buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
* hp-symtab-read.c (hpread_function_type): Likewise, instead of
initializing TYPE_FIELD_BITPOS to n (obsolete).
(hpread_doc_function_type): Likewise.
* hpread.c (hpread_function_type): Likewise.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 785acc2..b0b401e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -474,13 +474,6 @@ struct field_info int nfnfields; }; -/* Dwarf2 has no clean way to discern C++ static and non-static member - functions. G++ helps GDB by marking the first parameter for non-static - member functions (which is the this pointer) as artificial. - We pass this information between dwarf2_add_member_fn and - read_subroutine_type via TYPE_FIELD_ARTIFICIAL. */ -#define TYPE_FIELD_ARTIFICIAL TYPE_FIELD_BITPOS - /* Various complaints about symbol reading that don't abort the process */ static struct complaint dwarf2_const_ignored = |