aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-02-02Remove Makefile.in-29k-UDI. It's no longer needed now that the 29K stuff hasStu Grossman1-754/+0
been put back in to Makefile.in.
1993-02-02Fixes for doc targets.Roland Pesch2-9/+8
1993-02-02* stack.c (parse_frame_specification): Parse as many argumentsJohn Gilmore3-9/+22
as there are (up to MAXARGS). Pass all of them in argc, argv format to SETUP_ARBITRARY_FRAME. Put the burden of checking how many there were, onto SETUP_ARBITRARY_FRAME. * tm-mips.h, tm-sparc.h: Corresponding changes. * mips-tdep.c, sparc-tdep.c: Ditto.
1993-02-02* hp300ux-nat.c: Update copyrights.John Gilmore5-48/+56
* mipsread.c (parse_partial_symbols): Complain about block indexes that go backwards. Fix from Peter Schauer. * symfile.c (syms_from_objfile, symbol_file_add): Allow a symbol-file that has no linkage symbols to be read. * tm-rs6000.h, xm-rs6000.h: (SIGWINCH_HANDLER and friends): Move from tm- file to xm-file, since they're host dependent. * valarith.c (value_binop): Typo.
1993-02-02LintJohn Gilmore1-6/+1
1993-02-02 * sparclite/aload.c: Add copyleft.Stu Grossman2-0/+8
* sparclite/crt0.s: Add comment at beginning.
1993-02-02Remove soc2udip.c udi2mtip.c. These files no longer exist.Stu Grossman1-2/+0
1993-02-02Add README.Stu Grossman1-0/+1
1993-02-01 * gdbinv-s.texi: z8000 simulator target name is just "sim"Roland Pesch2-12/+16
1993-02-01Mon Feb 1 15:35:47 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch2-2/+9
* gdbinv-s.texi: Mention that Z8000 simulator can simulate Z8001 as well as Z8002.
1993-02-01Don't delete z8ksim.mtSteve Chamberlain1-0/+1
1993-02-01*** empty log message ***Steve Chamberlain1-0/+5
1993-02-01 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.Steve Chamberlain3-0/+831
* parse.c (std_regs): Only declare if NO_STD_REGS is defined.
1993-02-01 * values.c (value_headof): Fix typo in which VTBL and ARG wereMichael Tiemann2-10/+13
being confused for one another.
1993-02-01 * valops.c (typecmp): Now static.Michael Tiemann2-78/+206
1993-02-01 * gdbtypes.c (fill_in_vptr_fieldno): Don't ignore the firstMichael Tiemann2-4/+14
baseclass--we don't always inherit its virtual function table pointer.
1993-02-01 * eval.c (evaluate_subexp): In OP_FUNCALL case, adjust `this'Michael Tiemann1-1/+7
pointer correctly in case value_struct_elt moves it around.
1993-01-31Fix whitespace.Michael Tiemann1-1/+1
1993-01-31Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com)Michael Tiemann2-1/+6
* gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of zero on recursive call.
1993-01-31* hppah-nat.c: Eliminate <sys/user.h> and other unnecessary stuff,John Gilmore2-47/+6
to avoid "too much defining" error from native C compiler (!).
1993-01-31* Makefile.in (HFILES): Add typeprint.h.John Gilmore4-5/+8
* typeprint.[ch]: Update copyrights.
1993-01-31Initial attempt to clean up to match new directory layout.John Gilmore1-14/+5
1993-01-31* Makefile.in: Update to match doc/ subdir changes.John Gilmore1-5/+2
1993-01-31A few files have been removed...John Gilmore1-2/+0
1993-01-29reg.h, xdr_regs.c, xdr_regs.h are gone now.John Gilmore1-3/+0
1993-01-29* doc/gdbint.texinfo (Host Conditionals): RemoveJohn Gilmore1-15/+51
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document MEM_FNS_DECLARED. (Target Conditionals): Remove all of the above.
1993-01-29Update for doc/ changes.John Gilmore2-1/+3
1993-01-29* config/hp300hpux.mh: No cross-host file needed, just native.John Gilmore2-4/+2
1993-01-29Remove nonexistent GO32 "native" support.John Gilmore2-3/+2
1993-01-29M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:John Gilmore3-7/+12
* tm-m88k.h (REGISTER_CONVERT_TO_RAW): Fix typo. * m88k-tdep.c (next_insn): Lint, cleanup. (store_parm_word): Lint.
1993-01-29TypoJohn Gilmore1-0/+6
1993-01-28 * expression.h (BINOP_CONCAT): Document use for self concatenationFred Fish5-60/+351
an integral number of times. * language.c (binop_type_check): Extend BINOP_CONCAT for self concatenation case. * valarith.c (value_concat): Rewrite to support self concatenation an integral number of times. **** start-sanitize-chill **** * Makefile.in (ch-exp.tab.c): Change "expect" message. * ch-exp.y (FIXME's): Make all FIXME tokens distinct, to eliminate hundreds of spurious shift/reduce and reduce/reduce conflicts that mask the 5 real ones. * ch-exp.y (STRING, CONSTANT, SC): Remove unused tokens. * ch-exp.y (integer_literal_expression): Remove production, no longer used. **** end-sanitize-chill ****
1993-01-27Fixes from (or inspired by) Bob Chassell editing pass for lastRoland Pesch2-356/+383
FSF printing of this manual.
1993-01-23These changes abolish M4 preprocessing for the GDB manual.Roland Pesch21-2552/+2963
Formatting these files now depends on the recently designed Texinfo conditionals: to format successfully, you must use very recent versions (not yet distributed by FSF) of texinfo.tex and makeinfo.c. The new Texinfo commands are @set, @clear, @ifset, @ifclear, and @value. Recent texinfo-2 Beta distributions contained partial implementations. texi2roff does not yet support these commands. There are miscellaneous clean-ups to Makefile.in as well.
1993-01-21 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code thatFred Fish4-2/+31
implied that "no side effects" was nonfunctional. * eval.c (evaluate_subexp): Add BINOP_CONCAT case to deal with character string and bitstring concatenation. * expprint.c (dump_expression): Add case for BINOP_CONCAT. * expression.h (exp_opcode): Add BINOP_CONCAT. * gdbtypes.h (type_code): Add TYPE_CODE_BITSTRING. * language.c (string_type): Add function to determine if a type is a string type. * language.c (binop_type_check): Add case for BINOP_CONCAT. * valarith.c (value_concat): New function to concatenate two values, such as character strings or bitstrings. * valops.c (value_string): Remove error stub and implement function body. * value.h (value_concat): Add prototype. **** start-sanitize-chill **** * ch-exp.y (operand_3): Add actions for SLASH_SLASH (//). * ch-exp.y (yylex): Recognize SLASH_SLASH. * ch-lang.c (chill_op_print_tab): Add SLASH_SLASH (//) as BINOP_CONCAT. **** end-sanitize-chill ****
1993-01-19 * c-exp.y (exp): Add production to support direct creationFred Fish6-13/+95
of array constants using the obvious syntax. * c-valprint.c (c_val_print): Set printed string length. * dwarfread.c (read_tag_string_type): New prototype and function that handles TAG_string_type DIEs. * dwarfread.c (process_dies): Add case for TAG_string_type that calls new read_tag_string_type function. * expprint.c (print_subexp): Add support for OP_ARRAY. * gdbtypes.c (create_range_type, create_array_type): Inherit objfile from the index type. **** start-sanitize-chill **** * ch-typeprint.c (chill_print_type): Add case for TYPE_CODE_STRING. * ch-valprint.c (chill_val_print): Fix case for TYPE_CODE_STRING. **** end-sanitize-chill ****
1993-01-18.Sanitize: Add 29k-share and sparclite.Stu Grossman1-0/+2
1993-01-18Mon Jan 18 11:58:45 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+6
* mipsread.c (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB, STABS_SYMBOLS): Removed; now in include/coff/mips.h.
1993-01-18checkpointSteve Chamberlain3-5/+7
1993-01-16 * c-exp.y (exp:STRING): Convert C strings into array-of-charFred Fish16-137/+303
constants with an explicit null byte terminator. OP_STRING is now used for real string types. * c-lang.c (builtin_type_*): Move declarations to lang.c since they are used by all languages. * c-lang.c (_initialize_c_language): Move initializations of builtin_type_* to lang.c. * c-typeprint.c (c_type_print_varspec_prefix, c_type_print_varspec_suffix): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * c-valprint.c (c_val_print): Change the way character arrays are printed as strings to be consistent with the way strings are printed when pointer-to-char types are dereferenced. Remove test of print_max before calling val_print_string, which now does it's own test. * eval.c (evaluate_subexp): Add case for OP_ARRAY. * expprint.c (print_subexp, dump_expression): Add case for OP_ARRAY. * expression.h (enum exp_opcode): Add OP_ARRAY and document. * gdbtypes.c (builtin_type_*): Add declarations moved from c-lang.c. * gdbtypes.c (create_string_type): New function to create real string types. * gdbtypes.c (recursive_dump_type): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * gdbtypes.c (_initialize_gdbtypes): Add initializations of builtin_type_* types moved from c-lang.c. * gdbtypes.h (enum type_code): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * gdbtypes.h (builtin_type_string): Add extern declaration. * gdbtypes.h (create_string_type): Add prototype. * m2-lang.c (m2_create_fundamental_type): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * m88k-tdep.c (pushed_size): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * mipsread.c (_initialize_mipsread): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * parse.c (length_of_subexp, prefixify_subexp): Add case for OP_ARRAY. * printcmd.c (print_formatted): Recognize TYPE_CODE_STRING. * typeprint.c (print_type_scalar): TYPE_CODE_PASCAL_ARRAY renamed to TYPE_CODE_STRING. * valops.c (allocate_space_in_inferior): New function and prototype, using code ripped out of value_string. * valops.c (value_string): Rewritten to use new function allocate_space_in_inferior, but temporarily disabled until some other support is in place. * valops.c (value_array): New function to create array constants. * valprint.c (val_print_string): Add comment to document use, complete rewrite to fix several small buglets. * value.h (value_array): Add prototype. * value.h (val_print_string): Change prototype to match rewrite. **** start-sanitize-chill **** * ch-valprint.c (chill_val_print): Add case for TYPE_CODE_STRING. * ch-exp.y (match_character_literal): Disable recognition of control sequence form of character literals and document why. **** end-sanitize-chill ****
1993-01-15 * remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.Steve Chamberlain2-0/+6
1993-01-15Add a29k-udi.mt.Stu Grossman1-0/+1
1993-01-15Add paread.c.Stu Grossman1-0/+2
1993-01-15Oops! Forgot to do this one...Stu Grossman1-0/+20
1993-01-15 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead ofStu Grossman5-53/+107
read_memory to get byte order right. * hppah-tdep.c (find_unwind_info): Don't read in unwind info anymore. This is done in paread.c now. We expect unwind info to hang off of objfiles, and search all of the objfiles when until we find a match. * (skip_trampoline_code): Cast arg to target_read_memory. * objfiles.h (struct objfile): Add new field obj_private to hold per object file private data (unwind info in this case). * paread.c (read_unwind_info): New routine to read unwind info for the objfile. This data is hung off of obj_private. * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to the unwind info for this objfile. Also define OBJ_UNWIND_INFO to make this easier to access.
1993-01-14use the SYMBOL_VALUE macro -- from StuDavid D. Zuhn1-1/+1
1993-01-14 * c-valprint.c (cp_print_class_member): Add extern decl.Fred Fish7-198/+389
* c-valprint.c (c_val_print): Extract code for printing methods and move it to cp_print_class_method in cp-valprint.c. * c-valprint.c (c_val_print): Extract code to print strings and move it to val_print_string in valprint.c. * cp-valprint.c (cp_print_class_method): New function using code extracted from c_val_print. * valprint.c (val_print_string): New function using code extracted from c_val_print. * value.h (val_print_string): Add prototype. **** start-sanitize-chill **** * ch-exp.y (CHARACTER_STRING_LITERAL): Set correct token type. * ch-exp.y (literal): Add action for CHARACTER_STRING_LITERAL. * ch-exp.y (tempbuf, tempbufsize, tempbufindex, GROWBY_MIN_SIZE, CHECKBUF, growbuf_by_size): New variables, macros, and support functions for implementing a dynamically expandable temp buffer. * ch-exp.y (match_string_literal): New lexer function. * ch-exp.y (match_bitstring_literal): Dynamic buffer code removed and replaced with new CHECKBUF macro. * ch-exp.y (yylex): Call match_string_literal when appropriate. * ch-valprint.c (ch_val_print): Add code for TYPE_CODE_PTR. **** end-sanitize-chill ****
1993-01-10 * Makefile.in: Add info for paread.o.Stu Grossman2-1/+4
* config/hppahpux.mh: Add paread.o to NATDEPFILES.
1993-01-10 * blockframe.c (frameless_look_for_prologue): Correct theStu Grossman7-155/+230
comment. * gdbtypes.h, gdbtypes.c: Use const in decl of cplus_struct_default, now that pa-gas assembler has been fixed. * hppah-nat.c: Formatting. * hppah-tdep.c: Remove lots of useless externs for variables we don't use. * (find_unwind_entry): Speed up by using binary search, and a one entry cache. * (rp_saved): New routine to see what unwind info says about RP being saved on the stack frame. * (frame_saved_pc): Look for prologue to see if we need to examine the stack for the saved RP or not. * (init_extra_frame_info): Check for prologue, instead of framesize to determine if we are frameless or not. * (frame_chain_valid): Stop backtraces when we run into _start. * (push_dummy_frame): Reformat to make more readable. * (find_dummy_frame_regs): ditto. * (hp_pop_frame): ditto. * (hp_restore_pc_queue): small cleanup. * (hp_push_arguments): ditto. * (pa_do_registers_info): ditto. * (skip_prologue): New routine created from SKIP_PROLOGUE macro. * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c. * Define FRAME_CHAIN_VALID. * Turn on BELIEVE_PCC_PROMOTION so that we can access char args passed to functions. * paread.c (pa_symtab_read): Use new bfd conventions for accessing linker symbol table. * (pa_symfile_init): Access embedded STAB info via BFD section mechanism and related macros.
1993-01-10 * sparc-stub.c: Use a seperate stack for our traps.Stu Grossman2-88/+147
* Handle recursive traps. * Remove all trap init code. This needs to be done by the environment. * (set_mem_fault_trap): Call exceptionHandler() to setup this trap. * (handle_exception): See if we are at breakinst, if so, then advance PC sp that users can just step out of breakpoint(). * (case 'G'): Don't let GDB hack CWP. Also, copy saved regs to new place if SP has changed. * (case 's'): Get rid of this, we can't do it yet. * (case 't'): New command to test any old random feature. * (case 'r'): New command to reset the system. * (breakpoint): Add label to breakpoint trap instruction so that handle_exception() can detect where we are and get past the breakpoint trivially.