Commit graph

  • e33e766a1a * mmtrace.c: Lint. Fred Fish 1992-06-29 23:38:26 +00:00
  • a403a2efac * obstack.h: Convert bcopy() use to memcpy(), which is more portable, more standard, and can take advantage of gcc's builtin functions for increased performance. Fred Fish 1992-06-29 23:37:10 +00:00
  • 51b57ded88 * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c, symtab.h, tm-i386v4.h, valprint.c, values.c: Lint. * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c, findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c, putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c: Replace bcopy() use with memcpy(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c, ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h, target.c, values.c: Replace bzero() use with memset(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * i386-tdep.c, main.c, valprint.c: Replace bcmp() use with memcmp(), which is more standard and can take advantage of gcc's builtin functions for increased performance. Fred Fish 1992-06-29 23:34:38 +00:00
  • 22fd4704bc * remote.c (remote_wait): Fix cast on signal() call. * defs.h (alloca): More diddling with alloca. Have to ensure that it has a prototype, so that if alloca is defined as a macro that takes an arg, the definition is seen as a use of a macro that takes an arg, to satisfy picky ANSI preprocessors. Fred Fish 1992-06-28 20:31:11 +00:00
  • 36fcc06101 * h8300.h: Finish filling in all the holes in the opcode table, so that the Lucid C compiler can digest this as well... Fred Fish 1992-06-28 20:30:01 +00:00
  • bd0975d11a Update Cadillac patch kit. Fred Fish 1992-06-27 19:41:24 +00:00
  • 74fb91be98 * sparc-pinsn.c: Use <string.h> rather than "string.h", for consistency with all other gdb files. * cadillac.c: Use <string.h> rather than <strings.h>. * cadillac.c (kernel_dispatch): Convert rindex usage to strrchr. * Makefile.in (MAKE): Remove definition for consistency with other Makefile.in files and to fix problem with recursive makes. Fred Fish 1992-06-27 19:16:47 +00:00
  • 5b88adf7a2 Use tabs to indent comments, so they line up. John Gilmore 1992-06-27 05:01:14 +00:00
  • ce868e5c94 * i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases. Fix opcodes on various sizes of fild/fist instructions (16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix). Fixes suggested by Minh Tran-Le. John Gilmore 1992-06-27 04:56:08 +00:00
  • b1385986d8 (1) corrections to command-line completion material (more text on quotes still needed) (2) warning re problems in coff Roland Pesch 1992-06-27 03:53:10 +00:00
  • 3a1e7a62b5 Avoid PT_WDUSER because it crashes H-PUX. John Gilmore 1992-06-27 02:28:05 +00:00
  • 5cdea2ac20 Install into the right place for cross Steve Chamberlain 1992-06-26 22:42:15 +00:00
  • b951b38d00 * source.c (print_source_lines): for DOS interoperability; don't print CR (013) as ^M. Steve Chamberlain 1992-06-26 18:12:17 +00:00
  • 6f7709b765 Default dir_so_symnum to -10 to avoid even the slightest possibility of screwage. This is a continuation of the redundant SO record fixup for the Lucid C++ compiler. Stu Grossman 1992-06-26 03:55:28 +00:00
  • c31921729f Fixup PRSVADDR problem as per Johns suggestions. Stu Grossman 1992-06-26 03:49:00 +00:00
  • 867022c3a9 * configure.in: Make bsd based systems use sysdep-obsd.h. Stu Grossman 1992-06-25 23:16:16 +00:00
  • ad486d7771 Declare free() for hpux. Stu Grossman 1992-06-25 23:11:26 +00:00
  • bf18ac8007 * dbxread.c (dbx_symfile_init): Move more code under hp9000s800 conditional. * hppabsd-core.c: Don't include "param.h", include <sys/param.h> instead. * remote.c (remote_wait): Cast signal to void * to avoid warning from busted HP compiler. Stu Grossman 1992-06-25 23:02:57 +00:00
  • d98a0a4462 Catch up Cygnus-logo version of GDB refcard with last few changes to FSF version: - threecol.tex now embedded, not separate file - folding guides - "gdb --help" recommended rather than "gdb -help" Roland Pesch 1992-06-25 22:58:28 +00:00
  • cf79373a10 * partial-stab.h (N_SO): Rearrange code a little so that all SO stabs cause end_psymtab to be called. Stu Grossman 1992-06-25 22:46:04 +00:00
  • 50a11e4933 * buildsym.c (read_sun_builtin_type): Handle new FCS Sun CC compiler feature of putting 'c' into basic type descriptors for all forms of char. Stu Grossman 1992-06-25 22:35:09 +00:00
  • 99fd9e3ee6 * procfs.c (child_resume): Work around Solaris (on Sparc) lossage where there is no place for nPC in prrun struct. Stu Grossman 1992-06-25 22:22:40 +00:00
  • 50e0dc4198 * mipsread.c: Pass NULL name pointer to init_type, not 0. * gdbtypes.c (init_type): Use copy of typename on type_obstack. * dwarfread.c (enum_type): Save enum names on type_obstack. * dwarfread.c (struct_type): Save member name on type_obstack. * symtab.c (_initialize_symtab): Fix misspelling. * regex.c (store_jump, insert_jump): Return void. Fred Fish 1992-06-25 19:10:49 +00:00
  • 65967d33ed Lint. Remove excess whitespace. John Gilmore 1992-06-25 11:54:08 +00:00
  • debd34438d * defs.h (PARAMS): Move to ../include/ansidecl.h. (alloca): Declare return type on SPARC, since Sun doesn't. (*_BYTE_ORDER): Improve comment: *must* be defined. John Gilmore 1992-06-25 11:50:31 +00:00
  • c40dbf26ab * hosts/solaris2.h: Configure same as sysv4. John Gilmore 1992-06-25 11:40:36 +00:00
  • 5140562f37 * tm-hppa.h: New file, architectural definition of HP PA. * tm-hppabsd.h, tm-hppahpux.h: Shrink to deltas from tm-hppa.h. John Gilmore 1992-06-25 11:15:47 +00:00
  • 4d38b5a85a * printcmd.c (output_command): Thinko. (x_command): Only set remembered size/format if cmd succeeds. John Gilmore 1992-06-25 10:58:53 +00:00
  • 6227a92bec keep CYGNUS K. Richard Pixley 1992-06-25 03:11:49 +00:00
  • 96cc09a0c4 * nm.c (valueof macro): Add missing parentheses. (Their lack screwed up numeric_forward().) Per Bothner 1992-06-24 20:58:17 +00:00
  • 84c2fcadfc Fix typo (place where GDB name was not given as _GDBN__). Roland Pesch 1992-06-24 20:55:36 +00:00
  • 6f3ec223dc Added doc for command-line completion, incl new FNF support for quoted strings w/C++ overloaded fns. Roland Pesch 1992-06-24 20:45:53 +00:00
  • fef9f55c2b * dbxread.c (read_ofile_symtab): Remove N_CATCH special case, since it is no longer used and burns time for every symbol read. (process_one_symbol): Treat N_CATCH like default (complain). John Gilmore 1992-06-24 19:58:57 +00:00
  • 7c2d4011a4 Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com) Steve Chamberlain 1992-06-24 18:02:38 +00:00
  • 369172bbb3 * partial-stab.h (case N_TEXT): Fix fencepost error when detecting start of new symbol info after reading symtab for a module with a zero length TEXT segment. (Note that this fixes the BNR problem with printing vxWorksVersion. That ought to make Ken happy). Stu Grossman 1992-06-24 07:31:55 +00:00
  • f274a4b8da * configure.in: Use mh-posix for Linux (free Unix clone). Per Bothner 1992-06-24 06:26:05 +00:00
  • b4cc55b533 * valprint.c (val_print_fields): Call fprint_symbol to get automatic C++ demangling for mangled field names. Fred Fish 1992-06-24 06:24:51 +00:00
  • f54e9fd84f * cadillac.c (kernel_dispatch): Make return type void. * cadillac.c (iosig): Signal handlers take one int arg. Fred Fish 1992-06-24 05:52:01 +00:00
  • 56e5eadc57 * sysdep-norm.h (alloca): Protect against previous definition as a macro with arguments. Fred Fish 1992-06-24 05:00:25 +00:00
  • ec6b2951da * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition. * reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST. Fred Fish 1992-06-24 04:56:01 +00:00
  • e676a15f0b * Makefile.in (VERSION): Bump to 4.5.6. * coffread.c (coff_end_symtab): Cast 2nd arg of complain() to correct type. * defs.h (NORETURN): Define away for Lucid compiler. * remote.c (remote_timer, remote_interrupt): Signal handlers take one int arg. * ser-termios.c (serial_write, serial_close): Return whatever value the write/close call returns, rather than falling off end. * inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on more systems than it is "char *". Define PTRACE_ARG3_TYPE to default to int. * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c, inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type of third arg. * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c, m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c, pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace argument 3. * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers, store_inferior_registers): Supply missing fourth argument to ptrace(). Fred Fish 1992-06-24 04:49:48 +00:00
  • 0fd24984ce Minor cleanup for better smallbook formatting w/default FSF style. Roland Pesch 1992-06-24 01:17:24 +00:00
  • 6a8cb0e75c (1) removed three-part table of config name components from Installing appendix (too hard to maintain, esp w/recent versions of config.sub). Also corrected xref to this section accordingly. (2) updated sample output from config.sub to match latest variation of that script (3) minor editing to gnu contrib text on set/show remotedebug Roland Pesch 1992-06-24 00:15:44 +00:00
  • 0c2aab7872 Fix patch fragment for ncr3000.mh to find the file in the config dir. Fred Fish 1992-06-23 20:33:39 +00:00
  • 710249ebc9 Add patch to Makefile.in to default the demangling style to ARM/Lucid instead of gcc style. Fred Fish 1992-06-23 20:18:21 +00:00
  • 03a77779da Minor edits to new GNU material on special commands for AMD29K register stack limit. Roland Pesch 1992-06-23 18:38:57 +00:00
  • 4da05fa091 Add Linux hook. Per Bothner 1992-06-23 06:50:30 +00:00
  • 677291b54f New file for Linux. Per Bothner 1992-06-23 06:47:53 +00:00
  • c19f73f1a2 Add tm-linux.h and xm-linux.h. Per Bothner 1992-06-23 06:26:00 +00:00
  • 71da9fdc59 Add linux.mh and linux.mt. Per Bothner 1992-06-23 06:24:22 +00:00
  • 4edaf074ad Call setsid() when establishing new controlling terminal. Stu Grossman 1992-06-23 06:21:14 +00:00
  • 11be3463ff Add i386linux.h. Per Bothner 1992-06-23 06:20:09 +00:00
  • afff60cd43 Per, guess what you forgot to do... Hint: Add i386linux.c to bfd/.Sanitize... Stu Grossman 1992-06-23 05:27:14 +00:00
  • c472d8709f Fixup patch for .Sanitize to not remove cadillac.c. Stu Grossman 1992-06-23 05:05:15 +00:00
  • 53a75176da Oops, retract last patch... Belongs in cadillac-patches. Stu Grossman 1992-06-23 05:03:32 +00:00
  • 3c170cf7eb Fixup patch for ncr3000.h -> config/ncr3000.h Stu Grossman 1992-06-23 05:00:37 +00:00
  • acd245b4a7 Add patch for .Sanitize file. Stu Grossman 1992-06-23 04:51:32 +00:00
  • 37e4214cbd Create new patch file to convert normal (mundane) GDB into SUPER-ENERGIZE GDB! Stu Grossman 1992-06-23 04:43:33 +00:00
  • 671603ffa8 * Centralize all Cadillac interface defs into defs.h. * Use prototypes for all interface routines (fix bugs found as a result of doing so). * Make full_filename more robust in the face of null dirname/filenames. * Get pty at startup instead of at child creation time. Put GDB descriptors 0, 1 and 2 on it so that we can see the output of shell commands. * Get rid of prompt(), use print_prompt() instead. Fixes loads of stupid prompting problems. Stu Grossman 1992-06-23 04:31:56 +00:00
  • 0efe20a642 * command.c (add_abbrev_prefix_cmd): Fix misspelling in comment. * dwarfread.c (enum_type): Fix misspelling in comment. * valprint.c (val_print_fields, cplus_val_print): Minor adjustment to printing of C++ class structures to more closely match format for printing C structures, with and without setting pretty print. Fred Fish 1992-06-23 03:33:47 +00:00
  • 475f9b6d66 Add install-newlib Steve Chamberlain 1992-06-23 01:34:25 +00:00
  • 4347369fb1 * configure: fix various problems with propogating makefile_target_frag in subdirs. * configure.in: config libgcc if its there Steve Chamberlain 1992-06-23 01:32:47 +00:00
  • f74d99418e * i386linux.c, hosts/i386linux.h, config/i386-linux.mt: New files, for Linux (a free Unix clone for 386 machines). * Makefile.in, configure.in, targets.c: Update accordingly. Per Bothner 1992-06-23 01:05:47 +00:00
  • e37a6e9c8a * infrun.c (wait_for_inferior): Don't test for SIGEMT (which is not a Posix signal) if it isn't defined. * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in: New port to Linux (a free Unix clone for 386 machines). Per Bothner 1992-06-23 00:25:11 +00:00
  • defb51a722 New port to Linux (a free Unix clone for 386 machines). Per Bothner 1992-06-23 00:23:22 +00:00
  • 303376a32c Lint Updates Steve Chamberlain 1992-06-22 16:07:35 +00:00
  • 800aef7c5c Lint stuff which didn't make it last time Steve Chamberlain 1992-06-22 16:07:05 +00:00
  • 3860075f3f Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com) Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and correct calling of howto special functions and fixes from Raeburn for gas<>bfdness * archures.c: nuke bfd_reloc_code_type * bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint * coffcode.h (styp_to_sec_flags): STYP_INFO is marked as SEC_NEVER_LOAD, various other bfdgas newness * reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup * targets.c: change jump table vector to above Steve Chamberlain 1992-06-22 15:42:38 +00:00
  • 28df0c3e2d (find_source_lines): Handle large st_size fields. John Gilmore 1992-06-21 03:09:18 +00:00
  • f70be3e45a COFF changes for dealing better with EPI 29K C compiler output. John Gilmore 1992-06-21 02:20:30 +00:00
  • 0cc37e2948 Typo. John Gilmore 1992-06-21 01:56:05 +00:00
  • d8a68b2844 * gdb.texinfo: document set remotedebug' and set rstack_high_address'. John Gilmore 1992-06-20 23:32:18 +00:00
  • b4fde6fa65 * infcmd.c (jump_command): Use cleanups to avoid memory leaks. * stack.c (return_command): Use cleanups to avoid memory leaks. Fred Fish 1992-06-20 23:30:33 +00:00
  • e95bfbf19c * remote-adapt.c, remote-eb.c, remote-mm.c: Lint. Fix INT_REGNUM to INTE_REGNUM. * tm-29k.h (SDB_REG_TO_REGNUM): Add for EPI 29K C compiler. John Gilmore 1992-06-20 03:42:14 +00:00
  • 796aae470c * elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION so its prototype will be included in libbfd.h. Change result type to struct * (rather than equivalent typedef) so it can be used in the prototype, where they typedef won't be known. * libbfd.h: Updated version. John Gilmore 1992-06-20 02:04:20 +00:00
  • 76b731f9ae HPPA BS Stu Grossman 1992-06-20 01:00:46 +00:00
  • bde34fd96d * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher. Stu Grossman 1992-06-19 22:50:08 +00:00
  • 39140ed22b HPPA merge. Stu Grossman 1992-06-19 22:48:09 +00:00
  • 5e511f6f70 * bfd.h: HPPA merge. Stu Grossman 1992-06-19 22:47:19 +00:00
  • 7da1e27dd4 * configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h, tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge. Stu Grossman 1992-06-19 22:43:49 +00:00
  • 9aa448333d * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern declarations of malloc/realloc/free that are inserted by some versions of yacc. * m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by #undeffing them. * xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet another decl of strdup (this really ought to come from libiberty.h!). Stu Grossman 1992-06-19 22:39:44 +00:00
  • 3fd76e5866 HPPA merge. Stu Grossman 1992-06-19 22:25:45 +00:00
  • e3c01e92af * Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h, targets.c: HPPA merge. Stu Grossman 1992-06-19 22:24:13 +00:00
  • 7d87ec828f * config.sub: HPPA merge. Stu Grossman 1992-06-19 22:20:16 +00:00
  • 8f86a4e465 * remote.c (getpkt): Error if input exceeds buffer size. (_initialize_remote): `set remotedebug' enables packet trace. John Gilmore 1992-06-19 21:09:54 +00:00
  • 0b909fe129 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com) John Gilmore 1992-06-19 19:54:41 +00:00
  • cf9395e5f5 * configure.in: Separate Solaris2 from SYSV4 on SPARC. * config/solaris2.mh: Kludge around Sun compiler bug. John Gilmore 1992-06-19 19:22:36 +00:00
  • 4341615d92 * valprint.c (type_print_1): Plug memory leak. Print all C++ syms as demangled, not just functions. * buildsym.c (read_range_type): When we find a signed char type, do a lookup of signed char, not plain char. Plain char's still get looked up as plain char's elsewhere. Fred Fish 1992-06-19 02:43:22 +00:00
  • 0eb759402a 1) Better fix for section "Readline Killing Commands": delete entire first paragraph. It looks like it's left over from previous nomenclature; term "cutting" introduced there is not used in rest of document. ("killing" is used instead, as in the section title and in the following paragraph.) Roland Pesch 1992-06-18 20:03:38 +00:00
  • fbcd1cb49d Delete dangling "There is a" at end of first paragraph under "Readline Killing Commands". None of our saved versions has the rest of this sentence, whatever it may have been... Roland Pesch 1992-06-18 19:04:16 +00:00
  • 30d1a3904f * h8300hms.em, h8300hms.sc-sh: do the right thing for -r * ldexp.c: lint * ldlang.c(open_output): set the target arch and machine as soon as we can. (lang_size_sections): use new macros for setting vma * ldwrite.c: lint Steve Chamberlain 1992-06-18 16:42:46 +00:00
  • 7634ebc804 * xm-rs6000.h: Fix decls for malloc, realloc, and free. Stu Grossman 1992-06-18 00:10:11 +00:00
  • abde386585 * tm-rs6000.h: Remove #include of inferior.h. Fixes many compilation errors. Stu Grossman 1992-06-17 23:57:40 +00:00
  • 826f73d0cf * xm-rs6000.h: Add decl for strdup(). Stu Grossman 1992-06-17 23:56:30 +00:00
  • 65c36045d3 * xm-rs6000.h: Remove #include of inferior.h. Fixes many compilation errors. Stu Grossman 1992-06-17 23:44:37 +00:00
  • 423e96646b * breakpoint.c (enable_command, disable_command): Without args, should only affect normal breakpoints and watchpoints. Stu Grossman 1992-06-17 21:53:28 +00:00
  • 547c0cb55c * libaout.h (aout_backend_data): Change defs of two bitfields to be unsigned chars instead to get around rs6000 compiler problem. Stu Grossman 1992-06-17 21:05:49 +00:00
  • 91f781ffbb * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table): Correct misconception that there can be only one symbol table. Only call elf_slurp_symbol_table on the full symbol table, not the dynamic one which is only a subset of the full one. Fred Fish 1992-06-17 20:58:46 +00:00
  • 2304d9a5f1 * m68k-pinsn.c (print_insn_arg): Make register be const. Stu Grossman 1992-06-17 20:24:32 +00:00
  • 427d778c2c * xcoffexec.c: Remove ' from comment. * xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts with decls of malloc in c-exp.tab.c (as produced by yacc). There's got to be a better way to do this... Stu Grossman 1992-06-17 20:15:03 +00:00