bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb.base/call-ar-st FAIL on ARM using glibc


From: shrasr
Subject: gdb.base/call-ar-st FAIL on ARM using glibc
Date: Tue, 7 Jun 2005 08:55:05 +0100 (BST)

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
reply via email to

[Prev in Thread] Current Thread [Next in Thread]