* SINIX patch
@ 1998-01-26 18:10 John Carr
1998-01-26 23:27 ` Jeffrey A Law
0 siblings, 1 reply; 2+ messages in thread
From: John Carr @ 1998-01-26 18:10 UTC (permalink / raw)
To: egcs
SINIX (mips-sni-svr4) does not support the assembler directives needed
for unwind support.
Mon Jan 26 21:05:02 1998 John Carr <jfc@mit.edu>
* dwarf2out.c (dwarf2out_do_frame, dwarf2out_frame_init): Test
value of DWARF2_UNWIND_INFO.
* mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
diff -c dwarf2out.c.egcs dwarf2out.c
*** dwarf2out.c.egcs Wed Jan 14 18:10:08 1998
--- dwarf2out.c Mon Jan 26 21:00:31 1998
***************
*** 58,64 ****
{
return (write_symbols == DWARF2_DEBUG
#ifdef DWARF2_UNWIND_INFO
! || (flag_exceptions && ! exceptions_via_longjmp)
#endif
);
}
--- 58,64 ----
{
return (write_symbols == DWARF2_DEBUG
#ifdef DWARF2_UNWIND_INFO
! || (DWARF2_UNWIND_INFO && flag_exceptions && ! exceptions_via_longjmp)
#endif
);
}
***************
*** 1877,1885 ****
sake of lookup_cfa. */
#ifdef DWARF2_UNWIND_INFO
! /* On entry, the Canonical Frame Address is at SP. */
! dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
! initial_return_save (INCOMING_RETURN_ADDR_RTX);
#endif
}
--- 1877,1888 ----
sake of lookup_cfa. */
#ifdef DWARF2_UNWIND_INFO
! if (DWARF2_UNWIND_INFO)
! {
! /* On entry, the Canonical Frame Address is at SP. */
! dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
! initial_return_save (INCOMING_RETURN_ADDR_RTX);
! }
#endif
}
*** config/mips/sni-svr4.h.egcs Mon Aug 11 11:57:35 1997
--- config/mips/sni-svr4.h Mon Jan 26 12:40:23 1998
***************
*** 95,97 ****
--- 95,99 ----
#undef SDB_DEBUGGING_INFO
#undef MIPS_DEBUGGING_INFO
#undef PREFERRED_DEBUGGING_TYPE
+
+ #define DWARF2_UNWIND_INFO 0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SINIX patch
1998-01-26 18:10 SINIX patch John Carr
@ 1998-01-26 23:27 ` Jeffrey A Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-01-26 23:27 UTC (permalink / raw)
To: John Carr; +Cc: egcs
In message < 199801270209.VAA24719@jfc. >you write:
> diff -c dwarf2out.c.egcs dwarf2out.c
> *** dwarf2out.c.egcs Wed Jan 14 18:10:08 1998
> --- dwarf2out.c Mon Jan 26 21:00:31 1998
> ***************
> *** 58,64 ****
> {
> return (write_symbols == DWARF2_DEBUG
> #ifdef DWARF2_UNWIND_INFO
> ! || (flag_exceptions && ! exceptions_via_longjmp)
> #endif
> );
> }
> --- 58,64 ----
> {
> return (write_symbols == DWARF2_DEBUG
> #ifdef DWARF2_UNWIND_INFO
> ! || (DWARF2_UNWIND_INFO && flag_exceptions && ! exceptions_via_longjmp
> )
> #endif
> );
> }
Isn't this hunk unnecessary?
If DWARF2_UNWIND_INFO is defined as zero, then exceptions via_longjmp should be
one (see toplev.c). Or am I missing something?
I've installed the other hunks.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-26 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-26 18:10 SINIX patch John Carr
1998-01-26 23:27 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).