This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Can't set architecture to m32c on m32c-elf-gdb.
Hello,
Thanks for your suggestion.
On 2008/12/03, at 23:08, Daniel Jacobowitz wrote:
> Maybe it's supposed to be "set architecture m32c:m16c" ?
No. What I want to is just enable m32c register set
when I put "set architecture m32c".
Additional information about this issue is follows:
Before applied my patch.
| (gdb) set architecture m32c
| The target architecture is assumed to be m16c
The architecture settings is not changed.
And there seems to be no change around register settings.
| (gdb) print $dma0
| $1 = void
It's an unsuitable behaviour, right?
After applied my patch.
| (gdb) set architecture m32c
| The target architecture is assumed to be m32c
And we can use some extra registers for m32c.
> On Wed, Dec 03, 2008 at 06:16:29PM +0900, Masaki Muranaka wrote:
>> Hello,
>>
>> I couldn't set architecture m16c to m32c on the HEAD revision of gdb,
>> I think it is caused by definition in bfd/cpu-m32c.c but I'm not certain.
>> Any comments appreciated.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
Masaki Muranaka
Monami Software