diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-02-04 18:14:33 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-02-10 21:20:38 +0100 |
commit | b1ffba5a7fe1eb1fb97f3e81dd5cc78b59eb1fea (patch) | |
tree | 8e4b94d03e580b3dca27cc1408540eab86e7ed4f /gdb/utils.h | |
parent | 01b088bc51fe37e07905d36547f4ea43904837c0 (diff) | |
download | gdb-b1ffba5a7fe1eb1fb97f3e81dd5cc78b59eb1fea.zip gdb-b1ffba5a7fe1eb1fb97f3e81dd5cc78b59eb1fea.tar.gz gdb-b1ffba5a7fe1eb1fb97f3e81dd5cc78b59eb1fea.tar.bz2 |
Change producer_is_gcc function return type to bool.
gdb/ChangeLog:
* utils.h (producer_is_gcc): Change return type to bool. Add major
argument.
* utils.c (producer_is_gcc): Likewise.
(producer_is_gcc_ge_4): Adjust producer_is_gcc call.
* dwarf2read.c (check_producer): Likewise.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r-- | gdb/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/utils.h b/gdb/utils.h index 6724d7c..d8afa79 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -21,6 +21,8 @@ #ifndef UTILS_H #define UTILS_H +#include <stdbool.h> + #include "exceptions.h" extern void initialize_utils (void); @@ -302,7 +304,7 @@ 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 *minor); +extern bool producer_is_gcc (const char *producer, int *major, int *minor); extern int myread (int, char *, int); |