aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-03-24 19:47:17 +0000
committerTom Tromey <tromey@redhat.com>2011-03-24 19:47:17 +0000
commit56435ebec80eae3bd6511f386f9a86f8703b3de8 (patch)
tree5e258a5bbd3f7fcca9982911be897f631db36ca7 /gdb/linespec.h
parent7efd8fc2d8d20fbed21a8e4271ab6768ddc75ea0 (diff)
downloadfsf-binutils-gdb-56435ebec80eae3bd6511f386f9a86f8703b3de8.zip
fsf-binutils-gdb-56435ebec80eae3bd6511f386f9a86f8703b3de8.tar.gz
fsf-binutils-gdb-56435ebec80eae3bd6511f386f9a86f8703b3de8.tar.bz2
* 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.
Diffstat (limited to 'gdb/linespec.h')
-rw-r--r--gdb/linespec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/linespec.h b/gdb/linespec.h
index 3366fc6..d8d2ec9 100644
--- a/gdb/linespec.h
+++ b/gdb/linespec.h
@@ -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.