This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog inf-ptrace.c
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Thu, 30 May 2013 17:04:03 +0000
- Subject: src/gdb ChangeLog inf-ptrace.c
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2013-05-30 17:04:03
Modified files:
gdb : ChangeLog inf-ptrace.c
Log message:
cleanup fixes for inf-ptrace.c
This is one of the stylistic patches. The code here in inf-ptrace.c
is not incorrect, but it is in a style that the cleanup checker cannot
handle. This patch changes it to a simpler style, following the usual
method of introducing an unconditional "outer" cleanup.
* inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
call discard_cleanups.
(inf_ptrace_attach): Likewise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15644&r2=1.15645
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/inf-ptrace.c.diff?cvsroot=src&r1=1.83&r2=1.84