summaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-19 19:27:16 +0000
committerPedro Alves <palves@redhat.com>2013-02-19 19:27:16 +0000
commit9b12f766243a75cb840330fa941715b38aa609e4 (patch)
tree3c153b047fc41f298e7eb67b222a1bfbafa7fecf /gdb/monitor.h
parent7d92fe41d659ac9a1cfcf354d792178830315957 (diff)
downloadgdb-9b12f766243a75cb840330fa941715b38aa609e4.tar.gz
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/monitor.h')
0 files changed, 0 insertions, 0 deletions