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.
This commit is contained in:
parent
01b088bc51
commit
b1ffba5a7f
4 changed files with 29 additions and 10 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue