aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-11-16 15:36:21 +0000
committerNick Clifton <nickc@redhat.com>2007-11-16 15:36:21 +0000
commite2a0d921a7260f99b9e9f90a0bf5127563569996 (patch)
treeae8730272aa5ca9c650e74d0ff82c5f837cde2cc /include
parent62d7f7907a0bf920c00bad1b8de46818e38ef243 (diff)
downloadgdb-e2a0d921a7260f99b9e9f90a0bf5127563569996.zip
gdb-e2a0d921a7260f99b9e9f90a0bf5127563569996.tar.gz
gdb-e2a0d921a7260f99b9e9f90a0bf5127563569996.tar.bz2
* dwarf2.h: Mention the location of the DWARF3 spec on the web.
(DW_AT_stride_size): Rename to DW_AT_bit_stride. (DW_AT_stride): Rename to DW_AT_byte_stride. * dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops. Mention if an unknown op code is in the user defined range. (decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators. (read_and_display_attr): Correct list of attributes which can reference a location list. (read_and_display_attr_value): Add cases for DWARF3 values and HP extensions. Correct list of attributes which can reference a location list. (get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/dwarf2.h9
2 files changed, 12 insertions, 3 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index fdce868..fe6134d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-16 Nick Clifton <nickc@redhat.com>
+
+ * dwarf2.h: Mention the location of the DWARF3 spec on the web.
+ (DW_AT_stride_size): Rename to DW_AT_bit_stride.
+ (DW_AT_stride): Rename to DW_AT_byte_stride.
+
2007-11-08 Nathan Sidwell <nathan@codesourcery.com>
* vxworks.h: New.
diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h
index 2683f51..8b6e628 100644
--- a/include/elf/dwarf2.h
+++ b/include/elf/dwarf2.h
@@ -33,7 +33,8 @@
by UNIX International. Copies of this specification are available from
UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054.
- This file also now contains definitions from the DWARF 3 specification. */
+ This file also now contains definitions from the DWARF 3 specification
+ published Dec 20, 2005, available from: http://dwarf.freestandards.org. */
/* This file is shared between GCC and GDB, and should not contain
prototypes. */
@@ -275,7 +276,8 @@ enum dwarf_attribute
DW_AT_prototyped = 0x27,
DW_AT_return_addr = 0x2a,
DW_AT_start_scope = 0x2c,
- DW_AT_stride_size = 0x2e,
+ DW_AT_bit_stride = 0x2e,
+#define DW_AT_stride_size DW_AT_bit_stride /* Note: The use of DW_AT_stride_size is deprecated. */
DW_AT_upper_bound = 0x2f,
DW_AT_abstract_origin = 0x31,
DW_AT_accessibility = 0x32,
@@ -310,7 +312,8 @@ enum dwarf_attribute
DW_AT_allocated = 0x4e,
DW_AT_associated = 0x4f,
DW_AT_data_location = 0x50,
- DW_AT_stride = 0x51,
+ DW_AT_byte_stride = 0x51,
+#define DW_AT_stride DW_AT_byte_stride /* Note: The use of DW_AT_stride is deprecated. */
DW_AT_entry_pc = 0x52,
DW_AT_use_UTF8 = 0x53,
DW_AT_extension = 0x54,