thanks for the pointer. i finally got around to playing again (day job
keeps getting in the way). adding the trap33 assignment worked great
and debugging is working as well as expected. ;) i did a quick grep
for (trap33|33) through various gdb and kernel source files but
couldn't find the dependency to it. i'd like to understand this more,
but i guess a more thorough digging through source is required in
order to "get it". ;)
> email@example.com wrote:
> > hi, i've been trying to get remote debugging working but am running
> > into problems. i hope someone can recognize what i'm doing wrong since
> > i'm at a loss.
> > > 1.3 Patch the kernel for Trap #1 support(breakpoint)
> > > patch linux/arch/m68knommu/kernel/traps.c
> > >
> > > about line 210?
> > > add new vector like this
> > > _ramvec = trap15;
> > > _ramvec = trap33; <---- added line
> > > this trap33 is #if 0ed below
> I ran into the same problem trying to install the RTLinux patches into
> same CDROM tree. All of those _ramvec[xx]=trapxx statements have been
> into a different file. On my system they are in
> I am now trying to install all the failed patch segments by hand, but
> since I
> don't know what I'm doing I don't have much hope that what I generate
> will work!
> It would be nice if someone who did know could take a look and generate
> > also, my version already contained this particular patch:
> > > delete the line that treat Trap #1 as a Illeagal Instructin Signal
> > > about line 485?
> > > case VEC_TRAP1: ----> delete this
> > >
> > > add new VEC_TRAP1 case statement before defalut case
> > > about line 530?
> > > case VEC_TRAP1:
> > > /* kwonsk: is this right? */
> > > fp->ptregs.pc -= 2;
> > > sig = SIGTRAP;
> > > break;
> > > default:
> > > sig = SIGILL;
> > > break;
> As did mine. In fact the RTL patch adds a code block similar to this,
> but (presumably)
> generated by kwonsk, so no question :) I deleted this block in favor of
> the RTL version.
> Who knows?!
> Pete Siddons.
> This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:38 EST