* breakpoint.c (create_exception_catchpoint): Remove prototype
for already deleted function. * breakpoint.h (ep_is_exception_catchpoint): Likewise. * frame.h (show_stack_frame): Remove prototype. * stack.c (show_stack_frame): Remove empty, unused function. * source.c (symtab_to_fullname, print_source_lines): Small fix in comment. * value.c (show_values): Update comments to mention "show values" command instead of "info history".
This commit is contained in:
parent
5c44b38ef6
commit
f132ba9d37
7 changed files with 21 additions and 25 deletions
|
@ -1,3 +1,15 @@
|
||||||
|
2008-05-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||||
|
|
||||||
|
* breakpoint.c (create_exception_catchpoint): Remove prototype
|
||||||
|
for already deleted function.
|
||||||
|
* breakpoint.h (ep_is_exception_catchpoint): Likewise.
|
||||||
|
* frame.h (show_stack_frame): Remove prototype.
|
||||||
|
* stack.c (show_stack_frame): Remove empty, unused function.
|
||||||
|
* source.c (symtab_to_fullname, print_source_lines): Small fix
|
||||||
|
in comment.
|
||||||
|
* value.c (show_values): Update comments to mention "show values"
|
||||||
|
command instead of "info history".
|
||||||
|
|
||||||
2008-05-02 Ulrich Weigand <uweigand@de.ibm.com>
|
2008-05-02 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* linespec.c: Include "target.h".
|
* linespec.c: Include "target.h".
|
||||||
|
|
|
@ -188,10 +188,6 @@ static char *ep_parse_optional_if_clause (char **arg);
|
||||||
|
|
||||||
static char *ep_parse_optional_filename (char **arg);
|
static char *ep_parse_optional_filename (char **arg);
|
||||||
|
|
||||||
static void create_exception_catchpoint (int tempflag, char *cond_string,
|
|
||||||
enum exception_event_kind ex_event,
|
|
||||||
struct symtab_and_line *sal);
|
|
||||||
|
|
||||||
static void catch_exception_command_1 (enum exception_event_kind ex_event,
|
static void catch_exception_command_1 (enum exception_event_kind ex_event,
|
||||||
char *arg, int tempflag, int from_tty);
|
char *arg, int tempflag, int from_tty);
|
||||||
|
|
||||||
|
|
|
@ -684,8 +684,6 @@ extern void breakpoint_re_set (void);
|
||||||
|
|
||||||
extern void breakpoint_re_set_thread (struct breakpoint *);
|
extern void breakpoint_re_set_thread (struct breakpoint *);
|
||||||
|
|
||||||
extern int ep_is_exception_catchpoint (struct breakpoint *);
|
|
||||||
|
|
||||||
extern struct breakpoint *set_momentary_breakpoint
|
extern struct breakpoint *set_momentary_breakpoint
|
||||||
(struct symtab_and_line, struct frame_id, enum bptype);
|
(struct symtab_and_line, struct frame_id, enum bptype);
|
||||||
|
|
||||||
|
|
|
@ -645,8 +645,6 @@ extern void show_and_print_stack_frame (struct frame_info *fi, int print_level,
|
||||||
extern void print_stack_frame (struct frame_info *, int print_level,
|
extern void print_stack_frame (struct frame_info *, int print_level,
|
||||||
enum print_what print_what);
|
enum print_what print_what);
|
||||||
|
|
||||||
extern void show_stack_frame (struct frame_info *);
|
|
||||||
|
|
||||||
extern void print_frame_info (struct frame_info *, int print_level,
|
extern void print_frame_info (struct frame_info *, int print_level,
|
||||||
enum print_what print_what, int args);
|
enum print_what print_what, int args);
|
||||||
|
|
||||||
|
|
|
@ -1046,11 +1046,11 @@ open_source_file (struct symtab *s)
|
||||||
|
|
||||||
/* Finds the fullname that a symtab represents.
|
/* Finds the fullname that a symtab represents.
|
||||||
|
|
||||||
If this functions finds the fullname, it will save it in ps->fullname
|
If this functions finds the fullname, it will save it in s->fullname
|
||||||
and it will also return the value.
|
and it will also return the value.
|
||||||
|
|
||||||
If this function fails to find the file that this symtab represents,
|
If this function fails to find the file that this symtab represents,
|
||||||
NULL will be returned and ps->fullname will be set to NULL. */
|
NULL will be returned and s->fullname will be set to NULL. */
|
||||||
char *
|
char *
|
||||||
symtab_to_fullname (struct symtab *s)
|
symtab_to_fullname (struct symtab *s)
|
||||||
{
|
{
|
||||||
|
@ -1421,7 +1421,7 @@ print_source_lines_base (struct symtab *s, int line, int stopline, int noerror)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Show source lines from the file of symtab S, starting with line
|
/* Show source lines from the file of symtab S, starting with line
|
||||||
number LINE and stopping before line number STOPLINE. If this is the
|
number LINE and stopping before line number STOPLINE. If this is
|
||||||
not the command line version, then the source is shown in the source
|
not the command line version, then the source is shown in the source
|
||||||
window otherwise it is simply printed */
|
window otherwise it is simply printed */
|
||||||
|
|
||||||
|
|
|
@ -738,14 +738,6 @@ print_frame (struct frame_info *frame, int print_level,
|
||||||
do_cleanups (old_chain);
|
do_cleanups (old_chain);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Show the frame info. If this is the tui, it will be shown in the
|
|
||||||
source display otherwise, nothing is done. */
|
|
||||||
|
|
||||||
void
|
|
||||||
show_stack_frame (struct frame_info *frame)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Read a frame specification in whatever the appropriate format is
|
/* Read a frame specification in whatever the appropriate format is
|
||||||
from FRAME_EXP. Call error(), printing MESSAGE, if the
|
from FRAME_EXP. Call error(), printing MESSAGE, if the
|
||||||
|
|
12
gdb/value.c
12
gdb/value.c
|
@ -665,14 +665,14 @@ show_values (char *num_exp, int from_tty)
|
||||||
|
|
||||||
if (num_exp)
|
if (num_exp)
|
||||||
{
|
{
|
||||||
/* "info history +" should print from the stored position.
|
/* "show values +" should print from the stored position.
|
||||||
"info history <exp>" should print around value number <exp>. */
|
"show values <exp>" should print around value number <exp>. */
|
||||||
if (num_exp[0] != '+' || num_exp[1] != '\0')
|
if (num_exp[0] != '+' || num_exp[1] != '\0')
|
||||||
num = parse_and_eval_long (num_exp) - 5;
|
num = parse_and_eval_long (num_exp) - 5;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* "info history" means print the last 10 values. */
|
/* "show values" means print the last 10 values. */
|
||||||
num = value_history_count - 9;
|
num = value_history_count - 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -687,12 +687,12 @@ show_values (char *num_exp, int from_tty)
|
||||||
printf_filtered (("\n"));
|
printf_filtered (("\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The next "info history +" should start after what we just printed. */
|
/* The next "show values +" should start after what we just printed. */
|
||||||
num += 10;
|
num += 10;
|
||||||
|
|
||||||
/* Hitting just return after this command should do the same thing as
|
/* Hitting just return after this command should do the same thing as
|
||||||
"info history +". If num_exp is null, this is unnecessary, since
|
"show values +". If num_exp is null, this is unnecessary, since
|
||||||
"info history +" is not useful after "info history". */
|
"show values +" is not useful after "show values". */
|
||||||
if (from_tty && num_exp)
|
if (from_tty && num_exp)
|
||||||
{
|
{
|
||||||
num_exp[0] = '+';
|
num_exp[0] = '+';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue