(breakpoint_1): use wrap_here before "at"
This commit is contained in:
parent
9a9a88c18f
commit
0a62ff3608
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Apr 12 10:53:50 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||||
|
|
||||||
|
* breakpoint.c (breakpoint_1): Use wrap_here before "at".
|
||||||
|
|
||||||
Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
|
Sat Apr 10 01:32:43 1993 Per Bothner (bothner@rtl.cygnus.com)
|
||||||
|
|
||||||
* ch-exp.y: Clean up lexing of identifiers and
|
* ch-exp.y: Clean up lexing of identifiers and
|
||||||
|
|
|
@ -1194,6 +1194,7 @@ breakpoint_1 (bnum, allflag)
|
||||||
"longjmp", "longjmp resume"};
|
"longjmp", "longjmp resume"};
|
||||||
static char *bpdisps[] = {"del", "dis", "keep"};
|
static char *bpdisps[] = {"del", "dis", "keep"};
|
||||||
static char bpenables[] = "ny";
|
static char bpenables[] = "ny";
|
||||||
|
char wrap_indent[80];
|
||||||
|
|
||||||
if (!breakpoint_chain)
|
if (!breakpoint_chain)
|
||||||
{
|
{
|
||||||
|
@ -1220,6 +1221,9 @@ breakpoint_1 (bnum, allflag)
|
||||||
bptypes[(int)b->type],
|
bptypes[(int)b->type],
|
||||||
bpdisps[(int)b->disposition],
|
bpdisps[(int)b->disposition],
|
||||||
bpenables[(int)b->enable]);
|
bpenables[(int)b->enable]);
|
||||||
|
strcpy (wrap_indent, " ");
|
||||||
|
if (addressprint)
|
||||||
|
strcat (wrap_indent, " ");
|
||||||
switch (b->type)
|
switch (b->type)
|
||||||
{
|
{
|
||||||
case bp_watchpoint:
|
case bp_watchpoint:
|
||||||
|
@ -1241,6 +1245,7 @@ breakpoint_1 (bnum, allflag)
|
||||||
{
|
{
|
||||||
fputs_filtered ("in ", stdout);
|
fputs_filtered ("in ", stdout);
|
||||||
fputs_filtered (SYMBOL_SOURCE_NAME (sym), stdout);
|
fputs_filtered (SYMBOL_SOURCE_NAME (sym), stdout);
|
||||||
|
wrap_here (wrap_indent);
|
||||||
fputs_filtered (" at ", stdout);
|
fputs_filtered (" at ", stdout);
|
||||||
}
|
}
|
||||||
fputs_filtered (b->symtab->filename, stdout);
|
fputs_filtered (b->symtab->filename, stdout);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue