This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getunwind syscall


>>>>> On Fri, 31 Oct 2003 15:01:26 -0500, Daniel Jacobowitz <drow@mvista.com> said:

  Daniel> On Fri, Oct 31, 2003 at 02:28:10PM -0500, J. Johnston wrote:
  >> More info from David.

  Daniel> So the getunwind syscall returns data from the gate DSO?

Almost.  It returns the equivalent data as contained in the unwind
tables of the gate DSO.  The data itself isn't quite identical, but it
serves the same purpose, yese.

  Daniel> I was under the impression it was some register backing
  Daniel> store, or similar.

Nope.

  Daniel> In that case Roland's patches for the same issue on x86
  Daniel> should be persued instead of using the syscall.

Longer-term, certainly.  But in the medium term (I'd say for the next
1-2 years at least), we need the syscall support for the many (older)
kernels that are out there already.  Only 2.6-based kernels will have
the DSO.

	--david


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]