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 python/11914] Multiple call to inferior function can leed tosegfault


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

Phil Muldoon <pmuldoon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |pmuldoon at redhat dot com
         Resolution|                            |WORKSFORME

--- Comment #2 from Phil Muldoon <pmuldoon at redhat dot com> 2011-06-30 12:00:50 UTC ---
On Fedora 15, and upstream GDB I cannot replicate this.  There have been
substantial number of bugfixes since 7.2.  Fedora 15 contains 7.2 with lots of
additional material for 7.3.

My results:


$ gcc -g3 -O0 ~/pptest.c -o ~/pptest
./gdb ~/pptest

(gdb) start

Temporary breakpoint 1 at 0x40048b: file /home/pmuldoon/pptest.c, line 19.

Temporary breakpoint 1, main (argc=
During symbol reading, incomplete CFI data; unspecified registers (e.g., rax)
at 0x4004e5.
1, argv=0x7fffffffe1a8) at /home/pmuldoon/pptest.c:19
19      testint arr[]={0,1,2,3,4,5};

(gdb) python
>for i in range(10000):
>  gdb.execute("info locals", False, True)
>end
(gdb)

I also tried the pretty-printer example, and tried with/without optimization,
with/without debuginfo.

-- 
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]