This is the mail archive of the gdb-cvs@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]

src/gdb ChangeLog breakpoint.c d10v-tdep.c dum ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cagney_frameaddr-20030403-branch
Changes by:	cagney at sourceware dot org	2003-04-03 17:01:49

Modified files:
	gdb            : ChangeLog breakpoint.c d10v-tdep.c 
	                 dummy-frame.c frame.c frame.h stack.c 

Log message:
	2003-04-03  Andrew Cagney  <cagney at redhat dot com>
	
	* frame.c (frame_id_eq): Update.  Compare function addresses.
	(get_frame_func): New function.
	(frame_func_unwind): New function.
	(legacy_get_prev_frame): Move linking of prev to next to the start
	of the function.
	(frame_id_p): Update.
	(get_frame_id): Return the frame's "id".  Do not set "frame".
	(frame_id_build): Update.
	(frame_id_inner): Update.
	(create_sentinel_frame): Do not set the "pc".
	(select_frame): Use get_frame_pc.
	(legacy_saved_regs_this_id): Use frame_id_build.
	(create_new_frame): Set the frame's ID.  Store the PC in the
	sentinel frame's PC unwind cache.
	(legacy_get_prev_frame): Do not set "pc" or "frame".  Instead use
	frame_pc_unwind, frame_id_build, deprecated_update_frame_pc_hack,
	and deprecated_update_frame_base_hack.
	(get_prev_frame): Do not set "pc" or "frame", instead use
	frame_pc_unwind.
	(get_frame_pc): Use frame_pc_unwind.
	(find_frame_sal): Use get_frame_pc.
	(get_frame_base): Return the frame ID's stack address.
	(deprecated_update_frame_base_hack): Set the frame ID's stack
	address.
	(frame_id_eq, frame_id_p, frame_id_inner, get_frame_id): Add debug
	print statements.
	
	* d10v-tdep.c (d10v_frame_unwind_cache): Use frame_func_unwind.
	(d10v_frame_this_id): Get the frame's function.
	(d10v_frame_this_id): Use frame_id_eq.
	(d10v_unwind_dummy_id): Use frame_id_build.
	
	* stack.c (print_frame_info): Use get_frame_pc.
	
	* dummy-frame.c (dummy_frame_this_id): Use frame_id_build.  Update
	parameter to find_dummy_frame.
	
	* breakpoint.c (print_one_breakpoint): Update.
	
	* frame.h (struct frame_id): Rename "base" to "stack_addr",
	replace "pc" with "func_addr".
	(frame_id_build): Update parameter names and comment.
	(struct frame_info): Delete "frame" and "pc" fields.
	(frame_func_unwind): Declare.
	(get_frame_func): Declare.
	(struct frame_info): Add field "func".

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.4035&r2=1.4035.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.117&r2=1.117.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/d10v-tdep.c.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.101&r2=1.101.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dummy-frame.c.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.15&r2=1.15.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.93&r2=1.93.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.80&r2=1.80.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/stack.c.diff?cvsroot=src&only_with_tag=cagney_frameaddr-20030403-branch&r1=1.72&r2=1.72.2.1


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