Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [RFA] tui-winsource.c, initialize sal.pspace
Date: Thu, 03 Mar 2011 17:29:00 -0000	[thread overview]
Message-ID: <4D6FCFE0.9080503@vmware.com> (raw)
In-Reply-To: <201103031659.27706.pedro@codesourcery.com>

Pedro Alves wrote:
> On Wednesday 02 March 2011 21:15:14, Michael Snyder wrote:
>> @@ -114,9 +114,11 @@ tui_update_source_window_as_is (struct t
>>         {
>>           struct symtab_and_line sal;
>>           
>> +         init_sal (&sal);
> 
> This is good.
> 
>>           sal.line = line_or_addr.u.line_no +
>>             (win_info->generic.content_size - 2);
>>           sal.symtab = s;
>> +         sal.pspace = current_program_space;
> 
> Make this s->objfile->pspace instead.

Thanks!  Done.


      reply	other threads:[~2011-03-03 17:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 21:15 Michael Snyder
2011-03-03 16:02 ` Tom Tromey
2011-03-03 16:59 ` Pedro Alves
2011-03-03 17:29   ` Michael Snyder [this message]

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=4D6FCFE0.9080503@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.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