aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1991-09-19LintJohn Gilmore2-10/+11
1991-09-19Andrew Beers' changes for Modula-2 support.John Gilmore1-0/+653
1991-09-19* language.h, language.c: New files for language-specific macros,John Gilmore2-0/+1268
declarations, and definitions.
1991-09-19Eliminate uses of working_lang.John Gilmore1-1/+1
1991-09-19* valprint.c (type_print_base): Avoid printing garbage for intsJohn Gilmore1-13/+16
of unusual sizes. (_initialize_valprint): Warn about host/target size assumption; improve long long support slightly.
1991-09-19Add M2 to what's new.John Gilmore1-1/+13
1991-09-19Cope with new files and removed files for Modula-2 support.John Gilmore2-25/+35
1991-09-19* parse.c: New file with the common code remains of expread.y.John Gilmore4-0/+3518
* expread.y, expread.tab.c: Remove. * parser-defs.h: New file with common declarations from expread.y. * c-exp.y: New file with the C parser from expread.y. * m2-exp.y: New file with the Modula-2 parser.
1991-09-19* symtab.c (_initialize_symtab): Remove builtin typeJohn Gilmore1-117/+173
definition and initialization to *-exp.y. (lookup_primitive_typename): Use language-dependent vector. (lookup_typename): Fix bug, make it work if primitive typename. (lookup_unsigned_typename): Call above. (create_array_type): Set up range type for array index. (list_symbols): Call typedef_print to print typedefs. (Currently #ifndef FIXME'd out awaiting integration.)
1991-09-19Output hex with local_hex_string for Modula-2 support.John Gilmore1-15/+15
1991-09-19* main.c (execute_command): Warn as language changes automatically.John Gilmore1-2/+37
(main): If error() is called during early initialization, print its message and then exit(1) from GDB.
1991-09-19* stack.c (frame_info): Print language of stack frame.John Gilmore1-22/+72
(select_frame): Also select language, if in auto-mode. (get_frame_language): New subroutine. Output hex with local_hex_string for Modula-2 support.
1991-09-19Use parse_expression and parse_exp_1 rather thanJohn Gilmore1-63/+62
parse_c_expression and parse_c_1.
1991-09-19Output hex with local_hex_string for Modula-2 support.John Gilmore2-7/+16
1991-09-19* values.c (unpack_long, value_from_longest): HandleJohn Gilmore1-2/+8
TYPE_CODE_BOOL and TYPE_CODE_CHAR.
1991-09-19Modula-2 support:John Gilmore1-7/+22
* defs.h (local_hex_format, local_hex_string): Add.
1991-09-19* breakpoint.c (breakpoint_cond_eval): Use new value_true to testJohn Gilmore1-15/+26
breakpoint condition language-independently. Output hex with local_hex_string for Modula-2 support.
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