Thanks.
I'll be working on this tonight & tomorrow am.
You've been lots of help.
Some notes ...
I still get the undefined references to regs, even though they are defined static within the avr8-stub.c at line 550
static unsigned char regs[GDB_NUMREGBYTES];
and used throughout avr8-stub.c
except at line 1946 in:
__attribute__((always_inline))
static inline void save_regs1 (void)
{
asm volatile (
"push r0 \n"
"in r0, __SREG__ \n"
"cli \n"
"sts regs+32, r0\n"
"pop r0 \n"
"sts regs+31, r31\n"
"sts regs+30, r30\n"
"ldi r31, hi8(regs)\n"
"ldi r30, lo8(regs)\n"
"std Z+29, r29\n");
#if 0
asm volatile (
"sts regs+31, r31\n"
"sts regs+30, r30\n"
"ldi r31, hi8(regs)\n"
"ldi r30, lo8(regs)\n"
"std Z+29, r29\n"
"in r29, __SREG__\n");
#endif
}
As per your notes ...
I have no missing files in my solution
How do I enable Deep Search?
I've commented out all Serial references
When you refer to AVR GB Stub you mean avr8-stub..h
I've attached a zip of my entire solution
Abbott