From: "H . J . Lu" <hjl@lucon.org>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] The MIPS/Linux port
Date: Wed, 04 Jul 2001 14:51:00 -0000 [thread overview]
Message-ID: <20010704145113.C14482@lucon.org> (raw)
In-Reply-To: <20010704121952.A17445@nevyn.them.org>
On Wed, Jul 04, 2001 at 12:19:52PM -0700, Daniel Jacobowitz wrote:
> addressed in either binutils or gcc, and HJ posted a potential patch
> for it two days ago.
I have verified that this patch works for me. Since many gcc mips
patches haven't been reviewed, I didn't send it to gcc.
H.J.
----
2001-07-02 H.J. Lu <hjl@gnu.org>
* gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
--- gcc/config/mips/linux.h.stabs Mon Jul 2 21:53:09 2001
+++ gcc/config/mips/linux.h Mon Jul 2 21:58:00 2001
@@ -182,6 +182,22 @@ Boston, MA 02111-1307, USA. */
#undef SET_ASM_OP
#define SET_ASM_OP "\t.dummy\t"
+#undef ASM_OUTPUT_SOURCE_LINE
+#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
+do \
+ { \
+ static int sym_lineno = 1; \
+ fprintf (FILE, "%sLM%d:\n\t%s 68,0,%d,%sLM%d", \
+ LOCAL_LABEL_PREFIX, sym_lineno, ASM_STABN_OP, \
+ LINE, LOCAL_LABEL_PREFIX, sym_lineno); \
+ putc ('-', FILE); \
+ assemble_name (FILE, \
+ XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0));\
+ putc ('\n', FILE); \
+ sym_lineno++; \
+ } \
+while (0)
+
/* This is how we tell the assembler that two symbols have the
same value. */
#undef ASM_OUTPUT_DEF
next parent reply other threads:[~2001-07-04 14:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010704121952.A17445@nevyn.them.org>
2001-07-04 14:51 ` H . J . Lu [this message]
2001-07-04 14:53 ` Mark Kettenis
2001-07-04 16:34 ` Daniel Jacobowitz
2001-07-05 2:12 ` Mark Kettenis
2001-07-05 16:57 ` John Court
2001-07-05 17:30 ` Daniel Jacobowitz
2001-07-05 17:45 ` John Court
2001-07-05 17:48 ` Daniel Jacobowitz
2001-07-04 23:48 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010704145113.C14482@lucon.org \
--to=hjl@lucon.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox