mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 05:54:26 +08:00
* jv-valprint.c (java_value_print): Only print non-null Strings.
This commit is contained in:
parent
dbb41be163
commit
8dccf76137
@ -1,3 +1,7 @@
|
||||
2000-08-08 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* jv-valprint.c (java_value_print): Only print non-null Strings.
|
||||
|
||||
2000-08-09 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* core-sol2.c (fetch_core_registers): Protoize; add prefatory
|
||||
|
@ -198,9 +198,10 @@ java_value_print (value_ptr val, struct ui_file *stream, int format,
|
||||
if (TYPE_CODE (type) == TYPE_CODE_PTR
|
||||
&& TYPE_TARGET_TYPE (type)
|
||||
&& TYPE_NAME (TYPE_TARGET_TYPE (type))
|
||||
&& strcmp (TYPE_NAME (TYPE_TARGET_TYPE (type)), "java.lang.String") == 0
|
||||
&& strcmp (TYPE_NAME (TYPE_TARGET_TYPE (type)), "java.lang.String") == 0
|
||||
&& (format == 0 || format == 's')
|
||||
&& address != 0)
|
||||
&& address != 0
|
||||
&& value_as_pointer (val) != 0)
|
||||
{
|
||||
value_ptr data_val;
|
||||
CORE_ADDR data;
|
||||
|
Loading…
Reference in New Issue
Block a user