src/gdb ChangeLog dwarf2loc.c

palves@sourceware.org palves@sourceware.org
Thu Sep 5 14:49:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-09-05 14:49:13

Modified files:
	gdb            : ChangeLog dwarf2loc.c 

Log message:
	dwarf2loc.c: minor cleanup. don't print integer with paddress.
	
	A couple years ago, dwarf_expr_fetch used to return a CORE_ADDR.  It
	was made to return a ULONGEST since, and the 'dwarf_regnum' local
	adjusted accordingly, but, we kept printing it with paddress.
	gdbarch_dwarf2_reg_to_regnum takes the register number as 'int', so
	there's really no point in using ULONGEST/pulongest either.
	
	gdb/
	2013-09-05  Pedro Alves  <palves@redhat.com>
	
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
	local is now int instead of ULONGEST.  Print it with %d
	instead of paddress.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15978&r2=1.15979
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2loc.c.diff?cvsroot=src&r1=1.176&r2=1.177



More information about the Gdb-cvs mailing list