public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/10104] New: gcore fails on app w/ more than a page of DL symbols to load
@ 2009-04-24 22:48 cjt at us dot ibm dot com
2009-04-24 22:50 ` [Bug gdb/10104] " cjt at us dot ibm dot com
2010-08-24 21:45 ` tromey at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: cjt at us dot ibm dot com @ 2009-04-24 22:48 UTC (permalink / raw)
To: gdb-prs
As an example use the Counter.java and CounterTest.java from
http://www.isr.umd.edu/~austin/ence489c.d/threads.d/Making_A_Thread_Subclass/
o change the new Counter instantiation to use about 40 instead of 5 in
JavaTest.java.
o compile with "javac Counter.java CounterTest.java".
o run "java CounterTest"
o attempt gcore with "gcore -o core <pid of java CounterTest>" )
Results include:
(no debugging symbols found)
...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
...
gcore: failed to create core.31783
A fix for http://sourceware.org/bugzilla/show_bug.cgi?id=9591 would likely
resolve this issue. But a simple workaround for the gcore script resolves the
issue for the gcore case:
diff -up gdb-6.8/gdb/gdb_gcore.sh.nopagination gdb-6.8/gdb/gdb_gcore.sh
--- gdb-6.8/gdb/gdb_gcore.sh.nopagination 2009-04-24 15:24:06.000000000 -0700
+++ gdb-6.8/gdb/gdb_gcore.sh 2009-04-24 15:24:20.000000000 -0700
@@ -63,6 +63,7 @@ for pid in $*
do
# Write gdb script for pid $pid.
cat >>$tmpfile <<EOF
+set pagination off
attach $pid
gcore $name.$pid
detach
--
Summary: gcore fails on app w/ more than a page of DL symbols to
load
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: cjt at us dot ibm dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10104
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/10104] gcore fails on app w/ more than a page of DL symbols to load
2009-04-24 22:48 [Bug gdb/10104] New: gcore fails on app w/ more than a page of DL symbols to load cjt at us dot ibm dot com
@ 2009-04-24 22:50 ` cjt at us dot ibm dot com
2010-08-24 21:45 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: cjt at us dot ibm dot com @ 2009-04-24 22:50 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From cjt at us dot ibm dot com 2009-04-24 22:50 -------
there was a type above saying to change 5 to 40 in JavaTest.java... That should
have been CounterTest.java, not JavaTest.java.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10104
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gdb/10104] gcore fails on app w/ more than a page of DL symbols to load
2009-04-24 22:48 [Bug gdb/10104] New: gcore fails on app w/ more than a page of DL symbols to load cjt at us dot ibm dot com
2009-04-24 22:50 ` [Bug gdb/10104] " cjt at us dot ibm dot com
@ 2010-08-24 21:45 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-08-24 21:45 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-08-24 21:45 -------
-batch now disables pagination, but cvs head also has a change
to gdb_gcore.sh to disable pagination explicitly.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|6.8 |7.3
http://sourceware.org/bugzilla/show_bug.cgi?id=10104
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-24 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 22:48 [Bug gdb/10104] New: gcore fails on app w/ more than a page of DL symbols to load cjt at us dot ibm dot com
2009-04-24 22:50 ` [Bug gdb/10104] " cjt at us dot ibm dot com
2010-08-24 21:45 ` tromey at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).