> On 05 Jun 2015, at 23:09, Leon Alrae <leon.al...@imgtec.com> wrote:
> 
> ... As far as I can tell existing
> implementation may also blow up if kernel_filename is NULL,

not necessarily, in my branch it is perfectly legal to start qemu without an 
image, as long as the gdb server is started, since the application will be 
loaded by the gdb client. (this is how the Eclipse plug-in is configured to 
start qemu).

> ... how the
> TARGET_SYS_GET_CMDLINE should behave if cmdline is not available,
> whether should return -1 or pass an empty string to the guest. 

for consistency I would suggest to return -1 for all cases that do not return a 
legal cmdline.

regards,

Liviu



Reply via email to