🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tommy Wallo Mon, 14 Dec 1992 05:22
step in gdb-4.7 on SGI Irix-4.x doesn't work
#557
Author: Tommy Wallo
Date: Mon, 14 Dec 1992 05:22
61 lines
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
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