PATCH: Problem union comparision in TUI

Eli Zaretskii eliz@gnu.org
Mon Oct 24 11:06:00 GMT 2005


> Date: Mon, 24 Oct 2005 11:26:04 +0100
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: gdb-patches@sources.redhat.com
> 
> Eli Zaretskii wrote:
> > Why didn't you test l.loa to be LOA_ADDRESS before comparing the
> > addresses?
> 
> In theory it must be na address if it isn't a line. If it wasn't an 
> address then what should the code do?

It should use gdb_assert to signal a fatal internal error.  If that
error is ever reported, we will have a recipe to reproduce the bug,
and then we could fix it.



More information about the Gdb-patches mailing list