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/hp-symtab-read.c | |
parent | Remove assumption that there is a host. (diff) | |
download | binutils-gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.tar.gz binutils-gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.tar.bz2 binutils-gdb-8176bb6dee95680ff93a522d0d4d114a91afc466.zip |
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/hp-symtab-read.c')
-rw-r--r-- | gdb/hp-symtab-read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hp-symtab-read.c b/gdb/hp-symtab-read.c index 57665ffff37..15320df45d7 100644 --- a/gdb/hp-symtab-read.c +++ b/gdb/hp-symtab-read.c @@ -965,7 +965,7 @@ hpread_read_function_type (dnttpointer hp_type, union dnttentry *dn_bufp, struct symbol *xsym = syms->symbol[j]; TYPE_FIELD_NAME (type, n) = SYMBOL_NAME (xsym); TYPE_FIELD_TYPE (type, n) = SYMBOL_TYPE (xsym); - TYPE_FIELD_BITPOS (type, n) = n; + TYPE_FIELD_ARTIFICIAL (type, n) = 0; TYPE_FIELD_BITSIZE (type, n) = 0; } } @@ -1138,7 +1138,7 @@ hpread_read_doc_function_type (dnttpointer hp_type, union dnttentry *dn_bufp, struct symbol *xsym = syms->symbol[j]; TYPE_FIELD_NAME (type, n) = SYMBOL_NAME (xsym); TYPE_FIELD_TYPE (type, n) = SYMBOL_TYPE (xsym); - TYPE_FIELD_BITPOS (type, n) = n; + TYPE_FIELD_ARTIFICIAL (type, n) = 0; TYPE_FIELD_BITSIZE (type, n) = 0; } } |