From: Yao Qi <yao@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Joel Brobecker <brobecker@adacore.com>, <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Don't check PST is NULL in read_symtab
Date: Fri, 11 Jan 2013 14:56:00 -0000 [thread overview]
Message-ID: <50F027E4.5010702@codesourcery.com> (raw)
In-Reply-To: <87libzu6tn.fsf@fleche.redhat.com>
On 01/11/2013 10:34 PM, Tom Tromey wrote:
> Joel> If PST must not be NULL, I think that it should be documented in
> Joel> psympriv.h. I am also wondering whether an assertion would be
> Joel> useful or not; maybe not, just thinking out loud.
>
> Joel> Tom and Doug are more involved in this area, so they'll probably
> Joel> have a more definitive answer.
>
> An assert would be fine by me.
An assert that PST is not NULL at the beginning of these functions
dbx_psymtab_to_symtab_1, dwarf2_psymtab_to_symtab,
mdebug_psymtab_to_symtab, and xcoff_psymtab_to_symtab_1?
--
Yao (é½å°§)
next prev parent reply other threads:[~2013-01-11 14:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 1:57 Yao Qi
2013-01-11 4:52 ` Joel Brobecker
2013-01-11 14:34 ` Tom Tromey
2013-01-11 14:56 ` Yao Qi [this message]
2013-01-11 15:06 ` Tom Tromey
2013-01-14 12:42 ` [committed]: " Yao Qi
2013-01-14 12:44 ` Yao Qi
2013-01-11 14:46 ` Yao Qi
2013-01-11 15:06 ` Joel Brobecker
2013-01-11 18:02 ` Pedro Alves
2013-01-11 18:44 ` Joel Brobecker
2013-01-14 12:42 ` Yao Qi
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=50F027E4.5010702@codesourcery.com \
--to=yao@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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