(value_fetch_lazy): Avoid 0-length fetches.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9cb602e1
JG
1Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com)
2
3 * valops.c (value_fetch_lazy): Avoid 0-length fetches.
4
b662acae
FF
5Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com)
6
c8c0a2bd
FF
7 * dwarfread.c: Add casts to remove compiler warnings.
8
84d82b1c
FF
9 * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h,
10 tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h,
11 tm-sun3.h: Remove locally duplicated code for calling functions
12 in the inferior. The only differences were in the specific trap
13 vectors used and whether or not an fpu was present. These are
14 now handled by appropriate definitions of BPT_VECTOR and
15 HAVE_68881 respectively. Other minor obvious cleanups.
16
17 * valops.c: Correct a minor misspelling.
18
ed317bb3
FF
19 * utils.c: Remove local BSD/USG hacks that are now in libiberty.
20
b662acae
FF
21 * dwarfread.c: Remove prototype for dwarfwarn. Does not work
22 with <varargs.h>.
23
313fdead
JG
24Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com)
25
b0077123
JG
26 * stack.c (frame_command): Always print. Use new
27 frame_select_command to select a frame without printing.
28
313fdead
JG
29 * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable.
30
4a35d6e9
FF
31Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com)
32
35f5886e
FF
33 * dwarfread.c: New file for DWARF debugging format support.
34
35 * elfread.c: New file for ELF object file format support.
36
37 * procfs.c: New file for SVR4 /proc (process file system) support.
38
39 * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for
40 Amiga UNIX support.
41
42 * xm-svr4.h, tm-svr4.h: New files for SVR4 support.
43
44 * xm-m68k.h: New file for host machines with m68k cpu.
45
bb4ff694
FF
46 * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR.
47 Add elfread.o and dwarfread.o to OBS.
48
49 * symfile.h: Add "elf" to list of supported formats in comment.
50
e2aab031
FF
51 * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin
52 types to gdb, builtin_type_long_double, builtin_type_complex, and
53 builtin_type_double_complex. Add and use new TARGET_SHORT_BIT,
54 TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT,
55 TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and
56 TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated
57 types on the target machine (ala the existing TARGET_LONG_LONG_BIT).
58
02070680
FF
59 * infrun.c: When using SVR4 /proc interface instead of ptrace(),
60 call proc_set_exec_trap() to setup child to stop at first instruction.
61
62 * inftarg.c: When using SVR4 /proc interface, call proc_wait()
63 rather than wait().
64
65 * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(),
66 supply_fpregset(), and fill_fpregset(), which are machine
67 dependent support routines for SVR4 /proc interface.
68
2bc2e684
FF
69 * utils.c: Add warning_setup() and warning(). Warning() behaves
70 the same as error() except that it returns normally rather than
71 jumping back to command level. Modules that don't want to call
72 warning() for some reason, but want to produce their own warnings,
73 can call warning_setup() to ensure compatibility with the way
74 warning() and error() deal with the terminal.
75
eaa1ef1d
FF
76 * symtab.c: Make internal errors produce more useful messages.
77
dcd15e5e
FF
78 * tm-68k.h: Move code that is duplicated in almost every single
79 m68k based machine's configuration files to this common file.
80 Duplications in the configuration files still need to be removed
81 (FIXME).
82
150f5436
FF
83 * infrun.c (child_create_inferior): System V versions must call
84 setpgrp() with no arguments, to comply with prototyping typically
85 in <unistd.h>.
86
cb17dfb1
FF
87 * munch: Add support for SVR4 style nm output.
88
4a35d6e9
FF
89 * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object
90 file specific fields from the partial symbol table structure and
91 replace them with a pointer to private data for each different
92 flavor of object file reader to initialize appropriately.
93
b0077123
JG
94Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com)
95
96 * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c
97 and previous.
98
99 * mipsread.c (fixup_undef_type): New function. If a struct /
100 union / enum is defined in a header file but nowhere else used,
101 (by typedefing, pointer referencing or declaration) the mipsread code
102 builds the complete tree for the structure but leaves its code as
103 TYPE_CODE_UNDEF as it doesn't know what kind of aggregate it is.
104 Guess its type based on the details of the members.
105
0d3e7f60
SG
106Tue Oct 22 18:04:32 1991 Stu Grossman (grossman at cygnus.com)
107
108 * infrun.c (wait_for_inferior): Check return value from
109 find_pc_line.
110
bc6c937d
SG
111Mon Oct 21 17:47:03 1991 Stu Grossman (grossman at cygnus.com)
112
113 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
114 by my last edit to this routine.
115
b0077123
JG
116Mon Oct 21 14:27:43 1991 John Gilmore (gnu at cygnus.com)
117
118 * tm-sun3.h (FIX_CALL_DUMMY): problem with cross debugging.
119 FIX_CALL_DUMMY does unaligned accesses and/or forgets to byte swap
120 the values before putting them into the dummy code. (From Peter
121 Schauer)
122
44e4e473
SC
123Mon Oct 21 10:04:39 1991 Steve Chamberlain (steve at rtl.cygnus.com)
124
125 * configure.in: added ebmon target.
126
785ce19c 127Wed Oct 16 22:49:58 1991 John Gilmore (gnu at cygnus.com)
a1b8c5d6
JG
128
129 GDB-4.2 release!
130
131 * Makefile.in: Roll VERSION to 4.2.
44e4e473 132 * README, TODO, WHATS.NEW: Update.
a1b8c5d6
JG
133
134 * core.c (core_open): Improve error message for bad file.
135 Pass .reg virtual memory address to fetch_core_registers to help
136 it find the registers in the core-file header.
137 * coredep.c (fetch_core_registers): Take new argument, use it,
138 and pass it to register_addr to locate the block of registers.
785ce19c 139 * xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
a1b8c5d6
JG
140
141 * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
142 Sequent N_FN_SEQ like everybody else's N_FN.
143
144 * main.c: Circumvent SCO cc bug with #if !!defined(USG).
145 * tm-i386v.h: #endif guck.
146 * xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
785ce19c
JG
147 * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
148 * xconfig/tahoe: Add REGEX, which seems to be missing.
149
150 * coredep.c: Add <sys/types.h> for SCOnix.
151 * dbxread.c (read_dbx_symntab): Avoid coredump on malformed file.
152 * printcmd.c (print_formatted): Flush output before disassembly.
a1b8c5d6 153
93ae2e88
RP
154Tue Oct 15 20:12:32 1991 Roland H. Pesch (pesch at fowanton.cygnus.com)
155
9e0906a6
RP
156 * doc/refcard.tex (sec "Working Files"): consistent metavars and