diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 13:59:00 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 14:00:07 -0400 |
commit | 9f26053690299e3a5d295d78c4ceeaf840344f0b (patch) | |
tree | 27cc770378c9ae45c0c723f2401b24af26079550 /move-if-change | |
parent | af7f8f52dd6024951577cfc328c318fdd4089623 (diff) | |
download | gdb-9f26053690299e3a5d295d78c4ceeaf840344f0b.zip gdb-9f26053690299e3a5d295d78c4ceeaf840344f0b.tar.gz gdb-9f26053690299e3a5d295d78c4ceeaf840344f0b.tar.bz2 |
gdb: remove unnecessary lookup_cmd when deprecating commands
Remove a few instances where we look up a command by name, but could
just use the return value of a previous "add command" function call
instead.
gdb/ChangeLog:
* mi/mi-main.c (_initialize_mi_main):
* python/py-auto-load.c (gdbpy_initialize_auto_load):
* remote.c (_initialize_remote):
Change-Id: I6d06f9ca636e340c88c1064ae870483ad392607d
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions