diff options
author | nobody <> | 2008-11-20 00:35:24 +0000 |
---|---|---|
committer | nobody <> | 2008-11-20 00:35:24 +0000 |
commit | b4812cfe4dc394392e47e0489f38521da4a0b7ce (patch) | |
tree | 172f8d09ca7fb6f4007896cdd0f4a7d7ba98fd4d /gdb/symfile.c | |
parent | 438f751013d510ce01e77855d560ce8dacc32276 (diff) | |
download | gdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.zip gdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.tar.gz gdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.tar.bz2 |
This commit was manufactured by cvs2svn to create branchmultiprocess-20081120-branchpoint
'multiprocess-20081120-branch'.
Sprout from reverse-20080930-branch 2008-09-30 21:53:33 UTC nobody 'This commit was manufactured by cvs2svn to create branch'
Cherrypick from master 2008-11-20 00:35:23 UTC Doug Evans <dje@google.com> ' * inferior.h (proceed_to_finish): Delete, unused.':
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
bfd/ChangeLog
bfd/bfd-in2.h
bfd/bfd.c
bfd/bfdio.c
bfd/cache.c
bfd/cofflink.c
bfd/config.bfd
bfd/config.in
bfd/configure
bfd/configure.com
bfd/configure.in
bfd/doc/ChangeLog
bfd/doc/bfd.texinfo
bfd/doc/fdl.texi
bfd/dwarf2.c
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-arm.c
bfd/elf32-avr.c
bfd/elf32-cr16.c
bfd/elf32-cris.c
bfd/elf32-ppc.c
bfd/elf32-sh-symbian.c
bfd/elf32-spu.c
bfd/elf64-ppc.c
bfd/elflink.c
bfd/elfxx-sparc.c
bfd/hosts/alphavms.h
bfd/libbfd.h
bfd/linker.c
bfd/mach-o-target.c
bfd/mach-o.c
bfd/mach-o.h
bfd/makefile.vms
bfd/po/id.po
bfd/reloc.c
bfd/version.h
bfd/vms-hdr.c
bfd/xtensa-modules.c
configure
configure.ac
gdb/CONTRIBUTE
gdb/ChangeLog
gdb/MAINTAINERS
gdb/Makefile.in
gdb/NEWS
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-lang.h
gdb/ada-tasks.c
gdb/ada-valprint.c
gdb/aix-thread.c
gdb/amd64-tdep.c
gdb/arm-tdep.c
gdb/auxv.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/bsd-uthread.c
gdb/c-exp.y
gdb/c-lang.c
gdb/c-lang.h
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/cli/cli-cmds.c
gdb/cli/cli-dump.c
gdb/cli/cli-logging.c
gdb/cli/cli-script.c
gdb/coffread.c
gdb/config/alpha/alpha-osf3.mh
gdb/configure
gdb/configure.ac
gdb/configure.tgt
gdb/corefile.c
gdb/corelow.c
gdb/cp-name-parser.y
gdb/cp-valprint.c
gdb/dbxread.c
gdb/dec-thread.c
gdb/defs.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/gdbint.texinfo
gdb/doc/observer.texi
gdb/dummy-frame.c
gdb/dwarf2read.c
gdb/elfread.c
gdb/eval.c
gdb/event-loop.c
gdb/event-loop.h
gdb/exec.c
gdb/expprint.c
gdb/f-lang.c
gdb/f-lang.h
gdb/f-typeprint.c
gdb/f-valprint.c
gdb/fbsd-nat.c
gdb/features/Makefile
gdb/features/rs6000/power-fpu-isa205.xml
gdb/features/rs6000/powerpc-isa205-32l.c
gdb/features/rs6000/powerpc-isa205-32l.xml
gdb/features/rs6000/powerpc-isa205-64l.c
gdb/features/rs6000/powerpc-isa205-64l.xml
gdb/features/rs6000/powerpc-isa205-altivec32l.c
gdb/features/rs6000/powerpc-isa205-altivec32l.xml
gdb/features/rs6000/powerpc-isa205-altivec64l.c
gdb/features/rs6000/powerpc-isa205-altivec64l.xml
gdb/features/rs6000/powerpc-isa205-vsx32l.c
gdb/features/rs6000/powerpc-isa205-vsx32l.xml
gdb/features/rs6000/powerpc-isa205-vsx64l.c
gdb/features/rs6000/powerpc-isa205-vsx64l.xml
gdb/fork-child.c
gdb/frv-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/gdbinit.in
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure.srv
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-ppc-low.c
gdb/gdbserver/linux-sparc-low.c
gdb/gdbserver/server.c
gdb/gdbserver/xtensa-xtregs.c
gdb/gdbthread.h
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-nat.c
gdb/gnu-nat.h
gdb/go32-nat.c
gdb/hpux-thread.c
gdb/i386-dicos-tdep.c
gdb/i386gnu-nat.c
gdb/ia64-tdep.c
gdb/inf-loop.c
gdb/inf-ptrace.c
gdb/inf-ttrace.c
gdb/infcall.c
gdb/infcmd.c
gdb/inferior.c
gdb/inferior.h
gdb/inflow.c
gdb/infrun.c
gdb/interps.c
gdb/jv-lang.h
gdb/jv-typeprint.c
gdb/jv-valprint.c
gdb/language.c
gdb/language.h
gdb/linux-nat.c
gdb/linux-thread-db.c
gdb/m2-exp.y
gdb/m2-lang.c
gdb/m2-lang.h
gdb/m2-typeprint.c
gdb/m2-valprint.c
gdb/m68hc11-tdep.c
gdb/maint.c
gdb/mdebugread.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-common.h
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/minsyms.c
gdb/mips-linux-tdep.c
gdb/mips-tdep.c
gdb/monitor.c
gdb/mt-tdep.c
gdb/nto-procfs.c
gdb/objc-lang.c
gdb/objfiles.h
gdb/p-exp.y
gdb/p-lang.c
gdb/p-lang.h
gdb/p-typeprint.c
gdb/p-valprint.c
gdb/parse.c
gdb/ppc-linux-nat.c
gdb/ppc-linux-tdep.c
gdb/ppc-linux-tdep.h
gdb/printcmd.c
gdb/procfs.c
gdb/python/python-internal.h
gdb/python/python-value.c
gdb/python/python.c
gdb/python/python.h
gdb/regcache.c
gdb/regformats/reg-sparc64.dat
gdb/regformats/reg-xtensa.dat
gdb/regformats/rs6000/powerpc-isa205-32l.dat
gdb/regformats/rs6000/powerpc-isa205-64l.dat
gdb/regformats/rs6000/powerpc-isa205-altivec32l.dat
gdb/regformats/rs6000/powerpc-isa205-altivec64l.dat
gdb/regformats/rs6000/powerpc-isa205-vsx32l.dat
gdb/regformats/rs6000/powerpc-isa205-vsx64l.dat
gdb/reggroups.c
gdb/remote-m32r-sdi.c
gdb/remote-mips.c
gdb/remote-sim.c
gdb/remote.c
gdb/reply_mig_hack.awk
gdb/reverse.c
gdb/rs6000-nat.c
gdb/scm-lang.c
gdb/scm-lang.h
gdb/scm-valprint.c
gdb/ser-mingw.c
gdb/sh64-tdep.c
gdb/sol-thread.c
gdb/solib-frv.c
gdb/solib-osf.c
gdb/solib-som.c
gdb/solib.c
gdb/source.c
gdb/stack.c
gdb/symfile.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h
gdb/target.c
gdb/target.h
gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in
gdb/testsuite/configure
gdb/testsuite/configure.ac
gdb/testsuite/gdb.ada/int_deref.exp
gdb/testsuite/gdb.ada/int_deref/foo.adb
gdb/testsuite/gdb.ada/int_deref/pck.ads
gdb/testsuite/gdb.ada/ref_tick_size.exp
gdb/testsuite/gdb.ada/ref_tick_size/p.adb
gdb/testsuite/gdb.ada/ref_tick_size/pck.adb
gdb/testsuite/gdb.ada/ref_tick_size/pck.ads
gdb/testsuite/gdb.arch/ppc-dfp.c
gdb/testsuite/gdb.arch/ppc-dfp.exp
gdb/testsuite/gdb.base/args.exp
gdb/testsuite/gdb.base/callexit.c
gdb/testsuite/gdb.base/callexit.exp
gdb/testsuite/gdb.base/completion.exp
gdb/testsuite/gdb.base/corefile.exp
gdb/testsuite/gdb.base/dbx.exp
gdb/testsuite/gdb.base/exprs.exp
gdb/testsuite/gdb.base/foll-exec.exp
gdb/testsuite/gdb.base/foll-fork.exp
gdb/testsuite/gdb.base/hashline2.exp
gdb/testsuite/gdb.base/hashline3.exp
gdb/testsuite/gdb.base/help.exp
gdb/testsuite/gdb.base/macscp.exp
gdb/testsuite/gdb.base/maint.exp
gdb/testsuite/gdb.base/pointers.c
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/remotetimeout.exp
gdb/testsuite/gdb.base/sepsymtab.exp
gdb/testsuite/gdb.cp/gdb2384-base.cc
gdb/testsuite/gdb.cp/gdb2384-base.h
gdb/testsuite/gdb.cp/gdb2384.cc
gdb/testsuite/gdb.cp/gdb2384.exp
gdb/testsuite/gdb.cp/mb-ctor.exp
gdb/testsuite/gdb.dwarf2/dw2-cu-size.S
gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp
gdb/testsuite/gdb.dwarf2/dw2-intercu.S
gdb/testsuite/gdb.mi/gdb2549.exp
gdb/testsuite/gdb.mi/mi-nonstop.exp
gdb/testsuite/gdb.mi/mi-nsmoribund.exp
gdb/testsuite/gdb.mi/mi-pthreads.exp
gdb/testsuite/gdb.mi/mi-syn-frame.exp
gdb/testsuite/gdb.mi/mi2-syn-frame.exp
gdb/testsuite/gdb.mi/nsmoribund.c
gdb/testsuite/gdb.python/Makefile.in
gdb/testsuite/gdb.python/python-value.c
gdb/testsuite/gdb.python/python-value.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/mi-support.exp
gdb/thread.c
gdb/tracepoint.c
gdb/tui/tui-regs.c
gdb/typeprint.c
gdb/utils.c
gdb/valops.c
gdb/valprint.c
gdb/valprint.h
gdb/value.c
gdb/value.h
gdb/varobj.c
gdb/version.in
gdb/win32-nat.c
gdb/xcoffread.c
gdb/xml-tdesc.c
gdb/xtensa-config.c
gdb/xtensa-xtregs.c
include/ChangeLog
include/demangle.h
include/elf/ChangeLog
include/elf/arm.h
include/elf/common.h
include/elf/cris.h
include/elf/internal.h
include/elf/ppc.h
include/fopen-vms.h
include/obstack.h
include/opcode/ChangeLog
include/opcode/arm.h
include/opcode/mips.h
include/xtensa-config.h
libdecnumber/ChangeLog
libdecnumber/decBasic.c
libdecnumber/decDouble.h
libdecnumber/decNumberLocal.h
libdecnumber/decQuad.h
libdecnumber/decSingle.h
libiberty/ChangeLog
libiberty/Makefile.in
libiberty/config.h-vms
libiberty/config.in
libiberty/configure
libiberty/configure.ac
libiberty/cp-demangle.c
libiberty/cp-demangle.h
libiberty/makefile.vms
libiberty/testsuite/demangle-expected
libiberty/xstrdup.c
opcodes/ChangeLog
opcodes/arm-dis.c
opcodes/avr-dis.c
opcodes/configure
opcodes/configure.in
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
opcodes/makefile.vms
opcodes/mips-dis.c
opcodes/mips-opc.c
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/aclocal.m4
sim/erc32/ChangeLog
sim/erc32/erc32.c
sim/erc32/exec.c
sim/m32c/ChangeLog
sim/m32c/int.c
sim/ppc/ChangeLog
sim/ppc/Makefile.in
sim/ppc/configure
sim/ppc/configure.ac
sim/ppc/debug.c
sim/ppc/debug.h
sim/ppc/hw_sem.c
sim/ppc/hw_shm.c
Delete:
gdb/cli/cli-utils.c
gdb/cli/cli-utils.h
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 5964b84..d9aff2f 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -896,11 +896,6 @@ syms_from_objfile (struct objfile *objfile, (*objfile->sf->sym_read) (objfile, mainline); - /* Mark the objfile has having had initial symbol read attempted. Note - that this does not mean we found any symbols... */ - - objfile->flags |= OBJF_SYMS; - /* Discard cleanups as symbol reading was successful. */ discard_cleanups (old_chain); @@ -1488,14 +1483,11 @@ symbol_file_command (char *args, int from_tty) } else { - char **argv = buildargv (args); + char **argv = gdb_buildargv (args); int flags = OBJF_USERLOADED; struct cleanup *cleanups; char *name = NULL; - if (argv == NULL) - nomem (0); - cleanups = make_cleanup_freeargv (argv); while (*argv != NULL) { @@ -1929,11 +1921,10 @@ generic_load (char *args, int from_tty) make_cleanup (clear_memory_write_data, &cbdata.requests); - argv = buildargv (args); - - if (argv == NULL) - nomem(0); + if (args == NULL) + error_no_arg (_("file to load")); + argv = gdb_buildargv (args); make_cleanup_freeargv (argv); filename = tilde_expand (argv[0]); @@ -2122,12 +2113,9 @@ add_symbol_file_command (char *args, int from_tty) if (args == NULL) error (_("add-symbol-file takes a file name and an address")); - argv = buildargv (args); + argv = gdb_buildargv (args); make_cleanup_freeargv (argv); - if (argv == NULL) - nomem (0); - for (arg = argv[0], argcnt = 0; arg != NULL; arg = argv[++argcnt]) { /* Process the argument. */ @@ -2440,7 +2428,6 @@ reread_symbols (void) printf_unfiltered (_("(no debugging symbols found)\n")); wrap_here (""); } - objfile->flags |= OBJF_SYMS; /* We're done reading the symbol file; finish off complaints. */ clear_complaints (&symfile_complaints, 0, 1); |