aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-12-18* TODO: Add item regarding large frames.Jim Kingdon2-0/+10
1994-12-18 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.Jim Kingdon2-7/+26
* TODO: Remove item about enabling return.exp; it is enabled. Suggest a few more "return" tests.
1994-12-17 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases forPeter Schauer1-1/+6
anonymous unions.
1994-12-17 * c-typeprint.c (c_type_print_base): Use `show' of -1 to printPeter Schauer6-92/+301
the return type of methods to avoid infinite loops with anonymous types. * valops.c (search_struct_field): Handle anonymous unions. * sparc-tdep.c (sunos4_skip_trampoline_code): New function to correctly handle steps into -g compiled PIC objects in the main executable. * config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE): Redefine to use sunos4_skip_trampoline_code. * dwarfread.c (DWARF_REG_TO_REGNUM): Provide a default mapping from DWARF to GDB register numbering. * dwarfread.c (locval): Use DWARF_REG_TO_REGNUM to map the register value. * config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM): Define.
1994-12-16 * defs.h: Include progress.h.Stan Shebs2-0/+12
(QUIT): Call PROGRESS. * main.c (main): Call START_PROGRESS and END_PROGRESS, break usage message into shorter strings. * source.c: Change long command help strings into concats of shorter ones, for picky ANSI compilers. (ChangeLog.mpw) * main.c, source.c: Remove hacks that replace long strings with shorter ones, now solved portably.
1994-12-16 * top.c (command_loop): For space usage display, show bothStan Shebs2-13/+31
absolute size and the change from before command execution.
1994-12-16 * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add stream argStu Grossman6-236/+375
to fputs_unfiltered_hook. Differentiate stdout from stderr when passing text into tcl land. * defs.h, top.c, utils.c (error): Add error_hook. * gdbtk.c: Improve mechanism for capturing output values. * (full_filename): Remove. * (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land with call_wrapper. This prevents longjmps (usually via error()) from jumping out of tcl/tk and leaving things in an indeterminate state. * gdbtk.tcl: New view option to disable line numbers. Put catch around most uses of gdb_cmd. Add update button to reg config window. Stop doing immediate updates when selecting registers. Change register view values into checkbuttons.
1994-12-14 * config/m68k/xm-mpw.h (spin.h): Include.Stan Shebs4-1/+31
(ALMOST_STDC): Only define if MPW_C. * config/m68k/tm-mac.h: New file, Mac target definitions.
1994-12-14Actually lose itStan Shebs1-47/+0
1994-12-14 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs4-52/+80
i386-unknown-aout): New targets. (mk.tmp): Add *DEPFILES definitions. * mpw-make.in: Remove gC rules, clean up definitions for other include files, bump version, fix bogus \ that should be \Option-d. (init.c): Build correctly. (mpw-init.c): Remove.
1994-12-13 * breakpoint.c, infrun.c, printcmd.c: Change long command helpStan Shebs1-0/+5
strings into concats of shorter ones, for picky ANSI compilers.
1994-12-13 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.oJim Kingdon2-2/+8
and pr-5646.o, so "make" is the same as "make all, not "make pr-4975.o".
1994-12-13 Sparc flat register window support.Stan Shebs2-11/+45
* sparc-tdep.c (sparc_insn_layout): New union, defines layout of instructions symbolically (used to be local to skip_prologue). (sparc_init_extra_frame_info): New function. (sparc_frame_chain): Add flat cases throughout. (skip_prologue): Add recognition of flat prologues. (sparc_frame_find_saved_regs): Add flat cases. (sparc_pop_frame): Ditto. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots. (INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Define.
1994-12-13 * gdbtk.tcl (reg_config_menu create_registers_windowStu Grossman2-12/+27
recompute_reg_display_list): Use array instead of individual vars for register display list. * (recompute_reg_display_list update_registers): Fix bug with not displaying all registers.
1994-12-12 * f-lang.c: Remove duplicate declaration ofJim Kingdon3-4/+13
builtin_type_f_integer, and only include it in the f_builtin_types once. * somread.c (som_symfile_read): Just assign to objfile->obj_private, not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler doesn't like.
1994-12-12 * gdbtk.c: New tcl commands: gdb_fetch_registers,Stu Grossman3-149/+572
gdb_changed_register_list, and gdb_regnames. * gdbtk.tcl: Use monochrome color model for now. * (delete_breakpoint_tag create_file_win): Add breakdot support. * (create_file_win create_asm_win update_listing build_framework create_source_window create_command_window): Re-org window creation to give all windows consistent look and feel. * (update_listing update_asm): Change pc pointer to '->'. * (registers_command reg_config_menu create_registers_window populate_reg_window update_registers): Revamp register window. Allow selection of registers to be displayed. Highlight changed registers.
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.