From b32b108aba2c0119d0e231d203d3284539da2379 Mon Sep 17 00:00:00 2001 From: Walfred Tedeschi Date: Tue, 26 Sep 2017 18:26:41 +0100 Subject: Move GDB producer parsing routines to a separate file gdb/ChangeLog: 2017-09-26 Walfred Tedeschi * 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. --- gdb/utils.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/utils.h') diff --git a/gdb/utils.h b/gdb/utils.h index 6d33e8d..7b45cc8 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -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 -- cgit v1.1