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: [RFA] Avoid internal error in paddress


Hi Pierre,

>   I reported an internal error
> in gdbtui at startup
> concerning the recently modified paddress function:
>  
> http://sourceware.org/ml/gdb/2009-07/msg00052.html
> 
>   I suspect that this internal error could bite
> us elsewhere, this is why I propose the following patch:

I don't really like this, there is no other place in GDB
where a NULL gdbarch is silently accepted.  I think we should
really make sure we know a proper gdbarch ...

I've now checked in this patch:
http://sourceware.org/ml/gdb-patches/2009-07/msg00231.html
to fix the gdbtui crash.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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