summaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-01-04 20:26:42 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-01-04 20:26:42 +0000
commit9b2e4af9730b40dcda125c37a4217b2a2bd94fff (patch)
tree850571654a5c11cc73728486f1fde6b32901acd6 /gdb/buildsym.h
parent46a074feb5f7d469fae466f5375978ccb6d0a6f7 (diff)
downloadgdb-9b2e4af9730b40dcda125c37a4217b2a2bd94fff.tar.gz
* buildsym.c (start_subfile): Handle producer.
(record_producer): New function. * buildsym.h (struct subfile): Include producer. (record_producer): New prototype. * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and armcc_cfa_offsets_reversed. (execute_cfa_program): Handle armcc_cfa_offsets_sf. (dwarf2_frame_find_quirks): New function. (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. (decode_frame_entry_1): Record the CIE version. Record the augmentation. Skip armcc augmentations. * dwarf2read.c (read_file_scope): Save the producer. * symtab.h (struct symtab): Rename unused version member to producer.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 8b8ee89d22b..3b4fee68c3a 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -68,6 +68,7 @@ struct subfile
struct linetable *line_vector;
int line_vector_length;
enum language language;
+ char *producer;
char *debugformat;
};
@@ -281,6 +282,8 @@ extern void record_pending_block (struct objfile *objfile,
extern void record_debugformat (char *format);
+extern void record_producer (const char *producer);
+
extern void merge_symbol_lists (struct pending **srclist,
struct pending **targetlist);