[PATCH] Test the interaction between GDBHISTSIZE and .gdbinit
Pedro Alves
palves@redhat.com
Thu Jun 18 09:06:00 GMT 2015
On 06/17/2015 09:17 PM, Patrick Palka wrote:
> The value inside the GDBHISTSIZE environment variable, only if valid,
> should override setting the history size through one's .gdbinit file.
Thanks, looks good.
> + unset -nocomplain env(GDBHISTSIZE)
> array set env [array get old_env]
Though this unset looks unnecessary, given that the following line
restores the whole array.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list