summaryrefslogtreecommitdiff
path: root/gdb/jv-valprint.c
Commit message (Collapse)AuthorAgeFilesLines
* 2004-01-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-01-091-1/+3
| | | | * jv-valprint.c, ser-unix.c: Add missing copyright years.
* 2004-01-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-01-051-3/+0
| | | | | | | | | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" should be a switch case and not a label. * mips-tdep.c (mips32_next_pc): Delete unused labels "greater_equal_branch" and "less_zero_branch". * jv-valprint.c (java_print_value_fields): Delete unused label "flush_it".
* 2003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * alpha-nat.c: Remove some occurances of "register". * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. * typeprint.c, utils.c, valarith.c, valops.c: Ditto. * values.c, vax-tdep.c, xcoffread.c: Ditto.
* 2003-05-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-241-3/+12
| | | | | | | | * p-valprint.c (pascal_val_print): Replace extract_address with the inline equivalent extract_unsigned_integer. * jv-valprint.c (java_value_print): Ditto. * ada-valprint.c (ada_val_print_1): Ditto. * ada-lang.h (EXTRACT_ADDRESS): Ditto.
* 2003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-151-1/+0
| | | | | | | | | | | | | | * c-lang.c (c_printstr): Delete "extern inspect_it" declaration. * p-valprint.c (pascal_object_print_value_fields): Ditto. * p-lang.c (pascal_printstr): Ditto. * objc-lang.c (objc_printstr): Ditto. * m2-lang.c (m2_printstr): Ditto. * jv-valprint.c (java_print_value_fields): Ditto. * f-lang.c (f_printstr): Ditto. * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and for repeat_count_threshold. * Makefile.in (cp-valprint.o): Update dependencies.
* * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, notTom Tromey2003-02-211-2/+3
| | | | TYPE_NAME, when printing a String value. PR java/1075.
* * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,Tom Tromey2002-08-271-0/+1
| | | | | | | | | | | | | | | ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o): Update dependencies. * i387-tdep.c: Include gdb_string.h. * osabi.c: Likewise. * i386-linux-nat.c: Likewise. * lin-lwp.c: Likewise. * ax-gdb.c: Likewise. * signals/signals.c: Likewise. * jv-valprint.c: Likewise. * p-lang.c: Likewise. * c-valprint.c: Likewise. * cp-abi.c: Likewise.
* * jv-valprint.c (java_val_print): Handle `char' as a special caseTom Tromey2002-05-091-8/+7
| | | | of TYPE_CODE_INT.
* s/value_ptr/struct value */Andrew Cagney2001-10-211-10/+10
|
* * value.h (value_as_address): Rename value_as_pointer.Andrew Cagney2001-10-161-4/+4
| | | | | | * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update.
* Fix -Werror -Wuninitialized warnings.Andrew Cagney2001-03-231-1/+2
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+1
|
* * jv-valprint.c (java_value_print): Only print non-null Strings.Tom Tromey2000-08-101-2/+3
|
* 2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-08-091-1/+2
| | | | | | | | | | | | | | * blockframe.c (sigtramp_saved_pc): Use dynamic allocation, since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH). * irix4-nat.c (get_longjmp_target): Ditto. * irix5-nat.c (get_longjmp_target): Ditto. * jv-valprint.c (java_value_print): Ditto. * m3-nat.c (get_cprocs): Ditto. * m68k-tdep.c (get_longjmp_target): Ditto. * mips-nat.c (get_longjmp_target): Ditto. * mipsv4-nat.c(get_longjmp_target): Ditto. * pa64solib.c (read_dynamic_info): Ditto. * solib.c (elf_locate_base): Ditto.
* Protoization.Kevin Buettner2000-07-301-25/+8
|
* 2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-04-271-0/+1
| | | | | | | | | | * jv-valprint.c (java_val_print): Add arg declaration, fix compiler warning. * corelow.c (core_open): Call set_gdbarch_from_file so that gdbarch becomes aware of the architecture encoded in the corefile. * findvar.c (write_register_gen): Export this useful interface. * value.h (write_register_gen): Declare.
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-5/+9
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-1/+1
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-46/+47
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-1/+6
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-0/+4
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-161-0/+526
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-486/+0
|
* hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1998-12-281-8/+11
| | | | ChangeLog-gdbtk for details.
* Clean up function return types. Functions not returning values,Andrew Cagney1998-12-031-0/+1
| | | | functions unnecessarily returning values.
* * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)Stu Grossman1998-10-051-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print) ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c (f_printstr f_printchar emit_char) f-valprint.c (f_val_print) jv-lang.c (java_printchar java_emit_char) jv-valprint.c (java_value_print java_val_print) language.c (unk_lang_printchar unk_lang_printstr unk_lang_emit_char) language.h (struct language_defn LA_PRINT_STRING LA_EMIT_CHAR) m2-lang.c (m2_printstr m2_printchar emit_char) printcmd.c (print_formatted) scm-lang.c (scm_printstr) valprint.c (val_print_string) value.h (val_print_string): Add emit_char routines to language_desc struct to allow finer control over language specific character output issues. Add character width arg to printstr routines to allow handling of wchar_t/Unicode strings. Fix c_printstr to handle wide characters. Supply width argument to LA_PRINT_STRING and val_print_string. * jv-lang.c (java_object_type dynamics_objfile java_link_class_type get_dynamics_objfile get_java_object_type) jv-lang.h (get_java_object_type): Make lots of things static. * expprint.c (dump_prefix_expression dump_subexp): Move opcode name printing to common routine (op_name). * (dump_subexp): Add support for OP_SCOPE.
* * c-lang.h, cp-valprint.c (static_field_print): Make non-static.Per Bothner1997-10-031-4/+303
| | | | | | | | | | | | | | | | | | * parse.c, parser-defs.h (length_of_subexp): Make non-static. * jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary. (ArrayAccess): Likewise. Also remove warnings. (CastExpression): Implement (typename) UnaryExpression. (push_qualified_expression_name): Fix small bug. * jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names. (_initialize_jave_language): Fix typo (jave -> java). (java_language): Java does *not* have C-style arrays. (java_class_from_object): Make more general (and complicated). (java_link_class_type): Fix typo "super" -> "class". Handle arrays. (java_emit_char, java_printchar): New function. (evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays. * jv-valprint.c (java_value_print): Implement printing of Java arrays. (java_print_value_fields): New function. (java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.
* * jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.Per Bothner1997-09-171-15/+73
| | | | | | | | | | | | | | | | | (push_expression_name): New, to handle expression names. (push_qualified_expression_name): New, for qualified expression names. (parse_number): Fix bugs in parsing of non-decimal integers. * jv-lang.h, jv-lang.c (java_demangle_type_signature): New. * jv-lang.c (type_from_class): Just use name with java_lookup_class. (java_link_class_type): Add dummy "class" field. (java_lookup_type): New. (evaluate_subexp_java case STRUCTOP_STRUCT): Force to address. * jv-typeprint.c (java_type_print_base): Don't print "class" field. Use java_demangle_type_signature to print array class types. * jv-valprint.c (java_value_print): Preliminary array support. Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR. (java_val_print): Move check for object type to java_value_print. Check for null. Print pointer as @HEXADDR, not 0xHEXADDR.
* * jv-lang.c (get_java_utf8_name): Re-write so it works withPer Bothner1997-08-051-2/+7
| | | | | | | | | | implied (missing) data field, as defined by cc1java. (java_link_class_type): Type length and field offset (in interior) now includes object header. Get static fields working. * jv-lang.h (JAVA_OBJECT_SIZE): Update for change in Kaffe. * jv-typeprint.c (java_type_print_derivation_info, java_type_print_base): New functions, for better Java output. * jv-valprint.c: Start to support Java-specific output.
* * java-*: Renamed to jv-*, to make fit within 14 characters.Per Bothner1997-07-311-0/+75
* jv-lang.h (java_type_print): Added declaration. * jv-typeprint.c: New file. Provides java_print_type. * jv-lang.c (java_link_class_type): New function. (java_language_defn): Replace c_print_type by java_print_type. * Makefile.in: Update accordingly.