aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbug-rom.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-19 19:27:21 +0000
committerPedro Alves <palves@redhat.com>2013-02-19 19:27:21 +0000
commit40e397df34d493fc1e3455316af74d4d983dd80b (patch)
treea163292a918687d5f982a7b6e46ab5edd7130631 /gdb/dbug-rom.c
parent5c111e376966558968049df5839776067729d3c8 (diff)
downloadgdb-40e397df34d493fc1e3455316af74d4d983dd80b.zip
gdb-40e397df34d493fc1e3455316af74d4d983dd80b.tar.gz
gdb-40e397df34d493fc1e3455316af74d4d983dd80b.tar.bz2
Harmonize this monitor_load with generic_load.
Harmonize this old-looking code with generic_load, which fixes several issues. 2013-02-19 Pedro Alves <palves@redhat.com> PR gdb/15161 Harmonize with generic_load. * monitor.c: Include "readline/readline.h". (monitor_load): Rename parameter 'file' to 'args'. Use build_argv instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned long/strtol for the 'load_offset' local. Error out if no argument is given or if too many arguments are given. Tilde expand the passed in file name.
Diffstat (limited to 'gdb/dbug-rom.c')
0 files changed, 0 insertions, 0 deletions