Browse Source

2007-08-28 Michael Snyder <msnyder@access-company.com>

* mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to
	check for null before calling check_typedef.
gdb_6_7-branch
Michael Snyder 19 years ago
parent
commit
57cdecd25d
  1. 3
      gdb/ChangeLog
  2. 3
      gdb/mi/mi-cmd-var.c

3
gdb/ChangeLog

@ -1,5 +1,8 @@
2007-08-28 Michael Snyder <msnyder@access-company.com>
* mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to
check for null before calling check_typedef.
* NEWS: Mention Coverity bug fixes.
2007-08-27 Markus Deuling <deuling@de.ibm.com>

3
gdb/mi/mi-cmd-var.c

@ -325,8 +325,7 @@ Must be: 0 or \"%s\", 1 or \"%s\", 2 or \"%s\""),
static int
mi_print_value_p (struct type *type, enum print_values print_values)
{
if (type != NULL)
type = check_typedef (type);
type = check_typedef (type);
if (print_values == PRINT_NO_VALUES)
return 0;

Loading…
Cancel
Save