mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
Add block_search_flags
This adds block_search_flags, a flag enum. This will be used to by certain search functions so that the caller can control which blocks are searched more precisely. gdb/ChangeLog 2021-04-17 Tom Tromey <tom@tromey.com> * quick-symbol.h (enum block_search_flag_values): New. (block_search_flags): New enum flags type.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2021-04-17 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* quick-symbol.h (enum block_search_flag_values): New.
|
||||||
|
(block_search_flags): New enum flags type.
|
||||||
|
|
||||||
2021-04-16 Tom Tromey <tom@tromey.com>
|
2021-04-16 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* rust-parse.c: New file.
|
* rust-parse.c: New file.
|
||||||
|
@ -20,6 +20,16 @@
|
|||||||
#ifndef GDB_QUICK_SYMBOL_H
|
#ifndef GDB_QUICK_SYMBOL_H
|
||||||
#define GDB_QUICK_SYMBOL_H
|
#define GDB_QUICK_SYMBOL_H
|
||||||
|
|
||||||
|
/* Like block_enum, but used as flags to pass to lookup functions. */
|
||||||
|
|
||||||
|
enum block_search_flag_values
|
||||||
|
{
|
||||||
|
SEARCH_GLOBAL_BLOCK = 1,
|
||||||
|
SEARCH_STATIC_BLOCK = 2
|
||||||
|
};
|
||||||
|
|
||||||
|
DEF_ENUM_FLAGS_TYPE (enum block_search_flag_values, block_search_flags);
|
||||||
|
|
||||||
/* Comparison function for symbol look ups. */
|
/* Comparison function for symbol look ups. */
|
||||||
|
|
||||||
typedef int (symbol_compare_ftype) (const char *string1,
|
typedef int (symbol_compare_ftype) (const char *string1,
|
||||||
|
Reference in New Issue
Block a user