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: [RFC] m32c: Dereference pointer type in m32c_push_dummy_call()


On Thu, Dec 04, 2008 at 09:13:32PM -0700, Kevin Buettner wrote:
> This patch fixes all 11 of the gdb.cp/virtfunc.exp failures in addition
> to a number of gdb.base/callfuncs.exp failures as well.
> 
> It prevents the assertion failure resulting from the call to
> gdb_assert() just below the added lines in the patch below.
> 
> Comments?
> 
> 	* m32c-tdep.c (m32c_push_dummy_call): Dereference pointer type.

Yeah, I believe this is standard.  I don't remember if there was a
reason the caller didn't do it or not...

-- 
Daniel Jacobowitz
CodeSourcery


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