OSDN Git Service

2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Fri, 3 Oct 2008 16:36:07 +0000 (16:36 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Fri, 3 Oct 2008 16:36:07 +0000 (16:36 +0000)
commit5ac6c51a4987ba2a168aa025c0bb3a6b30c9ef0f
tree4f5d93a9516ce312e42fa882e91c771f3c65b04e
parent1a528656c56a81c26edd333d43fdb757700de276
2008-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

* utils.c, defs.h (gdb_buildargv): New fn. Wrap buildargv
and check for out-of-memory condition.
* exec.c (exec_file_command): Call it.
* infrun.c (handle_command, xdb_handle_command): Likewise.
* interps.c (interpreter_exec_cmd): Likewise.
* linux-nat.c (linux_nat_info_proc_cmd): Likewise.
* procfs.c (info_proc_cmd): Likewise.
* remote-mips.c (common_open): Likewise.
* remote-sim.c (gdbsim_kill, gdbsim_create_inferior)
(gdbsim_open): Likewise.
* remote.c (extended_remote_run, remote_put_command)
(remote_get_command, remote_delete_command): Likewise.
* ser-mingw.c (pipe_windows_open): Likesise.
* source.c (add_path, show_substitute_path_command)
(unset_substitute_path_command, set_substitute_path_command):
Likewise.
* stack.c (backtrace_command): Likewise.
* symfile.c (symbol_file_command, generic_load)
(add_symbol_file_command): Likesise.
* symmisc.c (maintenance_print_symbols, maintenance_print_psymbols)
(maintenance_print_msymbols): Likewise.
16 files changed:
gdb/ChangeLog
gdb/defs.h
gdb/exec.c
gdb/infrun.c
gdb/interps.c
gdb/linux-nat.c
gdb/procfs.c
gdb/remote-mips.c
gdb/remote-sim.c
gdb/remote.c
gdb/ser-mingw.c
gdb/source.c
gdb/stack.c
gdb/symfile.c
gdb/symmisc.c
gdb/utils.c