🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by shrasr Tue, 07 Jun 2005 07:55
gdb.base/call-ar-st FAIL on ARM using glibc
#1279
Author: shrasr
Date: Tue, 07 Jun 2005 07:55
141 lines
9785 bytes
--0-569059142-1118130905=:51156
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


GNU gdb 6.2.1

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "arm-sony-linux".

Setting up the environment for debugging gdb.

No symbol table is loaded.  Use the "file" command.

No symbol table is loaded.  Use the "file" command.

.gdbinit:8: Error in sourced command file:

No breakpoint number 0.

(gdb)

(gdb)

(gdb) file ./testsuite/gdb.base/call-ar-st

Reading symbols from /mnt/gdbtest/gdb-6.2.1-sslibc/gdb/testsuite/gdb.base/call-a

(gdb) b main
Breakpoint 1 at 0x9f34: file ./gdb.base/call-ar-st.c, line 1195.
(gdb) run
Starting program: /gdb-6.2.1/gdb/testsuite/gdb.base/call-ar-st


Breakpoint 1, main () at ./gdb.base/call-ar-st.c:1195
1195 for (index = 0; index < 120; index++) {
(gdb) info source
Current source file is ./gdb.base/call-ar-st.c
Compilation directory is /gdb-6.2.1/gdb/testsuite
Located in /gdb-6.2.1/gdb/testsuite/gdb.base/call-ar-st.c
Contains 1339 lines.
Source language is c.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
(gdb) tbreak 1209
Breakpoint 2 at 0xa0bc: file ./gdb.base/call-ar-st.c, line 1209.
(gdb) c
Continuing.
main () at ./gdb.base/call-ar-st.c:1209
1209 for (index = 0; index < 50; index++) {
(gdb) print print_double_array(double_array)
array_d :
=========

0.000000
23.456700 46.913400 70.370100 93.826800 117.283500 140.740200
164.196900
187.653600


$1 = void
(gdb) print print_char_array(char_array)
array_c :
=========

Z
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZa

$2 = void
(gdb) tbreak 1216
Breakpoint 3 at 0xa19c: file ./gdb.base/call-ar-st.c, line 1216.
(gdb) continue
Continuing.
array_c :
=========

Z
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ
aZaZaZaZaZaZaZaZaZa

$a () at ./gdb.base/call-ar-st.c:1216
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1216 print_double_array(double_array);
(gdb) where
#0 $a () at ./gdb.base/call-ar-st.c:1216
#1 0x400e43b0 in __libc_start_main () from /lib/libc.so.6
#2 0x00008438 in _start ()
#3 0x00008438 in _start ()
Previous frame identical to this frame (corrupt stack?)


$a () at ./gdb.base/call-ar-st.c:1216
the expected valuse is
main() at ./gdb.base/call-ar-st.c:1216




		
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!
http://in.mail.yahoo.com
--0-569059142-1118130905=:51156
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>
<DIV><FONT color=#202020>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>GNU gdb 6.2.1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>Copyright 2004 Free Software Foundation, Inc.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>GDB is free software, covered by the GNU General Public License, and you are</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>welcome to change it and/or distribute copies of it under certain conditions.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>Type "show copying" to see the conditions.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>There is absolutely no warranty for GDB.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Type "show warranty" for details.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>This GDB was configured as "arm-sony-linux".</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>Setting up the environment for debugging gdb.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>No symbol table is loaded.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Use the "file" command.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>No symbol table is loaded.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Use the "file" command.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>.gdbinit:8: Error in sourced command file:</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>No breakpoint number 0.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>(gdb)</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>(gdb)</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><SPAN lang=EN-US><FONT face=courier color=#000000 size=3>(gdb) file ./testsuite/gdb.base/call-ar-st</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><FONT size=3><FONT color=#000000><FONT face=courier><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:City><st1:place><SPAN lang=EN-US>Reading</SPAN></st1:place></st1:City><SPAN lang=EN-US> symbols from /mnt/gdbtest/gdb-6.2.1-sslibc/gdb/testsuite/gdb.base/call-a</SPAN></FONT></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"></FONT><FONT face=courier><FONT color=#202020>(gdb) b main<BR>Breakpoint 1 at 0x9f34: file ./gdb.base/call-ar-st.c, line 1195.<BR>(gdb) run<BR>Starting program: /gdb-6.2.1/gdb/testsuite/gdb.base/call-ar-st<BR><BR><BR>Breakpoint 1, main () at ./gdb.base/call-ar-st.c:1195<BR>1195 for (index = 0; index &lt; 120; index++) {<BR>(gdb) info source<BR>Current source file is ./gdb.base/call-ar-st.c<BR>Compilation directory is /gdb-6.2.1/gdb/testsuite<BR>Located in /gdb-6.2.1/gdb/testsuite/gdb.base/call-ar-st.c<BR>Contains 1339 lines.<BR>Source language is c.<BR>Compiled with DWARF 2 debugging format.<BR>Does not include preprocessor macro info.<BR>(gdb) tbreak 1209<BR>Breakpoint 2 at 0xa0bc: file ./gdb.base/call-ar-st.c, line 1209.<BR>(gdb) c<BR>Continuing.<BR>main () at ./gdb.base/call-ar-st.c:1209<BR>1209 for (index = 0; index &lt; 50; index++) {<BR>(gdb) print print_double_array(double_array)<BR>array_d
 :<BR>=========<BR><BR>0.000000<BR>23.456700 46.913400 70.370100 93.826800 117.283500 140.740200<BR>164.196900<BR>187.653600<BR><BR><BR>$1 = void<BR>(gdb) print print_char_array(char_array)<BR>array_c :<BR>=========<BR><BR>Z<BR>aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ<BR>aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ<BR>aZaZaZaZaZaZaZaZaZa<BR><BR>$2 = void<BR>(gdb) tbreak 1216<BR>Breakpoint 3 at 0xa19c: file ./gdb.base/call-ar-st.c, line 1216.<BR>(gdb) continue<BR>Continuing.<BR>array_c :<BR>=========<BR><BR>Z<BR>aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ<BR>aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ<BR>aZaZaZaZaZaZaZaZaZa<BR><BR>$a () at ./gdb.base/call-ar-st.c:1216<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>1216 print_double_array(double_array);<BR>(gdb) where<BR>#0 $a () at ./gdb.base/call-ar-st.c:1216<BR>#1 0x400e43b0 in __libc_start_main () from /lib/libc.so.6<BR>#2 0x00008438 in _start ()<BR>#3 0x00008438 in _start ()<BR>Previous frame identical to this
 frame (corrupt stack?)<BR><BR><BR>$a () at ./gdb.base/call-ar-st.c:1216<BR>the expected valuse is<BR>main() at ./gdb.base/call-ar-st.c:1216</FONT><BR></FONT></P></DIV></DIV><p>
		<hr size=1> Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!<br>http://in.mail.yahoo.com
--0-569059142-1118130905=:51156--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads