Article View: gnu.gdb.bug
Article #557step in gdb-4.7 on SGI Irix-4.x doesn't work
From: Tommy Wallo
Date: Mon, 14 Dec 1992 05:22
Date: Mon, 14 Dec 1992 05:22
61 lines
2231 bytes
2231 bytes
oliveros:tw> uname -a
IRIX oliveros 4.0.5F 08280217 IP12
oliveros:tw> cat config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../configure --prefix=/usr/gnu --srcdir=.. mips-sgi-irix4 -norecursion
# using "../config/mh-irix4"
oliveros:tw> cat gdbtest.c
#include <stdio.h>
main()
{
int i;
for (i=0; i<2; i++) {
printf("%d", i);
}
exit(0);
}
oliveros:tw> gcc -v
Reading specs from /usr/gnu/lib/gcc-lib/iris/2.2.2/specs
gcc version 2.2.2
oliveros:tw> gcc -g -o gdbtest gdbtest.c
(You get the same behaviour if you compile with cc)
oliveros:tw> gdb gdbtest
GDB is free software and you are welcome to 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.
GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
(gdb) break main
Breakpoint 1 at 0x400234: file gdbtest.c, line 5.
(gdb) run
Starting program: /a/krishna/home1/tw/C/gdbtest
Breakpoint 1, main () at gdbtest.c:5
5 for (i=0; i<2; i++) {
(gdb) s
6 printf("%d", i);
(gdb) s
printf () at printf.c:43
printf.c:43: No such file or directory.
(gdb) s
printf.c:38: No such file or directory.
(gdb) s
printf.c:43: No such file or directory.
(gdb) s
printf.c:54: No such file or directory.
And so on..
This problem existed in earlier versions of gbd also.
-- Tommy
--
Tommy Wallo Internet: tw@sics.se
Swedish Institute of Computer Science (SICS) Tel: +46 8 752 15 53
PO Box 1263, S-164 28 KISTA, SWEDEN Fax: +46 8 751 72 30
Technical Details
Message-ID:
<9212140322.AA18281@krishna.sics.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sics.se!twShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sics.se!tw From: tw@sics.se (Tommy Wallo) Newsgroups: gnu.gdb.bug Subject: step in gdb-4.7 on SGI Irix-4.x doesn't work Message-ID: <9212140322.AA18281@krishna.sics.se> Date: 14 Dec 92 05:22:40 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 61 Approved: bug-gdb@prep.ai.mit.edu