🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Hugh Daniel Thu, 28 Sep 1989 02:00
Bugs in gdb-3.2
#274
Author: Hugh Daniel
Date: Thu, 28 Sep 1989 02:00
36 lines
1363 bytes
  gdb crashes on the simplest of files with the command `info reg`.

System: Sun 3/50, SunOS 4.0.1
Recreate via:
Compile
	#include <stdio.h>
	main() { puts("Hello"); }
compile
gdb a.out
break main
run
info reg
..
Emulator trap (core dumped)
adb
SIGEMT 7: F-line or A-line op
$C
_convert_from_68881(0xefffa78,0xefffa70) + 16
_registers_info(0x0,0x1) + 108
_execute_command(0x88818,0x1) + f8
_command_loop() + d6
_main(0x2,0xefffb88,0xefffb94) + 7a8

Humm... I dont have a 68881 in my 3/50...  $(CC) was cc in my makefile
so it should have been switched to software float.
  Sigh, looking at the code I find that the code blindly trys to
access a FPU, sigh.  Lets see if turning off the FPU flag in
m-sun3os4.h works...humm cc says:
"dep.c", line 457: c_fpstatus undefined
  Well looking at the code there (sun3-dep.c) I dont see a simple way
of fixing this, so I will send you this message now.  If you do come
up with a fix, send me the patch and I will test it out.  (Like I cant
use gdb till I fix this...)

		||ugh Daniel
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