gdb: move read{now,never}_symbol_files declarations to symfile.h
... since they are defined in symfile.c. gdb/ChangeLog: * top.h (readnow_symbol_files, readnever_symbol_files): Move declarations to ... * symfile.h: ... here. * symfile.c: Update doc. Change-Id: Ie35a80d236bea70947bc496f66f62c8c621670b4
This commit is contained in:
parent
16e9019ef7
commit
fe7a351a8e
@ -1,3 +1,10 @@
|
||||
2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* top.h (readnow_symbol_files, readnever_symbol_files): Move
|
||||
declarations to ...
|
||||
* symfile.h: ... here.
|
||||
* symfile.c: Update doc.
|
||||
|
||||
2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* target.h (baud_rate, serial_parity): Move declarations...
|
||||
|
@ -85,8 +85,14 @@ using clear_symtab_users_cleanup
|
||||
= FORWARD_SCOPE_EXIT (clear_symtab_users);
|
||||
|
||||
/* Global variables owned by this file. */
|
||||
int readnow_symbol_files; /* Read full symbols immediately. */
|
||||
int readnever_symbol_files; /* Never read full symbols. */
|
||||
|
||||
/* See symfile.h. */
|
||||
|
||||
int readnow_symbol_files;
|
||||
|
||||
/* See symfile.h. */
|
||||
|
||||
int readnever_symbol_files;
|
||||
|
||||
/* Functions this file defines. */
|
||||
|
||||
|
@ -641,4 +641,12 @@ extern gdb_bfd_ref_ptr find_separate_debug_file_in_section (struct objfile *);
|
||||
|
||||
extern bool separate_debug_file_debug;
|
||||
|
||||
/* Read full symbols immediately. */
|
||||
|
||||
extern int readnow_symbol_files;
|
||||
|
||||
/* Never read full symbols. */
|
||||
|
||||
extern int readnever_symbol_files;
|
||||
|
||||
#endif /* !defined(SYMFILE_H) */
|
||||
|
@ -273,10 +273,6 @@ extern void set_prompt (const char *s);
|
||||
|
||||
extern int gdb_in_secondary_prompt_p (struct ui *ui);
|
||||
|
||||
/* From random places. */
|
||||
extern int readnow_symbol_files;
|
||||
extern int readnever_symbol_files;
|
||||
|
||||
/* Perform _initialize initialization. */
|
||||
extern void gdb_init (char *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user