aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1991-09-19* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,John Gilmore4-45/+67
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for Modula-2 support.
1991-09-19* symfile.c (allocate_symtab): New fn, consolidates the workJohn Gilmore2-57/+121
of allocating and initializing a new struct symtab. Set the language of the symtab based on its filename extension. * symfile.h: Declare it. * mipsread.c (new_symtab): Use it. Minor formatting changes. * dbxread.c (end_symtab): Use it. * mipsread.c (parse_symbol, case stParam and stProc): Add #if 0'd code for saving types of parameters with each function definition. * dbxread.c (define_symbol, function and parameter cases): Ditto. (read_dbx_symtab, case N_DEFD): Ignore. (read_enum_type): Recognize FALSE/TRUE enum as Modula-2 BOOLEAN type. (read_range_type): Rename MAX_OF_TYPE to MAX_OF_C_TYPE, etc. #if 0 out its uses, though, since they set a dead value. * coffread.c (end_symtab): Use allocate_symtab. (process_coff_symbol): #if 0'd for functions and params as above. (read_enum_type): Recognize Modula-2 BOOLEAN.
1991-09-18* convex-tdep.c (comm_registers_info): Avoid parsing decimal andJohn Gilmore1-10/+7
hex -- let parse_and_eval_address do it.
1991-09-18* i387-tdep.c: New file, consolidates most 80387 support,John Gilmore5-5/+5
and eliminates host dependency on double<->extended conversions. * i386-xdep.c, symm-xdep.c: Remove most 387 support. * xconfig/i386{sco,v,v-g,v32,v32-g}: Now need i387-tdep.o.
1991-09-18* i386-xdep.c, symm-xdep.c: Remove most 387 support.John Gilmore2-251/+26
* i386-xdep.c: Output hex with local_hex_string for Modula-2 support.
1991-09-18* i387-tdep.c: New file, consolidates most 80387 support,John Gilmore1-0/+127
and eliminates host dependency on double<->extended conversions.
1991-09-18Doc how to add a language.John Gilmore1-89/+200
1991-09-17Initial revisionStu Grossman2-0/+9
1991-09-17sgi/irix config stuff.Stu Grossman2-0/+372
1991-09-17In mipsread.c (parse_symbol), put non-static proceduresPer Bothner1-0/+23
in the global block.
1991-09-17Whoops! Make that #ifndef USG, not #ifdefStu Grossman1-1/+1
1991-09-17#include <sys/ptrace.h>Stu Grossman1-0/+3
1991-09-17sgi/irix config stuff.Stu Grossman1-1/+5
1991-09-17sgi/irix support.Stu Grossman1-0/+2
1991-09-17Fix signed vs. unsigned char bug in parse_lines().Stu Grossman1-215/+229
1991-09-17Small fixes from Peter Schauer:John Gilmore1-7/+12
* infrun.c (child_attach): Lint. * solib.c (find_solib): Handle shared libs version 2.
1991-09-16Typo, caught by David Wood.John Gilmore1-1/+1
1991-09-13Add tm-ultra3.hJohn Gilmore1-0/+1
1991-09-13Minor bugfixes after trying to get a 29K target to build.John Gilmore3-4/+4
1991-09-13* inferior.h: Eliminate CANNOT_EXECUTE_STACK in favor ofJohn Gilmore4-13/+20
defining CALL_DUMMY_LOCATION as BEFORE_TEXT_END. This is because machines that do this will also have to know to set NEED_TEXT_START_END. Besides, it was a redundant way to say the same thing. * tm-29k.h, tm-convex.h, tm-np1.h: Eliminate CANNOT_EXECUTE_STACK, define CALL_DUMMY_LOCATION and NEED_TEXT_START_END.
1991-09-13* exec.c (exec_command): If NEED_TEXT_START_END, define theJohn Gilmore2-0/+21
variables and set them based on the exec file. * am29k-tdep.c: declare text_start. * valops.c (call_function_by_hand): declare text_end.
1991-09-13Support aout and coff, as well as none, as "OS" settings for remote 29K GDB.John Gilmore1-1/+1
1991-09-13tm-ultra3.h slipped thru the cracks...John Gilmore1-0/+3
1991-09-13* tm-ultra.h: New file, for use on Ultra3 Unix as well as forJohn Gilmore1-0/+226
remote debugging of Ultra3 kernel. Includes tm-29k.h and overrides various things.
1991-09-13New Ultracomputer/29000 stuff.John Gilmore1-2/+7
1991-09-13AMD 29000 stuffJohn Gilmore1-0/+6
1991-09-13LintJohn Gilmore2-27/+50
1991-09-13LintJohn Gilmore2-8/+9
1991-09-13Update these for new modules and new inclusions.John Gilmore2-28/+50
1991-09-13PropagateJohn Gilmore1-163/+238
1991-09-13AMD 29000 changes from David Wood <wood@david.ultra.nyu.edu>John Gilmore1-0/+53
1991-09-13* Makefile.in (CLIBS): Put XM_CLIBS and TM_CLIBS at end.John Gilmore2-7/+11
Pass MUNCH_DEFINE to munch whenever we run it. * munch: Cope with RT/PC putting fns in data segment. Restore ability to override `nm' by specifying MUNCH_NM.
1991-09-13Add new files for 29K and Ultracomputer support.John Gilmore6-0/+4206
1991-09-13 * tm-29k.h: Update BADMAG (though it should go away).John Gilmore1-32/+45
Allow the register definitions to be overridden in another tm-file. Fix SR_REGNUM. Add a mess of _REGNUM's. Separate RETURN_REGNUM from GR96_REGNUM and DUMMY_SAVE_GREGS from DUMMY_SAVE_GR96, for handling kernel calling conventions that use GR64+ rather than GR96+.
1991-09-13LintJohn Gilmore1-0/+2
1991-09-13Remove unused include files.John Gilmore1-6/+0
1991-09-13* am29k-tdep.c: Use DUMMY_SAVE_GREGS and RETURN_REGNUM.John Gilmore1-4/+4
1991-09-13* am29k-pinsn.c (print_insn): Handle NOP specially. Avoid %#xJohn Gilmore1-2/+8
format string; use 0x%x instead.
1991-09-13Make Munch work.John Gilmore1-1/+1
1991-09-13* configure.in: Add hosts rtpc-*-* and a29k-*-*.John Gilmore1-4/+20
Merge target arm case with other "easy" cases. Add target cases a29k-*-none (rehack of am29k), a29k-*-kern (remote to Ultracomputer kernel), and a29k-*-sym1 (ultracomputer OS's user process).
1991-09-13Initial revisionJohn Gilmore5-0/+40
1991-09-12* Makefile.in (documentation targets): Pass $(M4).John Gilmore2-6/+13
Bugfix from eggert@twinsun.com (Paul Eggert). * stack.c (down_silently_command): Check for stack existence.
1991-09-11* Makefile.in (VERSION): Update to 4.0.3.John Gilmore2-1/+5
1991-09-11* core.c (core_file_command): Print frame at coredump withJohn Gilmore7-52/+87
its level number, by calling print_stack_frame. * frame.h: Add selected_frame_level, print_stack_frame. * frame.h, stack.c: Remove print_sel_frame, print_selected_frame. * convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c: Change print_sel_frame and print_selected_frame callers to print_stack_frame. * dbxread.c (read_ofile_symtab): Avoid empty else clause. * symfile.c (free_named_symtabs): Ditto. * main.c (main): wrap_here needs an arg. * solib.c (find_solib): Avoid memory access if _DYNAMIC is zero. (solib_add): Avoid noise. (solib_create_inferior_hook): Lint. (sharedlibrary_command): Move dont_repeat to here. * utils.c (error): Call wrap_here to force buffered output. Small patches from Peter Schauer: * coffread.c (start_symtab): Free any existing line_vector before malloc-ing new one. (read_coff_symtab): Ditto for type_vector. * source.c (lines_to_list): New variable, replacing function. (all uses): Use as variable. (_initialize_source): Add 'set listsize' and 'show listsize'. * utils.c (lines_to_list): Remove function. * stack.c (print_frame_info): Use as variable. * defs.h (lines_to_list): Remove declaration.
1991-09-10* utils.c (error): if error_pre_print is set, print the stringJohn Gilmore5-29/+93
first. * main.c (main, print_gnu_advertisement, print_gdb_version): Reformat legalese so it always prints, but acts as an "I'm here" message while symbols are being read. If any errors occur, print a few newlines to set off the message and start it at the left margin. Remove mention of "help" command, and don't yak about symbol reading. (catch_errors): Error string is now printed first in case of error, not last. * command.c (undef_cmd_error, lookup_cmd): On undefined command, suggest the "help" command. * Makefile.in (VERSION): Set to 4.0.2.
1991-09-09* breakpoint.c (insert_breakpoints): Restore warning aboutJohn Gilmore3-0/+8
the program might be running in another process, but only for systems with this brain death (#ifdef ONE_PROCESS_WRITETEXT). * xm-hp300bsd.h, xm-mips.h, xm-vax.h: Define it.
1991-09-06Host and targets with different sized types. &others.John Gilmore1-0/+34
1991-09-06Fix some infrastructure to be able to cope with host and targetJohn Gilmore1-5/+8
machines with different sized basic types (ints, ptrs, etc). (Idea from pierre@la.tce.com (Pierre Willard).) * values.c (value_from_longest): Rename from value_from_long. Handle pointer types as well as integers, so that targets with different pointer sizes from the host can be accomodated. * breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c, valarith.c, valops.c, valprint.c, value.h, values.c: Rename uses of value_from_long to value_from_longest.
1991-09-06Fix some infrastructure to be able to cope with host and targetJohn Gilmore5-364/+50
machines with different sized basic types (ints, ptrs, etc). (Idea from pierre@la.tce.com (Pierre Willard).) * value.c (value_from_longest): Rename from value_from_long. Handle pointer types as well as integers, so that targets with different pointer sizes from the host can be accomodated. * breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c, valarith.c, valops.c, valprint.c, value.h, values.c: Rename uses of value_from_long to value_from_longest. * eval.c, findvar.c, printcmd.c, valarith.c, valops.c: Pass the correct pointer type to value_from_long{est}. * remote-vx.c: Remove obsolete code for calling functions via vxworks kludge interface (it referenced value_from_long). * valops.c (value_string): Find malloc with lookup_misc_func, not raw search. * breakpoint.c, remote-vx.c: Reword strings printed by catch_errors callers.
1991-09-06* .gdbinit: Remove useless "rr" command. Set complaintsJohn Gilmore1-4/+1
to 1 for people debugging gdb.