Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Subject: Last build failure in alpha-osf1-tdep.c (I promise :)
Date: Wed, 04 Jun 2003 00:45:00 -0000	[thread overview]
Message-ID: <20030604004536.GQ919@gnat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

A recent change in the tdep structure for the alpha target caused a
build failure on Tru64: skip_sigtramp_frame has been removed.

I really don't know what to do to fix this. It looks like Richard has
implemented a better unwinder in alpha-mdebug-tdep, which I should be
able to use on Tru64 as well. Here is just a diff showing the little
play on sources I did in order to illustrate my changes.

I haven't had time to look at this closer, so I don't know what I'm
doing. Help, please?

        * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
        * alpha-osf1-tdep.c (alpha_osf1_init_abi): Do not set
        skip_sigtramp_frame in tdep structure, field no longer exists.

Thanks,
-- 
Joel

[-- Attachment #2: alpha-tdep.diff --]
[-- Type: text/plain, Size: 1287 bytes --]

Index: alpha-osf1-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alpha-osf1-tdep.c,v
retrieving revision 1.12
diff -c -3 -p -r1.12 alpha-osf1-tdep.c
*** alpha-osf1-tdep.c	3 Jun 2003 23:49:32 -0000	1.12
--- alpha-osf1-tdep.c	4 Jun 2003 00:32:06 -0000
*************** alpha_osf1_init_abi (struct gdbarch_info
*** 95,101 ****
       argument handling and bp_call_dummy takes care of stopping the dummy.  */
    set_gdbarch_call_dummy_address (gdbarch, alpha_call_dummy_address);
  
-   tdep->skip_sigtramp_frame = alpha_osf1_skip_sigtramp_frame;
    tdep->sigcontext_addr = alpha_osf1_sigcontext_addr;
  
    tdep->jb_pc = 2;
--- 99,104 ----
Index: config/alpha/alpha-osf1.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/alpha-osf1.mt,v
retrieving revision 1.2
diff -c -3 -p -r1.2 alpha-osf1.mt
*** config/alpha/alpha-osf1.mt	25 Apr 2002 02:28:57 -0000	1.2
--- config/alpha/alpha-osf1.mt	4 Jun 2003 00:32:07 -0000
***************
*** 1,3 ****
  # Target: Little-endian Alpha
! TDEPFILES= alpha-tdep.o alpha-osf1-tdep.o
  TM_FILE= tm-alpha.h
--- 1,3 ----
  # Target: Little-endian Alpha
! TDEPFILES= alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o
  TM_FILE= tm-alpha.h

             reply	other threads:[~2003-06-04  0:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04  0:45 Joel Brobecker [this message]
2003-06-04  3:09 ` Andrew Cagney
2003-06-04  5:24   ` Richard Henderson
2003-06-04  5:35   ` [commit] " Joel Brobecker

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=20030604004536.GQ919@gnat.com \
    --to=brobecker@gnat.com \
    --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