This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog darwin-nat.c defs.h gnu-nat. ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Feb 2010 17:35:50 -0000
- Subject: src/gdb ChangeLog darwin-nat.c defs.h gnu-nat. ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-02-15 17:35:50
Modified files:
gdb : ChangeLog darwin-nat.c defs.h gnu-nat.c
inf-ptrace.c inf-ttrace.c nto-procfs.c procfs.c
remote.c utils.c windows-nat.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: attach.exp
Log message:
gdb/
* defs.h (parse_pid_to_attach): New.
* utils.c (parse_pid_to_attach): New.
* darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
* gnu-nat.c (gnu_attach): Likewise.
* nto-procfs.c (procfs_attach): Likewise.
* procfs.c (procfs_attach): Likewise.
* windows-nat.c (windows_attach): Likewise.
* inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy.
* inf-ttrace.c (inf_ttrace_attach): Likewise.
* remote.c (extended_remote_attach_1): Likewise. New comment on getpid
check.
gdb/testsuite/
* gdb.base/attach.exp (attach to nonsense is prohibited): Make the
"Illegal process-id" expect string more exact.
(attach to digits-starting nonsense is prohibited): New.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11359&r2=1.11360
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/darwin-nat.c.diff?cvsroot=src&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&r1=1.263&r2=1.264
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gnu-nat.c.diff?cvsroot=src&r1=1.70&r2=1.71
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/inf-ptrace.c.diff?cvsroot=src&r1=1.69&r2=1.70
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/inf-ttrace.c.diff?cvsroot=src&r1=1.51&r2=1.52
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/nto-procfs.c.diff?cvsroot=src&r1=1.51&r2=1.52
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/procfs.c.diff?cvsroot=src&r1=1.126&r2=1.127
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.384&r2=1.385
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.223&r2=1.224
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/windows-nat.c.diff?cvsroot=src&r1=1.202&r2=1.203
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2130&r2=1.2131
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/attach.exp.diff?cvsroot=src&r1=1.27&r2=1.28