[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Multicore support
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of James Blackburn
> Sent: July-09-09 1:59 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] Multicore support
>
> 2009/7/9 Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>:
> > I'm trying to understand how multiple gdb sessions would
> make this work
> > though.
> > I guess I'm not clear on what is meant by 'multi-core'.
> GDB allows to debug
> > a process,
> > so running multiple GDB would allow to debug multiple
> processes. How does
> > that fit
> > with cores? Is a process restricted to a a single core in your OS?
>
> On the embedded platform I work on, we have a multi-core processor
> with each core running the same code from a shared memory. It's
> possible to connect a debugger to the cores individually, and it
> therefore makes sense to do so as they're effecively all running the
> same process.
Oh, so you have a different gdb agent on each core?
That would make sense.
Thanks!
>
> Cheers,
> James
>
> >
> > One thing you may or may not be aware of is that GDB 7.0
> (to be released in
> > September)
> > will support Multi-Process debugging. This means that with
> a single GDB you
> > could
> > debug more than one process at the same time. DSF-GDB
> already supports
> > this.
> > Maybe this will be help your effort?
> >
> > Marc
> >
> > ________________________________
> > From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> > Behalf Of Pawel Piech
> > Sent: July-08-09 11:50 AM
> > To: CDT General developers list.
> > Subject: Re: [cdt-dev] Multicore support
> >
> > We have discussed this use case in DSF-GDB in the past, but
> we have not
> > pursued it since it hasn't been important to any of the
> committers or
> > contributors. If anyone would like to contribute some time
> and code for
> > this feature I'd be happy to advise.
> >
> > Cheers,
> > Pawel
> >
> > James Blackburn wrote:
> >
> > Hi Bhavan,
> >
> >
> >
> > And we think we need to create separate sessions of gdb to
> support multi
> > core debugging.
> >
> > If we do so , does the debug view supports this? i.e. do we
> need to perform
> > any modifications in the debug view?
> >
> >
> > I got this working a while back using CDT's CDI. It was
> actually very
> > straightforward - a day's effort or so. To get started I'd
> recommend
> > checking out the debug plugins and seeing how the built-in launches
> > work. I don't remember the exact details, but my original post may
> > give you some clue:
> > http://dev.eclipse.org/mhonarc/lists/cdt-debug-dev/msg01512.html
> >
> > I'm sure others will have ideas on how this can be done with DSF.
> >
> > Cheers,
> >
> > James
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> >
> >
> >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> >
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>