aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-09 19:41:14 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-09 19:41:14 +0000
commitdf15bd07dfd59a5176e0fa7699ab1179205491d9 (patch)
tree7ff7b013450ce8006dc803be209e036bc4a5f693 /gdb/defs.h
parentddf17726b28e169d5ec0252a777a9c528c6a772f (diff)
downloadbinutils-df15bd07dfd59a5176e0fa7699ab1179205491d9.zip
binutils-df15bd07dfd59a5176e0fa7699ab1179205491d9.tar.gz
binutils-df15bd07dfd59a5176e0fa7699ab1179205491d9.tar.bz2
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 d31e019..d8129b8 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 *);