aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-01-28 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.Jim Kingdon2-3/+14
* infptrace.c (kill_inferior): Add comments. * main.c (quit_command): Call target_close after we kill or detach. * remote-udi.c (udi_close): Don't error() if QUITTING.
1994-01-28* remote-bug.c (bug_ops): Remove spurious newline from docstring.Jim Kingdon1-2/+1
1994-01-28 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, printDavid MacKenzie2-81/+90
the archive filename too.
1994-01-28 * config/m68k/tm-monitor.h: Changes to bring this into accordanceJim Kingdon1-0/+7
with the old tm-m68k-em.h: (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove. (HAVE_68881): Don't undefine; this #define is obsolete. (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine. Add FIXME regarding GET_LONGJMP_TARGET.
1994-01-28* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.Jim Kingdon2-2/+11
1994-01-28* configure (while loop): Don't use "break 2" inside caseKen Raeburn1-0/+5
statement -- the case statement isn't an enclosing loop.
1994-01-28get rid of rcs crudKen Raeburn1-2/+0
1994-01-28Fix test case to be valid ANSI C++.Ken Raeburn4-23/+29
Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought to work for CXX. In cdtest.exp: Combine "rm" lines. Added some commentary on things still broken in this test case.
1994-01-28* lib/ld.exp (simple_diff): Indicate failure if files have different numbers ofKen Raeburn1-6/+11
lines. Don't muck with $differences to avoid indicating a pass, just return. Also got rid of trailing whitespace on some lines.
1994-01-28 * ldlex.l: Add rule to catch invalid input characters instead ofDavid MacKenzie3-7/+28
printing them. Include "ldmain.h" for program_name decl. (lex_warn_invalid): New function. * Makefile.in: Add dependency.
1994-01-28 * configure.in: Make m68k-coff and aout add monitor support inRob Savoye2-3/+9
addition to the standard serial support.
1994-01-28* Makefile.in (check): Don't bother running any tests ofKen Raeburn2-4/+14
cross-linker until the test suite no longer assumes native mode.
1994-01-28keep test suiteKen Raeburn1-0/+1
1994-01-28 * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel withJim Kingdon2-3/+15
index indexNil.
1994-01-28 * config/obj-coff.c (obj_coff_section_header_append): Do notIan Lance Taylor2-9/+25
declare if BFD_ASSEMBLER. (stack_pop): Correct test for stack underflow. (obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare type of ignored argument to avoid gcc warning. (align): Removed unused function.
1994-01-28 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.Jim Kingdon5-8/+31
* elfread.c (record_minimal_symbol_and_info), dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1994-01-28removed rcs cruftKen Raeburn1-11/+0
1994-01-28Many scattered edits, primarily on recent mods.Roland Pesch1-1237/+336
Ancient "Internals" text deleted.
1994-01-28* i386-stub.c: Add ".text" right before "mem_fault:".Jim Kingdon1-0/+2
1994-01-28 * main.c (baud_rate): Add FIXME comment about printing -1 value.Jim Kingdon4-43/+67
* remote-utils.c (usage): Fix message to be accurate and conform more closely to normal conventions. * remote-utils.c (gr_files_info): Have the exec_bfd test control whether to show information about exec_bfd, and not control whether to show information about device and speed. * remote-utils.c (gr_open): If sr_get_device returns NULL, give usage message, don't dump core. * remote-bug.c (bug_write_memory): Use alloca, not GCC extension for variable size array. (bug_fetch_register, bug_store_register): Rename "value" to "fpreg_buf" because some compilers don't like variables whose names are the same as types. (bug_store_register): Use a cast when converting char * to unsigned char *.
1994-01-28Various changes: alpha support, fx_done handling, EMIT_SECTION_SYMBOLS, ...Ken Raeburn1-0/+61
1994-01-28Comment change: Soften recommendations against supplying sym+addend operands,Ken Raeburn1-2/+5
since it works, and gas does it. It's merely wasteful of space.
1994-01-28New Alpha support files, based on files from CMU.Ken Raeburn4-0/+2819
Still to do: - fix floating-point handling - figure out if we can adapt to using ../opcodes/alpha-opc.h - gcc bootstrap testing - 32-bit mode support? - test cross-assembly
1994-01-28Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain2-29/+29
* ldlang.c (print_one_symbol, print_input_section): Print global symbols in symbol table again.
1994-01-28* as.h: If __GNUC__ and inline are both undefined, define inline away.Ken Raeburn6-310/+266
* write.c (cvt_frag_to_fill): Don't assume that fr_var for rs_align or rs_org frags will be 1. (relax_segment): For rs_align, if fr_var is not 1, complain if required padding is not a multiple of the size of the pad pattern. (fixup_segment): Leave gp-relative relocations alone. For pcrel relocations referring to the same segment, clear fx_pcrel when clearing fx_addsy. * as.h: Adjust comments on rs_align. * write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c: Query the fx_done field instead of fx_addsy to see if the fixup still needs to be applied. Set fx_done and clear fx_addsy both, for now. If TC_HANDLES_FX_DONE isn't defined, assume md_apply_fix will only clear fx_addsy, and set fx_done accordingly after returning. * config/tc-sparc.h (TC_HANDLES_FX_DONE): Define. * config/obj-coff.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Defined here, static. * config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before including aout/aout64.h. * write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false, don't write out a section symbol even if it's used in a relocation; assume relocations will handle section numbers somehow. Rename "punt_it" label to "punt_it_if_unused" to reflect it's true use. (EMIT_SECTION_SYMBOLS): Default to 1. (adjust_reloc_syms): Don't create a new symbol for an absolute reference; just use the absolute section symbol. (write_relocs): Make printout of reloc values dependent on flag DEBUG3, not DEBUG2. * config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0. * config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
1994-01-28* chardefs.h: Only declare strrchr if it is not #define'd.Jim Kingdon1-0/+4
1994-01-28whitespace/formatting changesKen Raeburn1-8/+9
1994-01-28 * symmisc.c (maintenance_print_symbols): Don't refer to the nameJim Kingdon1-0/+6
of the command in error message (the text was referring to the old name of the command). * symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1994-01-28whitespace/comment changesKen Raeburn1-13/+11
1994-01-28* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.Ken Raeburn1-24/+20
(symbol_begin): Moved to end of file, so function inlining can work better. (fb_label_count, fb_label_max): Default C static initializers are sufficient. * symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Declarations deleted.
1994-01-27 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to printJim Kingdon2-8/+13
full details on structure elements without names. This partially reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect of those changes was accidental.
1994-01-27* atof-generic.c: Some reformatting.Ken Raeburn2-441/+503
(atof_generic): Be careful when mixing signed/unsigned values of different sizes.
1994-01-27 * read.c (lex_type): No longer make '{' a valid character forIan Lance Taylor2-1/+4
symbol names.
1994-01-27 * gdb.texinfo (Selection, Frame Info): Update information aboutJim Kingdon2-8/+20
arbitrary frame specficiations.
1994-01-27 * as.c (main): Print long values using %ld.Ian Lance Taylor2-1/+3
1994-01-27 * messages.c (as_warn_internal): New static function.Ian Lance Taylor2-11/+15
(as_warn, 3 versions): Use as_warn_internal. (as_warn_where, 3 versions): New function. * as.h (as_warn_where): Declare.
1994-01-27 * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME isJim Kingdon1-0/+4
defined, make it an error to specify a single argument which is not a frame number.
1994-01-27 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,David MacKenzie3-5/+29
exit successfully instead of complaining if no input files are given.
1994-01-27 * Makefile.in (version.c), main.c (print_gdb_version): UseJim Kingdon3-7/+13
host_alias and target_alias, not host_canonical and target_canonical, to print configuration.
1994-01-27 * linker.c (generic_link_add_symbol_list): If symbol is common,Ian Lance Taylor2-1/+13
set the BSF_OLD_COMMON flag.
1994-01-27 * gdb.t10/hppa.mt: A makefile fragment for the PA.Jeff Law1-0/+5
* gdb.t10/configure.in (hppa*-*-*): Use it.
1994-01-27 * parse.c (write_exp_msymbol): Use new type msymbol_addr_type insteadJim Kingdon2-2/+17
of builtin_type_long. It is necessary to get a type which is TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon4-14/+16
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-27 Fix many sins which will come up in 32 bit x 64 bit GDB, andJim Kingdon18-254/+433
various miscellaneous things discovered in the process: * printcmd.c, defs.h (print_address_numeric): New function. * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), cp-valprint.c (cplus_print_value), infcmd.c (jump_command), printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: Use it. * utils.c, defs.h (gdb_print_address): New function. * expprint (dump_expression), gdbtypes.h: Use it. * breakpoint.c (describe_other_breakpoints), symmisc.c (dump_symtab, print_symbol): Use filtered not unfiltered I/O. (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well just run gdb under a debugger for this (and it had problems with printing addresses, how to print b->shadow, etc.). * buildsym.c (make_blockvector), core.c (memory_error), exec.c (print_section_info), maint.c (print_section_table), mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: Add comments saying code is broken. Marked with "FIXME-32x64". * dbxread.c (process_one_symbol), partial-stab.h (default), remote-vx.c (vx_run_files_info): Don't cast int being passed to local_hex_string. * symmisc.c (print_symbol): Don't cast long being passed to %lx. * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE only being a long. * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG and LOC_LOCAL. * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. * source.c: Include <sys/types.h> regardless of USG.
1994-01-26General editing pass prior to Net release.Roland Pesch3-258/+294
1994-01-26 * objcopy.c (filter_bytes): New function.David MacKenzie5-257/+398
(copy_section): Call it. (copy_options, copy_usage, copy_main): Add --byte option to activate it. Appropriate the -b option (which was an undocumented synonym for -F) for it, also. Add --interleave, -i option for additional control. (setup_section, copy_section, mangle_section): Renamed with no `s' on the end. * objcopy.1, binutils.texi: Document the new options. * objdump.c (display_target_tables, display_target_list): New functions broken out of display_info. Eliminate some magic constants. Use more meaningful variable names. (dump_bfd_header): New function broken out of display_bfd. (dump_section_header): New function broken out of dump_headers. (remove_useless_symbols): Don't shadow global variable name with parameter. (objdump_print_address): Fix backward test.
1994-01-26 * format.c (bfd_check_format_matches): Put the new entry in theDavid MacKenzie2-3/+8
correct element of matching_vector.
1994-01-26Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant withRob Savoye5-8/+8
everything else. (and now work recursively too)
1994-01-26More changes as suggested by Roland. Fix buglets so that it passes makeinfo.Jeff Law1-13/+12
1994-01-26 * Makefile.in: Format variable definitions consistently.Stan Shebs2-20/+25
(LD_PROG): Remove unnecessary variables from link command, change variable LOADLIBES to EXTRALIBS.