Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [RFC] TUI is broken in the cvs head
Date: Mon, 05 Mar 2007 17:33:00 -0000	[thread overview]
Message-ID: <45EC5458.2050603@st.com> (raw)

Attached is a simple patch that fixes a problem with the TUI: it was not 
possible anymore to load a binary file.
I saw that problem on a linux native debugger. The file command outputs 
"No registers." as an error message.

-- 

Denis

2007-03-05  Denis Pilat  <denis.pilat@st.com>


	* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
	get_selected_frame by deprecated_safe_get_selected_frame.

Index: tui/tui-hooks.c

===================================================================

RCS file: /cvs/src/src/gdb/tui/tui-hooks.c,v

retrieving revision 1.29

diff -u -p -r1.29 tui-hooks.c

--- tui/tui-hooks.c     27 Feb 2007 19:46:04 -0000      1.29

+++ tui/tui-hooks.c     5 Mar 2007 17:24:39 -0000

@@ -230,7 +230,7 @@ tui_selected_frame_level_changed_hook (i

 {

   struct frame_info *fi;


-  fi = get_selected_frame (NULL);

+  fi = deprecated_safe_get_selected_frame ();

   /* Ensure that symbols for this frame are read in.  Also, determine the

      source language of this frame, and switch to it if desired.  */

   if (fi)



             reply	other threads:[~2007-03-05 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 17:33 Denis PILAT [this message]
2007-03-05 17:38 ` Daniel Jacobowitz
2007-03-07 10:33   ` Denis PILAT
2007-03-08 16:14     ` Denis PILAT

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=45EC5458.2050603@st.com \
    --to=denis.pilat@st.com \
    --cc=gdb-patches@sourceware.org \
    /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