diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-01-20 19:12:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-01-20 19:12:23 +0000 |
commit | 2bdbd424bf807072d1e0ceda73b3dea8935ea94d (patch) | |
tree | df88c1401f0441cade6af408c1628a3775a9674c /gdb/dwarf2read.c | |
parent | 3d891f56c452ff2c5e704e83280decde41c6d560 (diff) | |
download | gdb-2bdbd424bf807072d1e0ceda73b3dea8935ea94d.tar.gz |
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 785acc24ca7..b0b401ee373 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 = |