aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-10-24fix for PR 13618 -- gdb incorrectly reports thread information.David Taylor4-0/+53
If other systems besides nm-sun4sol2 exhibit the problem, they may need definitions of FIND_NEW_THREADS and a corresponding support function.
1997-10-23 * dbxread.c (process_one_symbol): Put back initializationJeff Law2-3/+13
of a variable lost during last change. Don't perform assignment inside conditionals. * stabsread.c (symbol_reference_defined): Return -1 for error/not found. All callers changed appropriately. (define_symbol): Don't perform assignment inside conditionals.
1997-10-22 * mdebugread.c (psymtab_to_symtab_1): Handle new live range stabsJeff Law5-149/+176
entries. * dbxread.c: More comment cleanups. * stabsread.c: Fix various violations of the GNU coding and formatting standards. Update/add comments to make code clearer. (resolve_reference): Delete unused function. (ref_search_val): Remove function. It didn't belong in stabsread.c (resolve_live_range): No longer returns a value. Do not add it to the live range list until the entire range stab has been parsed. (get_substring): Remove duplicate declaration. (resolve_symbol_reference): Now static. Remove unnecessary code to deal with cleanups. (ref_add): Use xrealloc instea of realloc. (process_reference): Reorganize slightly to make clearer. * stabsread.h (resolve_symbol_reference): Remove declaration. (resolve_reference): Likewise. * symtab.c (find_active_alias): New function. (lookup_block_symbol): Use find_active_alias. * symtab.h (struct range_list): Fix dangling struct live_range reference. (ref_search_val): Remove decl. * symtab.h (struct range_list): Renamed from struct live_range. (struct symbol): Remove struct live_range_info substruct. Bring the alias list and range list fields up to the toplevel as "aliases" and "ranges". (SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes. (SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete. * stabsread.c: Corresponding changes. Bring first round of cleanups over from r5900 branch.
1997-10-22More comment fixes to make the code clearer.Jeff Law1-1/+6
1997-10-22 * dbxread.c: Fix various violations of the GNU coding andJeff Law2-23/+65
formatting standards. Update/add comments to make code clearer. (process_later): Use xrealloc instead of realloc.
1997-10-22Minor comment fix.Jeff Law1-2/+1
1997-10-22 * symtab.c: Include inferior.h.Jeff Law2-2/+5
Brought over from r5900 branch.
1997-10-21 * ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).Per Bothner2-5/+9
1997-10-17 * infcmd.c: Improve grammar of "set args" help.Stan Shebs1-0/+4
1997-10-16Make decl of sds_load staticMichael Meissner2-1/+5
1997-10-15* sparc/tm-sparc.h (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.David Edelsohn1-0/+1
1997-10-15 (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.David Edelsohn1-1/+3
1997-10-15 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacementDavid Edelsohn2-1/+7
to 30 bits in call insn to handle --enable-64-bit-bfd.
1997-10-15Bring over from r5900 branch.Jeff Law2-6/+30
1997-10-09 Added MIPS16 PC masking for disassembly. See PR 12149.Frank Ch. Eigler2-0/+20
1997-10-07New file describing how stabs for live range splitting work. Should beJeff Law2-0/+532
folded into the main stabs documentation.
1997-10-06Remove sanitized-out Magic Cap support, will never be releasedStan Shebs6-146/+0
1997-10-06Remove sanitized-out Magic Cap support, will never be releasedStan Shebs12-1449/+2
1997-10-05 * remote-mips.c (mips-initialize): Work around flakiness inMark Alexander1-0/+5
some versions of PMON after loading a program.
1997-10-03 * c-lang.h, cp-valprint.c (static_field_print): Make non-static.Per Bothner8-29/+524
* 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.
1997-10-03 * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16Mark Alexander2-1/+22
addresses to be odd. (MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define. * mips-tdep.c (mips_extract_return_value): Doubles aren't returned in FP0 if FP registers are single-precision only. start-sanitize-r5900 * config/mips/tm-r5900.h (MIPS_LAST_FP_ARG_REGNUM): Redefine to disable use of FP registers for function arguments. end-sanitize-r5900
1997-09-30 * mips-tdep.c (set_reg_offset): New function.Mark Alexander3-44/+87
(mips16_heuristic_proc_desc): Calculate offsets of registers saved by entry pseudo-op after rest of prologue has been read. Use set_reg_offset to ignore all but the first save of a given register. (mips32_heuristic_proc_desc): Initialize frame adjustment value. * remote-sim.c (gdbsim_store_register): Don't update registers that have a null or empty name. * findvar.c (read_register_bytes): Don't fetch registers that have a null or empty name.
1997-09-30Re-define MAX_REGS and REGISTER_NAMES instead of defining them.Andrew Cagney1-0/+3
(Move definition past #include tm-mips64).
1997-09-30Add access to hi part of r5900 128 bit registers.Andrew Cagney2-0/+14
1997-09-27 * command.c (add_cmd, add_show_from_set): Insert new commands inJason Molenda2-8/+49
alphabetical order.
1997-09-26 * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjustMark Alexander4-12/+34
member for storing offset of MIPS16 frame pointer from SP. * mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout. (PROC_FRAME_ADJUST): Define. (mips16_heuristic_proc_desc): Store frame pointer adjustment value. (get_frame_pointer): Use frame pointer adjustment value when calculating frame address. * remote-sim.c (gdbsim_fetch_register): Don't fetch registers that have a null or empty name. start-sanitize-tx19 * config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define. (REGISTER_NAMES): Redefine to eliminate FP registers. * config/mips/tm-tx19l.h: Ditto. end-sanitize-tx19
1997-09-26 * configure.tgt: Set gdb_target to r5900.Jeff Law4-4/+32
* config/mips/tm-r5900.h, config/mips/r5900.mt: New files * mips-tdep.c (_initialize_mips_tdep): Allow target files to override default FPU type. Brought over from r5900 branch.
1997-09-26 * configure.tgt (v850-*-*): necmsg.lib instead of v850.lib.Felix Lee2-1/+11
1997-09-25* config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn withAndrew Cagney1-8/+0
RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two words.
1997-09-25Only use get_ds_base function on true Windows.Andrew Cagney2-3/+11
1997-09-25 * The following block of changes add support for debugging assemblyStu Grossman9-3/+1486
source files. * breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't associated with a function. * buildsym.c (record_line start_symtab end_symtab): Don't delete symtabs which only have line numbers (but no other debug symbols). * dbxread.c (read_dbx_symtab end_psymtab): Ditto. * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use intrinsic simulator breakpoints if available, otherwise do it the hard way. * configure.tgt: Add d30v. * d30v-tdep.c: New file. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files.
1997-09-25d30v sanitizationStu Grossman1-0/+14
1997-09-24 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,Bob Manson2-1/+12
define vxworks when building the testcase. * gdb.base/ptype.exp: Fix testnames to be unique. * gdb.base/radix.exp: Ditto. * gdb.base/term.exp: Ditto. * gdb.base/whatis.exp: Ditto. * gdb.c++/classes.exp: Ditto. More misc fixes.
1997-09-23 * Makefile.in (ALLCONFIG): Remove, inaccurate and never used.Stan Shebs1-0/+4
1997-09-23vr5900 -> r5900Jeff Law1-2/+1
r5900 is always little endian.
1997-09-23 * mips-tdep.c (mips_push_arguments): Tweak alignment of registerPeter Schauer2-1/+26
value if the remaining length of a non-integral argument is smaller than the register size for big-endian non-EABI mode. * rs6000-tdep.c (branch_dest): Handle return from signal handler function via sigreturn kernel call.
1997-09-22 * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c:Dawn Perchik4-37/+36
Fix prototypes. Remove function scoped function declarations.
1997-09-21Removed v850eq sanitization.Nick Clifton3-39/+6
1997-09-20 * config/i386/windows.mh (XDEPFILES): need to list some filesFelix Lee2-13/+13
explicitly, for odd reasons.
1997-09-18v850 files that weren't being removed if !keep-v850Felix Lee2-3/+12
1997-09-17Fix tx19 sanitization.Mark Alexander1-4/+14
1997-09-17 * gdb.base/callfuncs.exp: Fix indentation.Bob Manson2-42/+68
* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if suppress_flag has been set. (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub target feature.
1997-09-17 * valops.c (search_struct_field): Search basesclasses inPer Bothner1-1/+5
ascending, not descending order. Hack to avoid virtual baseclass botch for Java interfaces.
1997-09-17 * jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.Per Bothner6-46/+345
(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.
1997-09-17 * util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):Per Bothner1-0/+10
New cleanup clean for cleanups to be run when at each 'run' command. * infcmd.c (run_command): Call do_run_cleanups. * solib.c (find_solib): Register cleanup to call clear_solib on a new 'run' command. (symbol_add_stub): First look for existing objfile with same name.
1997-09-16 * monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.Stan Shebs4-6/+27
* monitor.c (monitor_wait_srec_ack): Add DINK32-specific ack code. * dsrec.c (load_srec): Always write a header S-record. * dink32-rom.c (dink32_regnames): Fix the names of float registers. (dink32_cmds): Set to use S-record downloading with acks. * remote-est.c (est_cmds): Add MO_SREC_ACK_PLUS flag.
1997-09-16 * remote-sds.c (sds_load): New function.Stan Shebs2-49/+26
(sds_ops): Use it. (sds_open): Don't set inferior_pid yet. (sds_kill): Remove contents. (sds_create_inferior): Rewrite to work more like monitor interfaces. (sds_restart): Remove, no longer used.
1997-09-16remove one more arc dregStan Shebs1-3/+9
1997-09-16Remove/retain old ARC stuff as appropriateStan Shebs5-1071/+5
1997-09-16Add v850e version of breakpoint. Make v850 breakpoint unique.Andrew Cagney2-1/+16