summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* New file describing how stabs for live range splitting work. Should beJeff Law1997-10-072-0/+532
| | | | folded into the main stabs documentation.
* Remove sanitized-out Magic Cap support, will never be releasedStan Shebs1997-10-066-146/+0
|
* Remove sanitized-out Magic Cap support, will never be releasedStan Shebs1997-10-0612-1449/+2
|
* * remote-mips.c (mips-initialize): Work around flakiness inMark Alexander1997-10-051-0/+5
| | | | some versions of PMON after loading a program.
* * c-lang.h, cp-valprint.c (static_field_print): Make non-static.Per Bothner1997-10-038-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.
* * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16Mark Alexander1997-10-032-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
* * mips-tdep.c (set_reg_offset): New function.Mark Alexander1997-09-303-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.
* Re-define MAX_REGS and REGISTER_NAMES instead of defining them.Andrew Cagney1997-09-301-0/+3
| | | | (Move definition past #include tm-mips64).
* Add access to hi part of r5900 128 bit registers.Andrew Cagney1997-09-302-0/+14
|
* * command.c (add_cmd, add_show_from_set): Insert new commands inJason Molenda1997-09-272-8/+49
| | | | alphabetical order.
* * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjustMark Alexander1997-09-264-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
* * configure.tgt: Set gdb_target to r5900.Jeff Law1997-09-264-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.
* * configure.tgt (v850-*-*): necmsg.lib instead of v850.lib.Felix Lee1997-09-262-1/+11
|
* * config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn withAndrew Cagney1997-09-251-8/+0
| | | | | RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two words.
* Only use get_ds_base function on true Windows.Andrew Cagney1997-09-252-3/+11
|
* * The following block of changes add support for debugging assemblyStu Grossman1997-09-259-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.
* d30v sanitizationStu Grossman1997-09-251-0/+14
|
* * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,Bob Manson1997-09-242-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.
* * Makefile.in (ALLCONFIG): Remove, inaccurate and never used.Stan Shebs1997-09-231-0/+4
|
* vr5900 -> r5900Jeff Law1997-09-231-2/+1
| | | | r5900 is always little endian.
* * mips-tdep.c (mips_push_arguments): Tweak alignment of registerPeter Schauer1997-09-232-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.
* * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c:Dawn Perchik1997-09-224-37/+36
| | | | Fix prototypes. Remove function scoped function declarations.
* Removed v850eq sanitization.Nick Clifton1997-09-213-39/+6
|
* * config/i386/windows.mh (XDEPFILES): need to list some filesFelix Lee1997-09-202-13/+13
| | | | explicitly, for odd reasons.
* v850 files that weren't being removed if !keep-v850Felix Lee1997-09-182-3/+12
|
* Fix tx19 sanitization.Mark Alexander1997-09-171-4/+14
|
* * gdb.base/callfuncs.exp: Fix indentation.Bob Manson1997-09-172-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.
* * valops.c (search_struct_field): Search basesclasses inPer Bothner1997-09-171-1/+5
| | | | | ascending, not descending order. Hack to avoid virtual baseclass botch for Java interfaces.
* * jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.Per Bothner1997-09-176-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.
* * util.c (run_cleanup_chain, make_run_cleanup, do_run_cleanups):Per Bothner1997-09-171-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.
* * monitor.h (MO_SREC_ACK_PLUS, MO_SREC_ACK_ROTATE): New flags.Stan Shebs1997-09-164-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.
* * remote-sds.c (sds_load): New function.Stan Shebs1997-09-162-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.
* remove one more arc dregStan Shebs1997-09-161-3/+9
|
* Remove/retain old ARC stuff as appropriateStan Shebs1997-09-165-1071/+5
|
* Add v850e version of breakpoint. Make v850 breakpoint unique.Andrew Cagney1997-09-162-1/+16
|
* * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiledBob Manson1997-09-161-0/+11
| | | | the testcase.
* * dbxread.c (MSYMBOL_SIZE): New macro.Mark Alexander1997-09-159-54/+287
| | | | | | | | | | | | | | | | | | | (end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol. * elfread.c (elf_symtab_read): If ELF symbol is "special", such as a MIPS16 function, mark minimal symbol as special too. * mips-tdep.c (pc_is_mips16): New function to check whether a function is MIPS16 by looking at the minimal symbol. Use pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro. * config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing "special" MIPS16 bit in ELF and minimal symbols. * mdebugread.c (parse_partial_symbols): Don't construct a partial symbol table for a file that already has one. start-sanitize-tx19 * configure.tgt: Support TX19. * config/mips/tm-tx19.h, config/mips/tm-tx19l.h, config/mips/tx19.mt, config/mips/tx19l.mt: New files for TX19. end-sanitize-tx19
* * mdebugread.c (parse_symbol, handle_psymbol_enumerators): HandlePeter Schauer1997-09-132-5/+19
| | | | | yet another variant of enumerator debugging info, used by DU 4.0 native cc.
* * lib/gdb.exp(gdb_step_for_stub): New function.Bob Manson1997-09-132-62/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it exists, reload the executable and do a "continue" instead of doing a jump. (runto_main): Use gdb_step_for_stub. * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain tests to have unique names. * gdb.base/callfuncs.exp: Ditto. * gdb.base/commands.exp: Ditto. * gdb.base/default.exp: Ditto. * gdb.base/help.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple similar tests. * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls. * gdb.c++/cplusfuncs.cc: Ditto. * gdb.c++/virtfunc.cc: Ditto. * config/monitor.exp: Keep track of the last file we saw, rather than trying to get the info from gdb. * gdb.fortran/types.exp: Move comment to previous line. Fixes for TCL8 miscellaneous problems, plus other changes.
* * lib/gdb.exp(gdb_step_for_stub): New function.Bob Manson1997-09-131-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it exists, reload the executable and do a "continue" instead of doing a jump. (runto_main): Use gdb_step_for_stub. * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain tests to have unique names. * gdb.base/callfuncs.exp: Ditto. * gdb.base/commands.exp: Ditto. * gdb.base/default.exp: Ditto. * gdb.base/help.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple similar tests. * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls. * gdb.c++/cplusfuncs.cc: Ditto. * gdb.c++/virtfunc.cc: Ditto. * config/monitor.exp: Keep track of the last file we saw, rather than trying to get the info from gdb. * gdb.fortran/types.exp: Move comment to previous line. Fixes for TCL8 miscellaneous problems.
* * *.exp: The end-all be-all of quoting fixes. Ha.Bob Manson1997-09-1025-104/+108
| | | | At least I hope so.
* * config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a.Felix Lee1997-09-102-11/+18
| | | | otherwise link command line is too long.
* arc port no longer sanitizedDavid Edelsohn1997-09-101-55/+17
|
* arc port no longer sanitized.David Edelsohn1997-09-101-4/+1
|
* * symtab.c, dbxread.c, stabsread.c: Fix up ANSI-C isms. FixJeff Law1997-09-093-15/+27
| | | | some formatting problems.
* Remove arc sanitization.David Edelsohn1997-09-092-10/+3
|
* Misc. changes I had lying around.David Edelsohn1997-09-092-5/+10
|
* * symtab.c (lookup_block_symbol): Add missing PARAMS forJeff Law1997-09-092-1/+7
| | | | function scoped prototype.
* * ser-e7kpc.c: Don't include w32sut.h. We no longer use the UTStu Grossman1997-09-082-9/+6
| | | | | mechanism. Remove prototypes for dos_async_* functions. They don't exist anymore.
* * dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support forDawn Perchik1997-09-088-197/+746
| | | | | | reading stabs extensions for live range information. * stabsread.h, partial-stab.h: Add prototypes for new functions. * symtab.h: Add structure for storing live range information.