Move GDB producer parsing routines to a separate file
gdb/ChangeLog: 2017-09-26 Walfred Tedeschi <walfred.tedeschi@intel.com> * Makefile.in (SFILES): Add producer.c. (COMMON_OBS): Add producer.o * amd64-tdep.c (producer.h): Add new include. * dwarf2read.c (producer.h): Add new include. * producer.c: New file. * producer.h: New file. * utils.c (producer_is_gcc, producer_is_gcc_ge_4): Move to producer.c. * utils.h (producer_is_gcc, producer_is_gcc_ge_4): Move to producer.h.
This commit is contained in:
parent
75352e283f
commit
b32b108aba
8 changed files with 123 additions and 57 deletions
|
@ -442,9 +442,6 @@ void dummy_obstack_deallocate (void *object, void *data);
|
|||
extern pid_t wait_to_die_with_timeout (pid_t pid, int *status, int timeout);
|
||||
#endif
|
||||
|
||||
extern int producer_is_gcc_ge_4 (const char *producer);
|
||||
extern int producer_is_gcc (const char *producer, int *major, int *minor);
|
||||
|
||||
extern int myread (int, char *, int);
|
||||
|
||||
/* Ensure that V is aligned to an N byte boundary (B's assumed to be a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue