I commented out those 18 dummy registers and it seems to be working,
What is going on?

On Sun, Jun 9, 2013 at 10:33 AM, [email protected] <[email protected]> wrote:
> OpenOCD is sending 90 registers to gdb but gdb doesn't want 90. What
> is this 18 unknown registers to handle gdb requests?
>
> MIPSNUMCOREREG 38
>
> /* number of mips dummy fp regs fp0 - fp31 + fsr and fir
>  * we also add 18 unknown registers to handle gdb requests */
>
> #define MIPS32NUMFPREGS 34 + 18
>
> But my gdb is complaining about too many regisiters....
>
> jonsmirl@terra:/home/apps/openwrt$
> ./staging_dir/toolchain-mipsel_dsp_gcc-4.7.2_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-uclibc-gdb
> GNU gdb (Linaro GDB) 7.5-2012.12-1
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=x86_64-linux-gnu
> --target=mipsel-openwrt-linux-uclibc".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>.
> (gdb) target remote localhost:3333
> Remote debugging using localhost:3333
> Remote 'g' packet reply is too long:
> 00000000620000000a0000004000000000000000000000001050f780c080fc80439d11001050f780d0b2fc80d52ef5800000000000000000ca2ef580000000000040fb80a02ff580b02ff780000000000000000000000000000000000000000000000000ac72fc800000ff810000000060c2fc80d830f5800000000055aa55aa060000000000000001000000424644202c8000600402008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
> (gdb) quit
>
>
>
> --
> Jon Smirl
> [email protected]



-- 
Jon Smirl
[email protected]

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to