mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
* NEWS: Mention symbol-reloading has been deleted.
* symfile.c (symbol_reloading): Delete. (show_symbol_reloading): Delete. (_initialize_symfile): Delete set/show symbol-reloading. doc/ * gdb.texinfo (Help): Change apropos example to use "alias" instead of "reload". (Symbols): Delete docs for set/show symbol-reloading. * gdbint.texinfo (Defining Other Architecture Features): Delete SYMBOL_RELOADING_DEFAULT. * refcard.tex: Delete reference to symbol-reloading. testsuite/ * gdb.base/default.exp: Delete tests for symbol-reloading. * gdb.base/help.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/gdb_history: Delete references to symbol-reloading.
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
2012-03-13 Doug Evans <dje@google.com>
|
2012-03-13 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* NEWS: Mention symbol-reloading has been deleted.
|
||||||
|
* symfile.c (symbol_reloading): Delete.
|
||||||
|
(show_symbol_reloading): Delete.
|
||||||
|
(_initialize_symfile): Delete set/show symbol-reloading.
|
||||||
|
|
||||||
* dwarf2read.c (load_partial_comp_unit): Defer adding cu to
|
* dwarf2read.c (load_partial_comp_unit): Defer adding cu to
|
||||||
read_in_chain until we have successfully read it in.
|
read_in_chain until we have successfully read it in.
|
||||||
(load_full_comp_unit): Ditto.
|
(load_full_comp_unit): Ditto.
|
||||||
|
2
gdb/NEWS
2
gdb/NEWS
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
*** Changes since GDB 7.4
|
*** Changes since GDB 7.4
|
||||||
|
|
||||||
|
* The option "symbol-reloading" has been deleted as it is no longer used.
|
||||||
|
|
||||||
* Python scripting
|
* Python scripting
|
||||||
|
|
||||||
** GDB commands implemented in Python can now be put in command class
|
** GDB commands implemented in Python can now be put in command class
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2012-03-13 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* gdb.texinfo (Help): Change apropos example to use "alias" instead
|
||||||
|
of "reload".
|
||||||
|
(Symbols): Delete docs for set/show symbol-reloading.
|
||||||
|
* gdbint.texinfo (Defining Other Architecture Features): Delete
|
||||||
|
SYMBOL_RELOADING_DEFAULT.
|
||||||
|
* refcard.tex: Delete reference to symbol-reloading.
|
||||||
|
|
||||||
2012-03-07 Pedro Alves <palves@redhat.com>
|
2012-03-07 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* gdb.texinfo (General Query Packets): Document new
|
* gdb.texinfo (General Query Packets): Document new
|
||||||
|
@ -1700,7 +1700,7 @@ commands, and their documentation, for the regular expression specified in
|
|||||||
@var{args}. It prints out all matches found. For example:
|
@var{args}. It prints out all matches found. For example:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
apropos reload
|
apropos alias
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
@ -1708,10 +1708,11 @@ results in:
|
|||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
@c @group
|
@c @group
|
||||||
set symbol-reloading -- Set dynamic symbol table reloading
|
alias -- Define a new command that is an alias of an existing command
|
||||||
multiple times in one run
|
aliases -- Aliases of other commands
|
||||||
show symbol-reloading -- Show dynamic symbol table reloading
|
d -- Delete some breakpoints or auto-display expressions
|
||||||
multiple times in one run
|
del -- Delete some breakpoints or auto-display expressions
|
||||||
|
delete -- Delete some breakpoints or auto-display expressions
|
||||||
@c @end group
|
@c @end group
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
@ -14721,33 +14722,6 @@ from the @code{ptype} command can be overwhelming and hard to use. The
|
|||||||
which match the regular-expression @var{regexp}.
|
which match the regular-expression @var{regexp}.
|
||||||
@end ignore
|
@end ignore
|
||||||
|
|
||||||
@cindex reloading symbols
|
|
||||||
Some systems allow individual object files that make up your program to
|
|
||||||
be replaced without stopping and restarting your program. For example,
|
|
||||||
in VxWorks you can simply recompile a defective object file and keep on
|
|
||||||
running. If you are running on one of these systems, you can allow
|
|
||||||
@value{GDBN} to reload the symbols for automatically relinked modules:
|
|
||||||
|
|
||||||
@table @code
|
|
||||||
@kindex set symbol-reloading
|
|
||||||
@item set symbol-reloading on
|
|
||||||
Replace symbol definitions for the corresponding source file when an
|
|
||||||
object file with a particular name is seen again.
|
|
||||||
|
|
||||||
@item set symbol-reloading off
|
|
||||||
Do not replace symbol definitions when encountering object files of the
|
|
||||||
same name more than once. This is the default state; if you are not
|
|
||||||
running on a system that permits automatic relinking of modules, you
|
|
||||||
should leave @code{symbol-reloading} off, since otherwise @value{GDBN}
|
|
||||||
may discard symbols when linking large programs, that may contain
|
|
||||||
several modules (from different directories or libraries) with the same
|
|
||||||
name.
|
|
||||||
|
|
||||||
@kindex show symbol-reloading
|
|
||||||
@item show symbol-reloading
|
|
||||||
Show the current @code{on} or @code{off} setting.
|
|
||||||
@end table
|
|
||||||
|
|
||||||
@cindex opaque data types
|
@cindex opaque data types
|
||||||
@kindex set opaque-type-resolution
|
@kindex set opaque-type-resolution
|
||||||
@item set opaque-type-resolution on
|
@item set opaque-type-resolution on
|
||||||
|
@ -4916,11 +4916,6 @@ number of that register.
|
|||||||
Use this function to convert stab register @var{stab_regnr} into @value{GDBN}
|
Use this function to convert stab register @var{stab_regnr} into @value{GDBN}
|
||||||
regnum. If not defined, no conversion will be done.
|
regnum. If not defined, no conversion will be done.
|
||||||
|
|
||||||
@item SYMBOL_RELOADING_DEFAULT
|
|
||||||
@findex SYMBOL_RELOADING_DEFAULT
|
|
||||||
The default value of the ``symbol-reloading'' variable. (Never defined in
|
|
||||||
current sources.)
|
|
||||||
|
|
||||||
@item TARGET_CHAR_BIT
|
@item TARGET_CHAR_BIT
|
||||||
@findex TARGET_CHAR_BIT
|
@findex TARGET_CHAR_BIT
|
||||||
Number of bits in a char; defaults to 8.
|
Number of bits in a char; defaults to 8.
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
% all variations of a command.
|
% all variations of a command.
|
||||||
% The GDB-under-Emacs section omits gdb-mode functions without default
|
% The GDB-under-Emacs section omits gdb-mode functions without default
|
||||||
% keybindings. GDB startup options are not described.
|
% keybindings. GDB startup options are not described.
|
||||||
% set print sevenbit-strings, set symbol-reloading omitted.
|
% set print sevenbit-strings omitted.
|
||||||
% printsyms, printpsyms, omitted since they're for GDB maintenance primarily
|
% printsyms, printpsyms, omitted since they're for GDB maintenance primarily
|
||||||
% share omitted due to obsolescence
|
% share omitted due to obsolescence
|
||||||
% set check range/type omitted at least til code is in GDB.
|
% set check range/type omitted at least til code is in GDB.
|
||||||
|
@ -147,23 +147,6 @@ DEF_VEC_P (sym_fns_ptr);
|
|||||||
|
|
||||||
static VEC (sym_fns_ptr) *symtab_fns = NULL;
|
static VEC (sym_fns_ptr) *symtab_fns = NULL;
|
||||||
|
|
||||||
/* Flag for whether user will be reloading symbols multiple times.
|
|
||||||
Defaults to ON for VxWorks, otherwise OFF. */
|
|
||||||
|
|
||||||
#ifdef SYMBOL_RELOADING_DEFAULT
|
|
||||||
int symbol_reloading = SYMBOL_RELOADING_DEFAULT;
|
|
||||||
#else
|
|
||||||
int symbol_reloading = 0;
|
|
||||||
#endif
|
|
||||||
static void
|
|
||||||
show_symbol_reloading (struct ui_file *file, int from_tty,
|
|
||||||
struct cmd_list_element *c, const char *value)
|
|
||||||
{
|
|
||||||
fprintf_filtered (file, _("Dynamic symbol table reloading "
|
|
||||||
"multiple times in one run is %s.\n"),
|
|
||||||
value);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If non-zero, shared library symbols will be added automatically
|
/* If non-zero, shared library symbols will be added automatically
|
||||||
when the inferior is created, new libraries are loaded, or when
|
when the inferior is created, new libraries are loaded, or when
|
||||||
attaching to the inferior. This is almost always what users will
|
attaching to the inferior. This is almost always what users will
|
||||||
@ -3833,14 +3816,6 @@ for access from GDB.\n\
|
|||||||
A load OFFSET may also be given."), &cmdlist);
|
A load OFFSET may also be given."), &cmdlist);
|
||||||
set_cmd_completer (c, filename_completer);
|
set_cmd_completer (c, filename_completer);
|
||||||
|
|
||||||
add_setshow_boolean_cmd ("symbol-reloading", class_support,
|
|
||||||
&symbol_reloading, _("\
|
|
||||||
Set dynamic symbol table reloading multiple times in one run."), _("\
|
|
||||||
Show dynamic symbol table reloading multiple times in one run."), NULL,
|
|
||||||
NULL,
|
|
||||||
show_symbol_reloading,
|
|
||||||
&setlist, &showlist);
|
|
||||||
|
|
||||||
add_prefix_cmd ("overlay", class_support, overlay_command,
|
add_prefix_cmd ("overlay", class_support, overlay_command,
|
||||||
_("Commands for debugging overlays."), &overlaylist,
|
_("Commands for debugging overlays."), &overlaylist,
|
||||||
"overlay ", 0, &cmdlist);
|
"overlay ", 0, &cmdlist);
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2012-03-13 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* gdb.base/default.exp: Delete tests for symbol-reloading.
|
||||||
|
* gdb.base/help.exp: Ditto.
|
||||||
|
* gdb.base/setshow.exp: Ditto.
|
||||||
|
* gdb.base/gdb_history: Delete references to symbol-reloading.
|
||||||
|
|
||||||
2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.base/attach-twice.c: New files.
|
* gdb.base/attach-twice.c: New files.
|
||||||
|
@ -560,8 +560,6 @@ gdb_test_no_output "set print vtbl" "set print vtbl"
|
|||||||
# FIXME -- need a test for "set prompt"
|
# FIXME -- need a test for "set prompt"
|
||||||
#test set radix
|
#test set radix
|
||||||
gdb_test "set radix" "Input and output radices now set to decimal 10, hex a, octal 12.*" "set radix"
|
gdb_test "set radix" "Input and output radices now set to decimal 10, hex a, octal 12.*" "set radix"
|
||||||
#test set symbol-reloading
|
|
||||||
gdb_test_no_output "set symbol-reloading" "set symbol-reloading"
|
|
||||||
#test set variable
|
#test set variable
|
||||||
gdb_test "set variable" "Argument required .expression to compute.*" "set variable"
|
gdb_test "set variable" "Argument required .expression to compute.*" "set variable"
|
||||||
#test set verbose
|
#test set verbose
|
||||||
@ -663,8 +661,6 @@ gdb_test "show print vtbl" "Printing of C\[+\]+ virtual function tables is on."
|
|||||||
gdb_test "show prompt" "Gdb's prompt is \"$gdb_prompt \".*" "show prompt"
|
gdb_test "show prompt" "Gdb's prompt is \"$gdb_prompt \".*" "show prompt"
|
||||||
#test show radix
|
#test show radix
|
||||||
gdb_test "show radix" "Input and output radices set to decimal 10, hex a, octal 12." "show radix"
|
gdb_test "show radix" "Input and output radices set to decimal 10, hex a, octal 12." "show radix"
|
||||||
#test show symbol-reloading
|
|
||||||
gdb_test "show symbol-reloading" "Dynamic symbol table reloading multiple times in one run is on." "show symbol-reloading"
|
|
||||||
#test show user
|
#test show user
|
||||||
gdb_test_no_output "show user" "show user"
|
gdb_test_no_output "show user" "show user"
|
||||||
#test show values
|
#test show values
|
||||||
|
@ -176,7 +176,6 @@ set print sevenbit-strings
|
|||||||
set print union
|
set print union
|
||||||
set print vtbl
|
set print vtbl
|
||||||
set radix
|
set radix
|
||||||
set symbol-reloading
|
|
||||||
set variable
|
set variable
|
||||||
set verbose
|
set verbose
|
||||||
set width
|
set width
|
||||||
@ -220,7 +219,6 @@ show print union
|
|||||||
show print vtbl
|
show print vtbl
|
||||||
show prompt
|
show prompt
|
||||||
show radix
|
show radix
|
||||||
show symbol-reloading
|
|
||||||
show user
|
show user
|
||||||
show values
|
show values
|
||||||
show verbose
|
show verbose
|
||||||
|
@ -458,8 +458,6 @@ gdb_test "help set print vtbl" "Set printing of C\[+\]+ virtual function tables\
|
|||||||
gdb_test "help set prompt" "Set gdb's prompt" "help set prompt"
|
gdb_test "help set prompt" "Set gdb's prompt" "help set prompt"
|
||||||
# test help set radix
|
# test help set radix
|
||||||
gdb_test "help set radix" "Set default input and output number radices\.\[\r\n\]+Use \'set input-radix\' or \'set output-radix\' to independently set each\.\[\r\n\]+Without an argument, sets both radices back to the default value of 10\." "help set radix"
|
gdb_test "help set radix" "Set default input and output number radices\.\[\r\n\]+Use \'set input-radix\' or \'set output-radix\' to independently set each\.\[\r\n\]+Without an argument, sets both radices back to the default value of 10\." "help set radix"
|
||||||
# test help set symbol-reloading
|
|
||||||
gdb_test "help set symbol-reloading" "Set dynamic symbol table reloading multiple times in one run\." "help set symbol-reloading"
|
|
||||||
# test help set variable
|
# test help set variable
|
||||||
gdb_test "help set variable" "Evaluate expression EXP and assign result to variable VAR, using assignment\[\r\n\]+syntax appropriate for the current language \\(VAR = EXP or VAR := EXP for\[\r\n\]+example\\)\. VAR may be a debugger \"convenience\" variable \\(names starting\[\r\n\]+with \\\$\\), a register \\(a few standard names starting with \\\$\\), or an actual\[\r\n\]+variable in the program being debugged\. EXP is any valid expression\.\[\r\n\]+This may usually be abbreviated to simply \"set\"\." "help set variable"
|
gdb_test "help set variable" "Evaluate expression EXP and assign result to variable VAR, using assignment\[\r\n\]+syntax appropriate for the current language \\(VAR = EXP or VAR := EXP for\[\r\n\]+example\\)\. VAR may be a debugger \"convenience\" variable \\(names starting\[\r\n\]+with \\\$\\), a register \\(a few standard names starting with \\\$\\), or an actual\[\r\n\]+variable in the program being debugged\. EXP is any valid expression\.\[\r\n\]+This may usually be abbreviated to simply \"set\"\." "help set variable"
|
||||||
# test help set verbose
|
# test help set verbose
|
||||||
@ -571,8 +569,6 @@ gdb_test "help show print vtbl" "Show printing of C\[+\]+ virtual function table
|
|||||||
gdb_test "help show prompt" "Show gdb's prompt" "help show prompt"
|
gdb_test "help show prompt" "Show gdb's prompt" "help show prompt"
|
||||||
# test help show radix
|
# test help show radix
|
||||||
gdb_test "help show radix" "Show the default input and output number radices\.\[\r\n\]+Use \'show input-radix\' or \'show output-radix\' to independently show each\." "help show radix"
|
gdb_test "help show radix" "Show the default input and output number radices\.\[\r\n\]+Use \'show input-radix\' or \'show output-radix\' to independently show each\." "help show radix"
|
||||||
# test help show symbol-reloading
|
|
||||||
gdb_test "help show symbol-reloading" "Show dynamic symbol table reloading multiple times in one run\." "help show symbol-reloading"
|
|
||||||
# test help show user
|
# test help show user
|
||||||
gdb_test "help show user" "Show definitions of non-python user defined commands\.\[\r\n\]+Argument is the name of the user defined command\.\[\r\n\]+With no argument, show definitions of all user defined commands\." "help show user"
|
gdb_test "help show user" "Show definitions of non-python user defined commands\.\[\r\n\]+Argument is the name of the user defined command\.\[\r\n\]+With no argument, show definitions of all user defined commands\." "help show user"
|
||||||
# test help show values
|
# test help show values
|
||||||
|
@ -242,10 +242,6 @@ gdb_test_no_output "set write on" "set write on"
|
|||||||
#test show write on
|
#test show write on
|
||||||
# This is only supported on targets which use exec.o.
|
# This is only supported on targets which use exec.o.
|
||||||
gdb_test "show write" "Writing into executable and core files is on..*" "show write (on)"
|
gdb_test "show write" "Writing into executable and core files is on..*" "show write (on)"
|
||||||
#test set symbol-reloading on
|
|
||||||
gdb_test_no_output "set symbol-reloading on" "set symbol-reloading on"
|
|
||||||
#test show symbol-reloading on
|
|
||||||
gdb_test "show symbol-reloading" "Dynamic symbol table reloading multiple times in one run is on..*" "show symbol-reloading (on)"
|
|
||||||
#test show user
|
#test show user
|
||||||
gdb_test_no_output "show user" "show user"
|
gdb_test_no_output "show user" "show user"
|
||||||
#test set verbose on
|
#test set verbose on
|
||||||
|
Reference in New Issue
Block a user