This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Problem union comparision in TUI


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]