diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-05 15:43:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-05 15:43:50 +0000 |
commit | edefbb7cc7b16bbfb0c831344d8edcdf483ec5a4 (patch) | |
tree | 366c8d346fc499acb175fa2c03235dac3e11eaeb /gdb/alpha-tdep.c | |
parent | 8af139b3f9d848a998f4b41ffdfe8b3723b39412 (diff) | |
download | gdb-edefbb7cc7b16bbfb0c831344d8edcdf483ec5a4.zip gdb-edefbb7cc7b16bbfb0c831344d8edcdf483ec5a4.tar.gz gdb-edefbb7cc7b16bbfb0c831344d8edcdf483ec5a4.tar.bz2 |
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Committed by Andrew Cagney.
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
* aix-thread.c (_initialize_aix_thread): Get rid of the
deprecated_add_show_from_set call.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* command.h (add_setshow_enum_cmd): Add arguments for returning
new list elements.
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
add_setshow_enum_cmd.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 2dcce84..d75aebc 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1582,16 +1582,20 @@ _initialize_alpha_tdep (void) /* We really would like to have both "0" and "unlimited" work, but command.c doesn't deal with that. So make it a var_zinteger because the user can always use "999999" or some such for unlimited. */ - c = add_set_cmd ("heuristic-fence-post", class_support, var_zinteger, - (char *) &heuristic_fence_post, - _("\ -Set the distance searched for the start of a function.\n\ + /* We need to throw away the frame cache when we set this, since it + might change our ability to get backtraces. */ + add_setshow_zinteger_cmd ("heuristic-fence-post", class_support, + &heuristic_fence_post, + _("\ +Set the distance searched for the start of a function."), + _("\ +Show the distance searched for the start of a function."), + _("\ If you are debugging a stripped executable, GDB needs to search through the\n\ program for the start of a function. This command sets the distance of the\n\ search. The only need to set it is when debugging a stripped executable."), - &setlist); - /* We need to throw away the frame cache when we set this, since it - might change our ability to get backtraces. */ - set_cmd_sfunc (c, reinit_frame_cache_sfunc); - deprecated_add_show_from_set (c, &showlist); + _("\ +The distance searched for the start of a function is \"%d\"."), + reinit_frame_cache_sfunc, NULL, + &setlist, &showlist); } |