* 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.
This commit is contained in:
Daniel Jacobowitz
2007-01-04 20:26:42 +00:00
parent 2d0720d988
commit 303b6f5dea
7 changed files with 135 additions and 24 deletions

View File

@@ -846,9 +846,9 @@ struct symtab
char *debugformat;
/* String of version information. May be zero. */
/* String of producer version information. May be zero. */
char *version;
char *producer;
/* Full name of file as found by searching the source path.
NULL if not yet known. */