mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
gdb
* gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. (TYPE_CPLUS_REALLY_JAVA): New macro. * dwarf2read.c (process_structure_scope): Set TYPE_CPLUS_REALLY_JAVA. gdb/testsuite * gdb.java/jprint.java (jprint.hi): New field. * gdb.java/jprint.exp: Print string.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// jprint.java test program.
|
||||
//
|
||||
// Copyright 2004, 2010
|
||||
// Copyright 2004, 2010, 2011
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// Written by Jeff Johnston <jjohnstn@redhat.com>
|
||||
@ -42,6 +42,7 @@ class jvclass {
|
||||
|
||||
public class jprint extends jvclass {
|
||||
public static Properties props = new Properties ();
|
||||
public static String hi = "hi maude";
|
||||
|
||||
public int dothat (int x) {
|
||||
int y = x + 3;
|
||||
|
Reference in New Issue
Block a user