This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src loc2c.c tapsets.cxx loc2c-test.c loc2c.h
- From: roland at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 18 Aug 2005 08:51:30 -0000
- Subject: src loc2c.c tapsets.cxx loc2c-test.c loc2c.h
CVSROOT: /cvs/systemtap
Module name: src
Changes by: roland@sourceware.org 2005-08-18 08:51:30
Modified files:
. : loc2c.c tapsets.cxx loc2c-test.c loc2c.h
Log message:
2005-08-18 Roland McGrath <roland@redhat.com>
* loc2c.c (struct location): New member `emit_address'.
(alloc_location): Initialize new member from ORIGIN.
(location_from_address): New argument EMIT_ADDRESS.
Initialize new member.
(translate): Use LOC->emit_address hook to format DW_OP_addr constant.
(location_relative): Die if DW_OP_addr is used.
(default_emit_address): New function.
(c_translate_location): New argument EMIT_ADDRESS, pass it down.
Use default_emit_address if argument is null.
* loc2c.h: Update decl.
* loc2c-test.c (handle_variable): Update caller.
* tapsets.cxx (dwflpp::literal_stmt_for_local): Update caller.
(dwflpp::loc2c_emit_address): New static method.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/loc2c.c.diff?cvsroot=systemtap&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.39&r2=1.40
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/loc2c-test.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/loc2c.h.diff?cvsroot=systemtap&r1=1.5&r2=1.6