This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/10852] command sequences interrupted unexpectedly


http://sourceware.org/bugzilla/show_bug.cgi?id=10852

--- Comment #3 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-05-10 23:06:39 UTC ---
Over on stackoverflow, someone suggested a workaround:
http://stackoverflow.com/a/10529068/50617

A 2nd work around that doesn't require python appears to be defining a new gdb
command and running that in commands:

define foo
print *i
set $addrOfI = i
finish
print *$addrOfI
end

break doSomething
commands
foo
end

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]