summaryrefslogtreecommitdiffstats
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin1994-10-014-3/+9
| | | | * config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.
* * gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.Jim Kingdon1994-09-302-1/+5
|
* * lynx-nat.c (child_wait): Use status.w_status, not status, inJim Kingdon1994-09-302-2/+5
| | | | arithmetic. status is a `union wait'.
* * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.Jim Kingdon1994-09-302-1/+7
| | | | * lynx-nat.c (child_wait): Pass fourth argument to ptrace.
* * xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change.Jim Kingdon1994-09-292-7/+10
|
* * coffread.c (complete_symtab): If last_source_file is set uponJim Kingdon1994-09-292-10/+33
| | | | entry, free it.
* * hpread.c (hpread_read_array_type): Do not change the type codeJeff Law1994-09-292-3/+6
| | | | | to TYPE_CODE_PTR for "char foo[]". Just make it a zero length array type.
* * hpread.c (hpread_type_translate): Handle T_UNS_LONG types withJeff Law1994-09-292-1/+11
| | | | | lengths other than 32bits (HP C 9.69 represents an "unsigned char" as an T_UNS_LONG with length 8).
* * xcoffread.c (read_xcoff_symtab, case C_FILE):Jim Kingdon1994-09-282-1/+8
| | | | Set main_aux before using it.
* * xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.Jim Kingdon1994-09-282-2/+6
|
* * xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we wereJim Kingdon1994-09-282-8/+28
| | | | ignoring before. But continue to ignore XMC_DS.
* * hpread.c (struct hpread_symfile_info): Delete have_module fieldJeff Law1994-09-282-46/+40
| | | | | | | | | | | | and accessor macro. Minor indentation fix. (hpread_build_psymtabs, case K_MODULE): Only start a new psymtab and reset state variables have_name & texthigh if pst is NULL. (hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a partial symbol table if pst is non-NULL. If pst is NULL, then start a new psymtab. (hpread_process_one_debug_symbol, case K_MODULE): Now empty. (hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and correct handling of subfiles.
* Don't nuke hppapro.mt.Rob Savoye1994-09-271-0/+1
|
* * defs.h (misc_command_type): Remove trailing comma fromPeter Schauer1994-09-262-0/+28
| | | | enumerator list.
* * hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pcJeff Law1994-09-262-2/+7
| | | | out of an interrupt frame.
* * infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use ifStan Shebs1994-09-2519-102/+82
| | | | | | | | | | | | | | | | | | defined. * values.c (unpack_double) [INVALID_FLOAT]: Ditto. * mips-tdep.c (mips_print_register): Don't test float validity. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, config/arm/tm-arm.h, config/convex/tm-convex.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/i386/tm-i386v.h, config/i386/tm-sun386.h, config/i960/tm-i960.h, config/m68k/tm-m68k.h, config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h, config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h, config/rs6000/tm-rs6000.h, config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/z8k/tm-z8k.h (INVALID_FLOAT): Remove definition.
* * TODO: Remove item about adding general multi-threaded stuff;Jim Kingdon1994-09-251-25/+0
| | | | | | | | | | | | | this is done. Remove item about specifying arbitrary locations of stack frames (this works on some machines). Remove item about debugging functions without a frame pointer (this works on some machines). Remove item about re-writing macros which handle frame chaining and frameless functions. They have been re-written at least once since that item was written. Remove item about gdb catching SIGINT when attached; this is done. Remove item about having list_command not read symbols--why bother?
* * TODO: Append contents of Projects file.Stan Shebs1994-09-254-98/+93
| | | | * Projects: Remove.
* * corelow.c (add_solib_stub): Remove copying of to_sections,Peter Schauer1994-09-243-12/+26
| | | | | | | | | | | | pass current_target to SOLIB_ADD. The Sep 10 change failed if SOLIB_ADD errored out, or if SOLIB_ADD was trying to access target memory. * corelow.c (core_open): After reading the shared libraries, copy the modified to_sections vector from current_target to core_ops, so that core_close can free it later. * config/rs6000/nm-rs6000.h, rs6000-nat.c (xcoff_relocate_core): Pass down target parameter from SOLIB_ADD and use it instead of directly accessing core_ops.
* * solib.c: *BSD systems need <a.out.h> to be included beforeJ.T. Conklin1994-09-2316-11/+381
| | | | | | | | | | | | | | | | | | | <link.h>. * i386b-nat.c: Add i386_float_info(), etc. * config/i386/nm-nbsd.h: #define FLOAT_INFO. * config/nm-nbsd.h: New file, for generic NetBSD native support. * config/i386/nm-nbsd.h: Use it. * config/sparc/nm-nbsd.h: Use it. * config/ns32k/nm-nbsd.h: Use it. * configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht]. (ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht]. * config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/i386. * config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support for NetBSD/ns32k.
* * .gdbinit: Add list-objfiles command.Jim Kingdon1994-09-211-0/+10
|
* * TODO: Reword item regarding NO_STD_REGS.Jim Kingdon1994-09-212-3/+5
|
* * coffread.c (record_minimal_symbol, coff_read_enum_type,Jim Kingdon1994-09-211-0/+6
| | | | | coff_read_struct_type): Allocate on symbol_obstack, not directly via malloc/savestring.
* * TODO: Add more items.Stan Shebs1994-09-202-3/+149
| | | | | | | | * tests: Remove the directory and all of its (obsolete) contents. ... config/rs6000/rs6000lynx.mh ... (REGEX, REGEX1, SYSV_DEFINE): No longer define.
* * coffread.c (init_stringtab): When copying length to stringtab,Jim Kingdon1994-09-202-1/+11
| | | | | use target format, not host format, since that is what the rest of the code assumes.
* * Makefile.in: Removed prelude.o, i386-nlmstub.o, nlmstub.o,J.T. Conklin1994-09-192-1164/+7
| | | | | | nlmstub.nlm, and nlmstub targets. Removed NWSOURCE and NWINCLUDES definitions. * i386-nlmstub.c: Removed.
* Mon Sep 19 07:48:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jim Kingdon1994-09-191-0/+6
| | | | | | * dbxread.c (read_dbx_dynamic_symtab): Cast bfd_asymbol_name to char * (from const char *) before assigning. Don't save string we pass to record_minimal_symbol (it already saves it).
* * gdbtk.tcl: Let ^U delete lines in the command window.Stu Grossman1994-09-182-0/+13
|
* * cp-valprint.c (static_field_print): New variable, controlsPeter Schauer1994-09-175-6/+72
| | | | | | | | | | | | | | | | | | | | printing of static members. (_initialize_cp_valprint): New print set subcommand "static-members". Turn on printing of static members by default. (cp_print_value_fields): Print static members if necessary. * solib.c: Remove inclusion of libelf.h and elf/mips.h. (elf_locate_base): Use only standard BFD functions to collect information about the .dynamic section. Check for DT_MIPS_RLD_MAP tag only if it got defined via the inclusion of <link.h>. * f-exp.y: Write block for OP_VAR_VALUE. * f-valprint.c (info_common_command): Handle `info common' without an argument correctly. * c-typeprint.c (c_type_print_base): Handle template constructors. * symtab.c (gdb_mangle_name): Handle template method mangling, get rid of GCC_MANGLE_BUG code, which only applied to gcc-2.2.2.
* Add missing file; adjust Makefile etc.Per Bothner1994-09-175-2/+9
|
* * gdbtypes.h (TYPE_INDEX_TYPE): New macro.Per Bothner1994-09-175-9/+14
| | | | | | | | * ch-typeprint.c, ch-valprint.c: Use TYPE_INDEX_TYPE. * ch-valprint.c (chill_val_print): Pass index type directly (instead of its TYPE_TARGET_TYPE) to print_type_scalar. * stabsread.c (read_type): Don't set TYPE_FLAG_TARGET_STUB if the index type is a stub.
* * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh,Stan Shebs1994-09-1724-86/+91
| | | | | | | | | | | | i386sco4.mh, i386sol2.mh, i386v.mh, i386v32.mh, i386v4.mh, ncr3000.mh, ptx.mh, ptx4.mh}, config/m68k/{altos.mh, apollo68v.mh, delta68.mh, dpx2.mh, hp300bsd.mh, hp300hpux.mh, m68klynx.mh, m68kv4.mh}, config/m88k/{delta88.mh, delta88v4.mh}, config/mips/riscos.mh, config/pa/hppahpux.mh, config/sparc/{sparclynx.mh, sun4sol2.mh}, config/tahoe/tahoe.mh, config/vax/{vaxbsd.mh, vaxult.mh, vaxult2.mh} (REGEX, REGEX1, SYSV_DEFINE): No longer define. * config/i386/i386sco4.mh (MUNCH_DEFINE): No longer define.
* * pr-5646.ch, pr-5646.exp, Makefile.in: New testcase.Per Bothner1994-09-165-1/+84
|
* * defs.h (QUIT): Call interactive_hook to allow GUI to interrupt.Stu Grossman1994-09-165-69/+129
| | | | | | | | | | | | | | | | | | | Also, add decl for symtab_to_filename. * gdbtk.c: Replace calls to full_filename with symtab_to_filename. * gdbtk.tcl: New routine pc_to_line replaces in line code. New routine decr replaces in line code. * (create_file_win): Use catch to handle open failures more elegantly. Also, create special window to display file open failure message. Move opening of file prior to creation of text widget. * (create_asm_win): Add PC as argument. We now base disassembly on PC instead of function name, since function names can be ambiguous (usually seen with shared libs). Also, use catch to simplify code where we don't care about failures. * source.c (symtab_to_filename): New. Returns the file associated with a symtab. * top.c: Define interactive_hook. Called during QUIT to animate the GUI.
* remote.texi: asynctsr must run before mode (Hitachi stuff)Jeffrey Osier1994-09-161-2/+2
|
* * parser-defs.h: Add comment about unary postfix operators.Per Bothner1994-09-162-1/+5
|
* * stabsread.c (read_type): Handle stub types for bitstrings.Per Bothner1994-09-163-17/+22
| | | | | | * stabsread.c (read_array_type): Check for stub domain type using TYPE_FLAG_STUB, not its length. * gdbtypes.c (create_set_type): Handle a stub domain type.
* * ch-exp.y: Get rid of some extra non-terminals, and movePer Bothner1994-09-163-68/+32
| | | | | | their rules into primitive_value. * ch-lang.c (chill_op_print_tab): Add '->'. * expprint.c (print_subexp): Recognize unary postfix operator.
* Wed Sep 14 18:27:42 1994 Jason Molenda (crash@phydeaux.cygnus.com)Jason Molenda1994-09-152-6/+14
| | | | | * remote-hms.c: use remote_debug instead of hms_silent toggle. Add warnings about depreciation of `snoop' cmd.
* Wed Sep 14 18:18:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1994-09-152-2/+11
| | | | | * remote-hms.c (hms_read_inferior_memory): Cope when target sends both \r and \n.
* * remote-mips.c (mips_error): Place NORETURN macro correctly.Stan Shebs1994-09-153-2/+10
| | | | * TODO: Add item about START_INFERIOR_TRAPS_EXPECTED.
* * xcoffread.c (read_xcoff_symtab): Fix obsolete comment aboutJim Kingdon1994-09-144-14/+40
| | | | | | | | | | | | mst_solib_trampoline. * f-valprint.c (f_val_print): Change cast of valaddr from CORE_ADDR * to char **, since that is how it is used. * dbxread.c (read_dbx_dynamic_symtab): Save copy of symbol names using obsavestring, and pass that to prim_record_minimal_symbol. Having the objfile point to bfd_asymbol_name directly doesn't work if we save and restore a mapped symbol file.
* * gdbtk.tcl: Add ref counts to breakpoint tags.Stu Grossman1994-09-142-23/+160
| | | | | | | | | | * Put quotes around function name in disassemble command to better handle assembler names containing `.'. * Make pclist element 0 be filler to avoid off-by-one problem with line numbers. * Set names of top-level windows. * Add register display window. * Add PC to label of assembly window.
* * w89k-rom.c op50-rom.c monitor.c config/pa/hppapro.mt: New filesRob Savoye1994-09-141-0/+6
| | | | | to add a generic ROM monitor interface, and support file for the WinBond W89K and the Oki OP50N PA based target boards.
* Add support for the w89k and op50n PA target board code.Rob Savoye1994-09-141-2/+2
|
* Oop, make sure Sanitize doesn't nuke new files.Rob Savoye1994-09-141-0/+3
|
* A generic ROM monitor interface abnd support for the WinBond w89k boardRob Savoye1994-09-142-0/+186
| | | | and the Oki op59n board.
* * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to makeStu Grossman1994-09-133-98/+882
| | | | | | | | | | | | | | | | | disassembly more efficient. * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint callback. * (gdb_loc): Include pc in return value. Also, return function name if arg was specified. * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers after command completes. * (gdbtk_init): Improve error handling. * gdbtk.tcl: Add lots of comments. Clean up code. * (gdbtk_tcl_fputs): Make output window redirectable. * Add assembly window, and breapoint support. * Make button 1 in margin toggle breakpoints. * Use stippling to indicate breakpoint disabling.
* Merge supposedly (but not really) GM-specific bits into general MPW configStan Shebs1994-09-136-45/+57
|
* * config/pa/tm-hppa.h (REGISTER_NAMES): Use r26-r23 for arg0-arg3.Jeff Law1994-09-121-0/+4
|
OpenPOWER on IntegriCloud