gdb: Small cleanup to disasm.c:maybe_add_dis_line_entry
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 21 Jan 2016 11:56:25 +0000 (12:56 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 21 Jan 2016 11:56:25 +0000 (12:56 +0100)
commit4a099de2e7e5374d633ba0eab4273b6f5c81ba74
tree02e425398be6813577954d96c9945382253fb102
parenta994041db36c9a6058fe591c7ccd018ed7affc76
gdb: Small cleanup to disasm.c:maybe_add_dis_line_entry

Give the function a better name (drop "maybe_") and update the header
comment.

gdb/ChangeLog:

* disasm.c (maybe_add_dis_line_entry): Rename to...
(add_dis_line_entry): ...this, and update header comment.
(do_mixed_source_and_assembly): Now use add_dis_line_entry.
gdb/ChangeLog
gdb/disasm.c