* gdb: integer division fix (actually, libc fix)
@ 1996-06-09 3:03 David Mosberger-Tang
0 siblings, 0 replies; only message in thread
From: David Mosberger-Tang @ 1996-06-09 3:03 UTC (permalink / raw)
If you're tired of gdb loosing control when trying to "next" over a
line that contains a (non-constant) integer division/remainder
operation, apply the following fix to libc and rebuild all the div*
and rem* functions. It will cure the problem.
--david
--- libc-linux/sysdeps/alpha/divrem.S Sat Jun 8 19:57:19 1996
+++ libc-linux/sysdeps/alpha/divrem.S~ Sat Sep 16 10:17:51 1995
@@ -84,7 +84,7 @@
.align 5
FUNC_NAME:
# define FRAME_SIZE 0x30
- .frame sp,FRAME_SIZE,retaddr,0
+ .frame sp,FRAME_SIZE,ra,0
lda sp,-FRAME_SIZE(sp)
.prologue 1
stq arg1,0x00(sp)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-09 3:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-09 3:03 gdb: integer division fix (actually, libc fix) David Mosberger-Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox