mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function markers in the line table.
This commit is contained in:
parent
e2d34d7de2
commit
b0c0ea31a1
@ -1,3 +1,8 @@
|
||||
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
|
||||
markers in the line table.
|
||||
|
||||
2002-03-15 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* mi-main.c (XMALLOC): Delete macro.
|
||||
|
@ -332,6 +332,10 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
|
||||
&& le[i].pc == le[i + 1].pc)
|
||||
continue; /* Ignore duplicates */
|
||||
|
||||
/* Skip any end-of-function markers. */
|
||||
if (le[i].line == 0)
|
||||
continue;
|
||||
|
||||
mle[newlines].line = le[i].line;
|
||||
if (le[i].line > le[i + 1].line)
|
||||
out_of_order = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user