qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] armv7m: optional -kernel if -gdb present


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] armv7m: optional -kernel if -gdb present
Date: Thu, 20 Nov 2014 12:50:20 +0000

On 20 November 2014 12:34, Liviu Ionescu <address@hidden> wrote:
>
> On 20 Nov 2014, at 14:29, Peter Maydell <address@hidden> wrote:
>
>>> -    if (!kernel_filename && !qtest_enabled()) {
>>> +    if (!kernel_filename && !qtest_enabled() && !with_gdb) {
>>>         fprintf(stderr, "Guest image must be specified (using -kernel)\n");
>>>         exit(1);
>>>     }
>>
>> just delete this entire if() statement. This is how we've handled
>> similar issues with the ARM A profile boards. (Some of the boards
>> still have those checks but that's just because nobody's bothered
>> to fix them yet.)
>
> I'm a bit confused. if not running with gdb, what is the expected
> behaviour if the image is missing?

Same thing as if you start a hardware board with nothing loaded
into the flash. (Probably this means "go into an infinite loop
of taking exceptions".)

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]