This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/RFC] Move the cmdarg before load execarg
>> Do you think we can add some other options to let gdb exec some
>> command before load the file?
I view new options with suspicion by default. But, I have not really
thought about this one much, so I can't really say.
>> Cause my gdb support multi-arch, but need "set gnutarget" everytime
>> when I use it. So I want add a alias in my bashrc like alias
>> arm-gdb='gdb -ex "set gnutarget"' or a shell to make it works better.
You can always make a little shell script wrapper that does exactly what
you want.
Tom