[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] qualify constants as const
From: |
Marin Ramesa |
Subject: |
Re: [PATCH 1/2] qualify constants as const |
Date: |
Fri, 13 Sep 2013 00:16:57 +0200 |
On 11.09.2013 23:05:44, Samuel Thibault wrote:
> Marin Ramesa, le Tue 10 Sep 2013 10:38:04 +0200, a écrit :
> > #if DEBUG
> > -int cb_check_enable = 0;
> > +const int cb_check_enable = 0;
>
> I'd rather not.
>
> It is useful to be able to modify the value "live" from the debugger,
> so as to enable the check only for some time while debugging.
I want to try this but I'm stuck at the first step. What command line
to use to debug a patched gnumach in qemu?
I tried with 'qemu-system-i386 -kernel gnumach.gz', but that seems too
easy and it doesn't work.
Thanks.