mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user