* linespec.h (struct linespec_result) <special_display>: New

field.
	* breakpoint.h (struct breakpoint) <display_canonical>: New
	field.
	* breakpoint.c (print_breakpoint_location): Respect
	display_canonical.
	(create_breakpoint_sal): Add 'display_canonical' parameter.
	(create_breakpoints_sal): Update.
	(create_breakpoint): Update.
This commit is contained in:
Tom Tromey
2011-03-24 19:47:17 +00:00
parent 7efd8fc2d8
commit 56435ebec8
4 changed files with 28 additions and 4 deletions

View File

@@ -25,6 +25,11 @@ struct symtab;
struct linespec_result
{
/* If non-zero, the linespec should be displayed to the user. This
is used by "unusual" linespecs where the ordinary `info break'
display mechanism would do the wrong thing. */
int special_display;
/* If non-NULL, an array of canonical names for returned
symtab_and_line objects. The array has as many elements as the
`nelts' field in the symtabs_and_line returned by decode_line_1.