PATCH: Problem union comparision in TUI

Andrew STUBBS andrew.stubbs@st.com
Mon Oct 24 10:28:00 GMT 2005


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? An assert should fix this, same as 
the other issues.

I'll figure out how to use gdb_assert and post another patch later.

Thanks

Andrew



More information about the Gdb-patches mailing list