aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-12-09 * remote.c (remote_wait): Pass string instead of char to strcpy.Stan Shebs1-0/+4
1994-12-09* gdbserver/low-lynx.c (mywait): Remove debugging printf.Jim Kingdon2-2/+4
1994-12-08 * frame.h: Restore pre-Nov 3 comments about FRAME_FP with minorJim Kingdon1-0/+7
changes. They are correct, unlike the post-Nov 3 comment (FRAME_FP doesn't have any machine-independent relationship with FP_REGNUM or any other such notion of a "frame pointer").
1994-12-08 * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", toJim Kingdon7-97/+360
match stubs and protocol spec. * gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr when passing to function which expects that. The following changes aren't quite enough to make things work with LynxOS (apprently kernel problems). * infrun.c (wait_for_inferior): When resuming new thread, pass pid not -1 for remote case. * thread.c (info_threads_command): Give error if !target_has_stack. * infrun.c (start_remote): Call init_thread_list. * thread.c (info_threads_command): Don't call kill for remote debugging target. * target.c (normal_pid_to_str): Print "thread" not "process" for remote. * remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X' response, and `thread' part of 'T' response. * gdbserver/*: If program exits, send packet to GDB before exiting. Handle termination with a signal the same as exiting with an exitstatus. * remote.c: Don't try to kill program after getting an 'X' response. * infrun.c (wait_for_inferior): Add comment about kill versus mourn.
1994-12-08 * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h toRob Savoye3-1/+6
tm-pro.h.
1994-12-08 * gdb.base/list.exp: Adjust expectations to reflect changes inStan Shebs1-0/+12
list1.c. (test_forward_search): New test proc. * gdb.base/list1.c (long_line): New function, has long source line.
1994-12-08 * source.c: Various cosmetic changes.Stan Shebs2-124/+223
(forward_search_command): Handle very long source lines correctly.
1994-12-07 * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support willRob Savoye2-5/+52
stop being linked in. * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF, otherwise it looks like BSD-ELF.
1994-12-07 * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support willRob Savoye2-0/+10
stop being linked in. * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF, otherwise it looks like BSD-ELF.
1994-12-06 * inftarg.c: include <sys/types.h> to get def of pid_t.Stu Grossman1-0/+4
1994-12-03 * solib.c (auto_solib_add_at_startup): New global.Stan Shebs1-0/+20
(solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): New command "set auto-solib-add".
1994-12-02 * parse.c (msymbol_addr_type): Replaced byPeter Schauer1-12/+1
lookup_pointer_type (builtin_type_void). * printcmd.c (_initialize_printcmd): Give examine_*_type a name for `ptype $_'. * printcmd.c (print_formatted): Call val_print_string directly, rather than via value_print.
1994-12-02 * gdb.base/a1-selftest.exp: Change initial stepping to know aboutStan Shebs1-10/+16
additional line of code that was added.
1994-12-02Remove last remnants of hpread sanitization.Jeff Law2-51/+0
1994-12-01 * somsolib.c (som_solib_get_got_by_pc): New function.Jeff Law4-2/+46
* somsolib.h (som_solib_get_got_by_pc): Add extern decl. * hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the function's export stub or real address in a shared library.
1994-12-01 * gdb.disasm/hppa.s: Break the large branching tests into smallerJeff Law1-0/+6
tests so as not to overflow expect's input buffers. * gdb.disasm/hppa.exp: Corresponding changes.
1994-11-29* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.J.T. Conklin7-2/+116
* configure.in (i[345]86-*-freebsd*): New configuration. * config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.
1994-11-29 * top.c (read_next_line): Pass annotation suffix "commands"Stan Shebs2-1/+6
instead of "command", matches documentation.
1994-11-29 * config/a29k/tm-a29k.h (setup_arbitrary_frame): ReplaceStan Shebs2-1/+4
FRAME_ADDR with CORE_ADDR in prototype.
1994-11-29 * pr-5984.ch, pr-5984.exp, Makefile.in: New test case.Per Bothner4-1/+71
1994-11-28 * top.c (command_line_input): If annotation suffix is NULL,Stan Shebs2-1/+12
replace it with an empty string. (read_next_line): Pass "command" as annotation suffix to command_line_input.
1994-11-28* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...J.T. Conklin2-0/+10
* config/rs6000/xm-rs6000.h: ...to here.
1994-11-28 * gdbtk.tcl (build_framework): Fix bug with setting window titles.Stu Grossman2-1/+3
1994-11-28 * gdbtk.tcl (build_framework): Add "Report bug" to help menu.Stu Grossman2-0/+4
1994-11-28 * gdbtk.tcl: Re-arrange windows using new, consistent layout. CleanStu Grossman2-151/+201
up lots of code and centralize framework initialization.
1994-11-26 * tm-hppa.h (skip_trampoline_code): Add extern decl.Jeff Law2-42/+59
* hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and allow it to execute any return path trampoline code. Stop the inferior and give the user control when the trampoline has finished executing. (in_solib_call_trampoline): Handle export stubs which also perform parameter relocations. (in_solib_return_trampoline): Likewise.
1994-11-25 Beginnings of template debugging tests.Peter Schauer1-0/+21
* gdb.c++/templ-info.cc: New file to test for template debugging capability of the compiler. * gdb.c++/Makefile.in: Add rule to build templ-info.exp from templ-info.cc. * gdb.c++/templates.cc: Add explicit template instantiations to enable compiling with -fno-implicit-templates. Add destructor and 'value' method to T5 class for template tests. * gdb.c++/templates.exp: Add testcases for printing of template types, setting breakpoints on template methods and calling a template method.
1994-11-25 * coffread.c, symfile.h (coff_getfilename): Make it static again.Peter Schauer2-0/+39
* xcoffread.c (coff_getfilename): Use a static copy from coffread.c, modified for accessing the static xcoff strtbl.
1994-11-25 * hppa-tdep.c (in_solib_call_trampoline): Recognize calls throughJeff Law2-27/+135
_sr4export and $$dyncall as trampolines. Likewise for long-call stubs and parameter relocation stubs. (in_solib_return_trampoline): Recognize a return trampoline for return value relocation stubs.
1994-11-25 * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.Jeff Law11-470/+459
Various name changes to match those used by hp-symtab.h. No longer sanitize away hpread changes. Merge ChangeLog.hpread into ChangeLog and ChangeLog-93.
1994-11-25Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann2-0/+40
1994-11-24 * blockframe.c (find_pc_partial_function): Inhibit mst_trampolineJeff Law6-24/+134
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK is defined. * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from IN_SOLIB_TRAMPOLINE. All callers changed. (IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition. (wait_for_inferior): Handle single stepping through trampolines on return paths from shared libraries. * config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use in_solib_call_trampoline. (IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline. (INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define. * hppa-tdep.c (in_solib_call_trampoline): New function. (in_solib_return_trampoline): New function.
1994-11-24 * tm-h8300.h (REMOTE_BREAKPOINT): Define.Steve Chamberlain3-2/+5
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.
1994-11-24 * remote-e7000.c (HARD_BREAKPOINTS): Reenable.Steve Chamberlain4-60/+67
(BC_BREAKPOINTS): Disable. * sh-tdep.c (print_insn): Cope with big and little endian machines. * sh/sh.mt: Use libsim.a * sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New (BREAKPOINT): Changed to be byteorder independent.
1994-11-23 Maintenance commands to report time and space usage.Stan Shebs3-15/+98
* main.c (display_time, display_space): New globals. (main): Add argument --statistics to enable reporting, display time and space after startup is done. * maint.c (maintenance_time_display, maintenance_space_display): New commands. * top.c (command_loop): Display time and space after command execution. * top.c (pre_init_ui_hook): New global. (gdb_init): If pre_init_ui_hook set, call before all other init.
1994-11-22 * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.Kung Hsu2-2/+6
1994-11-20Update note for hpux9 dynamic executable support.Jeff Law1-4/+2
1994-11-19 * symfile.c (deduce_language_from_filename): Treat .c++ as aPeter Schauer1-0/+10
C++ extension. * valops.c (destructor_name_p): Do not compare the template part for template classes.
1994-11-18 * defs.h, infcmd.c (reg_names): Don't declare as constant.Stan Shebs2-56/+58
* remote-mips.c (mips_open): Read and set the processor type. * mips-tdep.c (mips_set_processor_type): Always return an int.
1994-11-18* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.J.T. Conklin5-227/+5
* nlm/gdbserve.def (strtol): Added to import list. * nlm/fake_aio.c: Removed file, no longer used.
1994-11-18* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.J.T. Conklin3-37/+15
* nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}. (LD_FOR_TARGET): Removed.
1994-11-18 * monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add supportRob Savoye1-3/+15
for two variables used to control the load protocol and conversion type.
1994-11-18 Support for different MIPS IDT processor models.Stan Shebs4-80/+300
* mips-tdep.c (mips_processor_type, tmp_mips_processor_type, mips_generic_reg_names, mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names, mips_processor_type_table): New globals. (mips_do_registers_info): Don't display register if name is empty. (mips_set_processor_type_command): New command. (mips_show_processor_type_command): New command. (mips_set_processor_type): New function. (mips_read_processor_type): New function. * config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro. * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro. (NUM_REGS): Increase to account for all CP0 registers. (REGISTER_NAMES): Add empty names for CP0 registers. (FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust. (PRID_REGNUM): New macro.
1994-11-17 * README: Add warning about termcap in Ultrix and OSF/1.Stan Shebs1-0/+4
1994-11-17 * Makefile.in: Fix the test for installing gdbtk.Rob Savoye1-0/+2
1994-11-16 * hppa-tdep.c: Remove including sys/dir.h from a target file.Rob Savoye2-1/+4
1994-11-16* config/powerpc/gdbserve.mt (TDEPFILES): Removed fake_aio.oJ.T. Conklin6-162/+22
* nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers. * nlm/alpha.c: Likewise. * nlm/ppc.c: Likewise. * nlm/ppc.c (strtol): Removed, it is provided by NetWare C Library. (StopBell): New function (stubbed out).
1994-11-16 * hppa-tdep.c (skip_trampoline_code): Handle shared library importJeff Law2-0/+44
trampolines.
1994-11-16 * c-exp.y (yylex): Fix a bug in template scanning.Kung Hsu2-1/+10
1994-11-15 * i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask outStan Shebs3-10/+15
the top bit returned by getDebugChar.