2004-06-07 Andrew Cagney <cagney@gnu.org>

* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
	* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
	Rename PC_REQUIRES_RUN_BEFORE_USE.
	* breakpoint.c (breakpoint_sals_to_pc): Update.  Wrap reference in
	#ifdef.
This commit is contained in:
Andrew Cagney
2004-06-07 17:58:33 +00:00
parent 83ecb59f2d
commit 45b7523071
4 changed files with 12 additions and 11 deletions

View File

@@ -5025,7 +5025,8 @@ breakpoint_sals_to_pc (struct symtabs_and_lines *sals,
Give the target a chance to bless sals.sals[i].pc before we
try to make a breakpoint for it. */
if (PC_REQUIRES_RUN_BEFORE_USE (sals->sals[i].pc))
#ifdef DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE
if (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE (sals->sals[i].pc))
{
if (address == NULL)
error ("Cannot break without a running program.");
@@ -5033,6 +5034,7 @@ breakpoint_sals_to_pc (struct symtabs_and_lines *sals,
error ("Cannot break on %s without a running program.",
address);
}
#endif
}
}