aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-02-05 * libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.David MacKenzie8-64/+37
(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted. * libbfd-in.h: Define them as macros calling xmalloc and declare xmalloc. * libbfd.h: Rebuilt. * ecofflink.c hash.c ieee.c opncls.c (obstack_chunk_alloc): Define to be xmalloc, not bfd_xmalloc_by_size_t.
1994-02-05 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): FunctionsDavid MacKenzie4-18/+54
deleted; will use libiberty versions instead. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c mri.c Makefile.in: Change callers. * ldmisc.c (vfinfo): Remove cleanup code. * ldmain.c (remove_output): Put it here (new function). (preserve_output): New function. (main): Register remove_output and preserve_output with atexit. * ldmain.c ldgram.y: Call xexit instead of exit. * ldmisc.h: Declare xexit.
1994-02-05REGISTER_TYPE is obsolete.Steve Chamberlain1-1/+0
1994-02-05(hms_fetch_register): Take out REGISTER_TYPE.Steve Chamberlain2-3/+8
1994-02-05Fix REGISTER_TYPE and order of register names.Steve Chamberlain1-5/+11
1994-02-05Fix REGISTER_TYPE.Steve Chamberlain1-5/+6
1994-02-05Get REGISTER_TYPE right.Steve Chamberlain2-9/+14
1994-02-05Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)Steve Chamberlain5-129/+503
* h8500-tdep.c (saved_pc_after_call): The size of the pc is memory model dependent. (segmented_command, unsegmented_command, _initialize_h8500_tdep): New commands to change memory model. * remote-7000.c (initialize_remote_e7000): Change name of snoop command. * remote-hms.c (hms_load): Remove breakpoints when loaded. (hms_wait): Use new status structure (hms_open): Push the target here. (hms_before_main_loop): Not here. (supply_val, hms_fetch_register, hms_store_register): Cope with H8/500 names too. * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print all registers in a compact way.
1994-02-04 * Makefile.in: Lots of new H8/500 memory models.Steve Chamberlain2-0/+17
1994-02-04New memory model.Steve Chamberlain1-0/+4
1994-02-04More sicko segmentation support.Steve Chamberlain4-0/+20
1994-02-04Support for various sicko segmented memory models.Steve Chamberlain4-0/+240
1994-02-04* lib/gas-defs.exp (regexp_diff): New procedure, vaguely based onKen Raeburn2-0/+18
"simple_diff" from linker test suite. * gas/sun4/addend.exp: Use it. * gas/sun4/addend.d: New file.
1994-02-04 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so weDavid MacKenzie2-1/+6
can do arithmetic on it.
1994-02-04 * gdb.t24/demangle.exp: Remove a bunch more tests which differJim Kingdon1-0/+8
only in the names (I probably got most of them). I was even generous with some which differed in underscores in names, and probably missed a few, and I *still* was able to remove almost a third of the file with almost no impact on testsuite coverage.
1994-02-04 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_addressJim Kingdon2-38/+53
as CORE_ADDR to match definition in rs6000-tdep.c.
1994-02-04 * gdb.texinfo (Continuing and Stepping): When talking about "step"Jim Kingdon2-1/+15
versus functions without line numbers, also mention stepping into them as well as "step" when you are in them. Tell the user how to deal with the situation. Add comment about "debugging information".
1994-02-04 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.Peter Schauer2-2/+17
* dwarfread.c (add_partial_symbol): Do not enter opaque aggregate definitions into the psymtab.
1994-02-04 * ecofflink.c (bfd_ecoff_debug_externals): If a small undefinedIan Lance Taylor2-1/+13
symbol has a value in the ECOFF symbol but not in the BFD symbol, keep the value in the ECOFF symbol. This helps gas.
1994-02-04 * ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, notIan Lance Taylor2-14/+29
ecoff_undefined. (ecoff_frob_symbol): Don't check ecoff_undefined. (ecoff_build_symbols): Get size of an undefined symbol from sym->ecoff_extern_size, not S_GET_VALUE (sym).
1994-02-04Revert last change.Ian Lance Taylor2-14/+0
1994-02-04 * config/tc-mips.c (md_apply_fix): If this is an undefined symbol,Ian Lance Taylor2-0/+14
subtract the value from fx_addnumber to since bfd_perform_relocation is going to add it in.
1994-02-04 * gdb.t00/default.exp: Match udi_attach error message as well asJim Kingdon1-0/+10
the one from child_attach. * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1994-02-04* remote-udi.c (udi_attach): If no arguments, print error.Jim Kingdon2-0/+10
1994-02-04 * Makefile.in (VERSION): Bump to 4.12.1Fred Fish3-8/+34
* NEWS, README: Update to match 4.12 release.
1994-02-03 * linker.c (_bfd_generic_link_output_symbols,Ian Lance Taylor2-7/+19
_bfd_generic_link_write_global_symbol): Don't require that all references to a common symbol be themselves common symbols.
1994-02-03 * objdump.c (dump_section_stabs, read_section_stabs,David MacKenzie2-61/+96
print_section_stabs): Functions broken out of dump_stabs_1. Free the stabs and strings when done with them.
1994-02-03 * aoutx.h (aout_reloc_index_to_section): Handle N_UNDF.Ian Lance Taylor2-0/+5
1994-02-03 * command.c (empty_sfunc): New function.Jim Kingdon1-3/+13
(add_set_cmd): Use it instead of not_just_help_class_command. (not_just_help_class_command): Change calling convention back to what it was before yesterday's change.
1994-02-03 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the endJim Kingdon2-0/+13
of the type if present.
1994-02-03 * Move test with enums and partial symbols back toJim Kingdon3-26/+21
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}. Reverts the change of 26 May 93. Per today's change to stabs.texinfo, the behavior that weird.exp was expecting was unreasonable; what is important is that the compiler+gdb get things right, which happens with a recent gcc. Also fix the test to deal with native compilers which put out the stab gdb can't deal with.
1994-02-03 * stabs.texinfo (Enumerations): Document restriction on whereJim Kingdon2-0/+17
enumeration types can appear and still win with GDB.
1994-02-03 More changes to print ambiguous matches and use theDavid MacKenzie3-6/+15
abstracting macros.
1994-02-03Formatting adjustments, for better smallbook formattingRoland Pesch1-10/+12
and to agree better w/FSF (RMS) indentation conventions.
1994-02-03Describe -retain-symbols-file.Roland Pesch1-0/+20
1994-02-03* bfd-in2.h: Rebuilt.Jim Kingdon1-0/+1
1994-02-03 * valarith.c (value_binop): Figure out type ourself based onJim Kingdon1-4/+3
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore.
1994-02-03 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: RemoveJim Kingdon2-8/+2
longest_int and longest_unsigned_int.
1994-02-03* bfd-in2.h: Rebuilt.Jim Kingdon1-10/+10
1994-02-03 * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,Jim Kingdon4-7/+12
sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.
1994-02-03 * printcmd.c (decode_format): Don't blithely set the size forJim Kingdon8-60/+148
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. If BFD64, make a LONGEST a BFD_HOST_64_BIT. * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead always just check against INT_MIN and INT_MAX (this also fixes things if sizeof (long) > sizeof (int), e.g. Alpha). * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: Don't define LONGEST or BUILTIN_TYPE_LONGEST. * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and BUILTIN_TYPE_UNSIGNED_LONGEST. * language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int and longest_unsigned_int. * value.h (struct value): Just align to LONGEST, rather than worrying about CC_HAS_LONG_LONG. * valarith.c (value_binop, _initialize_valarith): Figure out type ourself based on sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore. * valprint.c (val_print_type_code_int): Just call extract_unsigned_integer directly, rather than going through unpack_long. * printcmd.c (decode_format): Remove code which would sometimes change 'g' size to 'w' for integers. print_scalar_formatted handles printing huge integers well enough, thank you.
1994-02-03misc updates:Roland Pesch1-46/+94
(1) show `-y SYMBOL' with space (2) weaken multi-target stuff, to avoid false expectations now that linker now often config'd with only one target (3) describe -relax support on i960 (4) correct description of hyphen chars in symbols (5) describe CONSTRUCTORS linker script cmd
1994-02-03 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.David MacKenzie4-5/+12
* ar.c (print_contents, extract_file), size.c (print_berkeley_format): Use bfd_get_filename and bfd_my_archive instead of dereferencing the structs directly.
1994-02-03 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.David MacKenzie2-654/+667
Indent. Remove DEFUNs.
1994-02-03 * nlmconv.c (main), objcopy.c (copy_file): Print matching formatsDavid MacKenzie8-561/+1141
if ambiguous match. * nm.c (display_file), size.c (display_bfd): Eliminate gotos. Print matching formats if there is an ambiguous match. Use bfd_nonfatal instead of hardcoded error message if nothing matches. * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of abfd->filename. * nm.c (display_archive): New function, from code in display_file. (display_rel_file): Renamed from do_one_rel_file. * size.c: Indent. (display_archive): New function from code in display_file. (display_file): Check bfd_close error return. * strings.c (strings_object_file): Check bfd_check_format error return. * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. * bucomm.c: Delete references to exit_handler. It wasn't set anywhere, and now that we're using the libiberty xmalloc, it wouldn't always get called before exiting. (list_matching_formats): Function moved from objdump.c. * bucomm.h: Declare it. * objdump.c (disassemble_data): Move some variable decls closer to their use. Add some comments. Replace a nested block with a return.
1994-02-02 * Makefile.in: Avoid bug in losing hpux sed.Jeff Law1-0/+4
1994-02-02 * command.c (add_set_cmd, no_just_help_class_command): ChangeJim Kingdon3-23/+20
to make this the sfunc, not cfunc, since that is how we call it. * command.h: Comment difference between sfunc and cfunc. * demangle.c (set_demangling_command): Add third arg since that is how it is called. (_initialize_demangler): Use sfunc, not cfunc, for set_demangling_command, since that is how it is called. Remove show_demangling_command; it has no effect.
1994-02-02 * command.c (shell_escape): Report errors correctly (with errorJim Kingdon2-2/+9
message from strerror).
1994-02-02 * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only neededJim Kingdon2-2/+5
for GDB and GDB has been fixed to not need it.
1994-02-02 * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to useIan Lance Taylor2-1/+7
x_scnlen.l rather than x_scnlen to match corresponding change in coff/internal.h.