This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB C API -- does such a thing exist?
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Stan Shebs <stanshebs at earthlink dot net>
- Cc: gdb at sourceware dot org
- Date: Fri, 17 Oct 2014 14:17:06 +0200
- Subject: Re: GDB C API -- does such a thing exist?
- Authentication-results: sourceware.org; auth=none
- References: <CAMQQO3=gR_6=D__Q_rn2Q8LQmE+bdokhAmbKh6fEkkNMH42fxA at mail dot gmail dot com> <5440588D dot 8060503 at earthlink dot net>
On Fri, 17 Oct 2014 01:45:17 +0200, Stan Shebs wrote:
> MI is really the safe way to go.
Besides that debugging multi-process apps is a pain. GDB has no support for
RPC (as remote API calls in general, not SunRPC) calls in any of the RPC
frameworks, moreover GDB does not use any standard RPC library and reinvents
the weel by implementing its own MI protocol + code.
When I wrote some multi-process app (two I remember) I always put there
a switch so that it can run also in-process for debugging purposes.
Jan