This is the mail archive of the 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] Microblaze: Port of Linux gdbserver

On 12/18/2014 04:53 PM, Ajit Kumar Agarwal wrote:

>> 1. push_dummy_code is not implemented for Micro blaze port  due to this  there are 350+ failures.
>>> Eh, no inferior function call support.  Are you planning on implementing this?
> Currently in the gdb  microblaze-tdep.c, the following code is there for push_dummy_code.
> static CORE_ADDR
> microblaze_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp,
>                             CORE_ADDR funcaddr,
>                             struct value **args, int nargs,
>                             struct type *value_type,
>                             CORE_ADDR *real_pc, CORE_ADDR *bp_addr,
>                             struct regcache *regcache)
> {
>   error (_("push_dummy_code not implemented"));
>   return sp;
> }
> This causes the failures.

Yes, this are the hooks for supporting calling inferior functions
from gdb: "print foo()", etc.

The question was whether you were planning on replacing the
errors (this and microblaze_push_dummy_call's) with a real
implementation.  :-)

Pedro Alves

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