summaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-09 19:41:13 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-09 19:41:13 +0000
commit5faec932ca3a1a153d34c0afbf0faceee1e0bfc0 (patch)
tree79a2a4d54d9a1c502236f394707c01eea427e944 /gdb/defs.h
parent09779e1e305fc14262432ecc7574c20e694c7bba (diff)
downloadgdb-5faec932ca3a1a153d34c0afbf0faceee1e0bfc0.tar.gz
gdb/
Code cleanup. * amd64-tdep.c (amd64_skip_prologue): Move the XMM code to ... (amd64_skip_xmm_prologue): ... this new function. Describe its parameters. No longer use amd64_prologue_line_bug. * defs.h (producer_is_gcc_ge_4): New declaration. * dwarf2read.c (producer_is_gcc_ge_4): Move to utils.c. (process_full_comp_unit): Update its caller. Remove amd64_prologue_line_bug initialization. * symtab.h (struct symtab): Remove field amd64_prologue_line_bug. * utils.c (producer_is_gcc_ge_4): Moved here from dwarf2read.c.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index d31e0194e34..d8129b873ca 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -431,6 +431,8 @@ extern int parse_pid_to_attach (char *args);
extern struct cleanup *make_bpstat_clear_actions_cleanup (void);
+extern int producer_is_gcc_ge_4 (const char *producer);
+
/* From demangle.c */
extern void set_demangling_style (char *);