* c-valprint.c (print_function_pointer_address): New function
authorPeter Schauer <Peter.Schauer@mytum.de>
Mon, 20 Nov 2000 20:33:53 +0000 (20:33 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Mon, 20 Nov 2000 20:33:53 +0000 (20:33 +0000)
commit6e778545110c1609b262e37ece4875a4e5eef46c
tree43301ce47f6812afa25b66957a1229d9c6550b63
parent0c9f8a6941a98973e090275669652653e6a78c8c
* c-valprint.c (print_function_pointer_address):  New function
to automatically dereference a function pointer for printing
if necessary.
(c_val_print):  Use print_function_pointer_address when printing
function pointer addresses.
gdb/ChangeLog
gdb/c-valprint.c