Fix typo in comment.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
87273c71
JL
1Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
2
3 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
4 All references changed.
5 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
6 Update state table. Reformat so that it's still readable.
7 When we hit the shlib_event breakpoint, set the calss of shlib_event.
8 (breakpoint_1): Add "shlib events" as a breakpoint type.
9 Print the shlib_event breakpoint like other breakpoints.
10 (create_solib_event_breakpoint): New function.
11 (breakpoint_re_set_one): Handle solib_event breakpoints.
12 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
13 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
14 action.
15 (create_solib_event_breakpoint): Declare.
16 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
17 (normal_stop): Inform the user when the inferior stoped due
18 to a shared library event.
19 (_initialize_infrun): Add new set/show variable "stop_on-solib-events"
20 to control whether or not gdb continues the inferior or stops it when
21 a shared library event occurs.
22 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
23 * somsolib.c (TODO list): Update.
24 (som_solib_create_inferior_hook): Arrange for gdb to be notified
25 when significant shared library events occur.
26 * hppa-tdep.c (find_unwind_entry): No longer static.
27
fc941258
DE
28Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
29
30 * gdbtk.c (gdb_disassemble): Rework disassemble_info initialization.
810b984d
DE
31 Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO.
32 * printcmd.c (print_insn): Likewise.
fc941258 33
b3fd4c06
SS
34Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
35
36 * remote.c (remotebreak): New GDB variable.
37 (remote_break): New global.
38 (remote_interrupt): Send a break instead of ^C if remote_break.
39 * NEWS: Describe the new variable.
40
d2f5fa49
DE
41Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
42
43 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
44
8c038399
FF
45Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
46
47 * hp300ux-nat.c (getpagesize): Remove unused function
48 fetch_core_registers.
49 (hp300ux_core_fns): Remove, is unused.
50 (_initialize_core_hp300ux): Remove, is unused.
51 (gdbcore.h): Remove #include, no longer needed.
52
a0d76829
JL
53Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
54
55 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
56 ptrace bug in aix4.1.3 on the rs6000.
57
b6768627
SS
58Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
59
60 * remote-hms.c (hms_ops): Add value for to_thread_alive.
61 * remote-nindy.c (nindy_ops): Ditto.
62 * remote-udi.c (udi_ops): Ditto.
63
640086fd
SG
64Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
65
66 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
67 specified on the make command line (via make LIBS=xxx).
68start-sanitize-gm
69 * configure.in (enable-gm): magic.o -> gmagic.o.
70end-sanitize-gm
71
090d784a
JSC
72Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
73
74 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
75 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
76 pmon_load_fast): New functions. Support for the PMON monitor world.
77 (common_open): New function to merge support for different monitors.
78 (mips_open): Use common_open().
79 (mips_send_command): New function.
80 (mips_send_packet): Scan out-of-sequence packets.
81 (mips_enter_debug, mips_exit_debug): New functions.
82 (pmon_ops): New target definition structure.
83
1aac3d3c
JL
84Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
85
86 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
87 is set but there are no psymtabs.
88
c84e5000
SC
89Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
90
91 * dsrec.c (load_srec): Remove unused variable.
92 monitor.c (monitor_expect): Don't expect a ^C to echo.
93 * serial.c (serial_open): Add parallel interface.
94 * sh3-rom.c (parallel, parallel_in_use): New.
95 (sh3_load): If parallel_in_use, download though the
96 parallel port.
97 (sh3_open): Open parallel port if specified.
98 (sh3_close): New function.
99 (_inititalize_sh3): Add sh3_close hook and documentation.
100 * monitor.c (monitor_close): Export.
101 * monitor.h (monitor_close): Add prototype.
102
2c441e7f
SS
103Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
104
105 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
106 * remote.c (remotetimeout): New GDB variable, use to set the
107 remote timeout for reading.
108
3730a0ed
FF
109Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
110
111 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
112 to get "struct core_fns" defined.
113 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 114 Are dependent upon gdbcore_h.
3730a0ed 115
7ef89313
PB
116Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
117
118 * symfile.c (decrement_reading_symtab): New function.
119 * symfile.c, symtab.h (currently_reading_symtab): New variable.
120 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
121 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
122 currently_reading_symtab (since that could infinitely recurse).
123
1c486a2b
PB
124Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
125
34cfa2da
PB
126 * stabsread.c (read_struct_type): Trivial simplification.
127
1c486a2b
PB
128 * stabsread.c (define-symbol): Use invisible references
129 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 130 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
131 * eval.c (evaluate_subexp_standard): When known, use the formal
132 parameter type as the expected type when evaluating arg expressions.
133 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
134
a1df8e78
FF
135Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
136
137 * coredep.c: Renamed to core-aout.c
138 * core-svr4.c: Renamed to core-regset.c
139 * Makefile.in (ALLDEPFILES): Account for renamings.
140 * corelow.c (core_file_fns): Add, points to chain of structs.
141 (add_core_fns): New function to build chain of structs.
142 (get_core_registers): Modify to search core functions chain and call
143 appropriate fetch_core_registers function based on core file flavour.
144 * gdbcore.h (fetch_core_registers): Remove declaration.
145 (struct core_fns): Define struct for core function info.
146 * i386m3-nat.c: Update comment for filename change (coredep->core-aout)
147 * a68v-nat.c (fetch_core_registers): Remove stub, not needed now.
148 * alpha-nat.c (fetch_core_registers): Make static.
149 (alpha_core_fns, _initialize_core_alpha): New struct and func.
150 * core-aout.c (fetch_core_registers): Make static
151 (aout_core_fns, _initialize_core_aout): New struct and func.
152 * core-regset.c (fetch_core_registers): Make static.
153 (regset_core_fns, _initialize_core_regset): New struct and func.
154 * core-sol2.c (fetch_core_registers): Make static.
155 (solaris_core_fns, _initialize_core_solaris): New struct and func.
156 * hp300ux-nat.c (fetch_core_registers): Make static.
157 (hp300ux_core_fns, _initialize_core_hp300ux): New struct and func.
158 * i386aix-nat.c (fetch_core_registers): Make static.
159 (i386aix_core_fns, _initialize_core_i386aix): New struct and func.
160 * i386mach-nat.c (fetch_core_registers: Make static.
161 (i386mach_core_fns, _initialize_core_i386mach): New struct and func.
162 * irix4-nat.c (fetch_core_registers): Make static.
163 (irix4_core_fns, _initialize_core_irix4): New struct and func.
164 * irix5-nat.c (fetch_core_registers):
165 (irix5_core_fns, _initialize_core_irix5): New struct and func.
166 * lynx-nat.c (fetch_core_registers): Make static.
167 (lynx_core_fns, _initialize_core_lynx): New struct and func.
168 * mips-nat.c (fetch_core_registers): Make static.
169 (mips_core_fns, _initialize_core_mips): New struct and func.
170 * ns32km3-nat.c (fetch_core_registers): Remove stub.
171 * rs6000-nat.c (fetch_core_registers): Make static.
172 (rs6000_core_fns, _initialize_core_rs6000): New struct and func.
173 * sparc-nat.c (fetch_core_registers): Make static.
174 (sparc_core_fns, _initialize_core_sparc): New struct and func.
175 * sun3-nat.c (fetch_core_registers):
176 (sun3_core_fns, _initialize_core_sun3): New struct and func.
177 * sun386-nat.c (fetch_core_registers): Remove stub.
178 * ultra3-nat.c (fetch_core_registers): Make static.
179 (ultra3_core_fns, _initialize_core_ultra3): New struct and func.
180 * config/gould/pn.mh (XDEPFILES),
181 config/i386/fbsd.mh (NATDEPFILES),
182 config/i386/i386bsd.mh (NATDEPFILES),
183 config/i386/i386m3.mh (XDEPFILES),
184 config/i386/i386sco.mh (NATDEPFILES),
185 config/i386/i386sco4.mh (NATDEPFILES),
186 config/i386/i386v.mh (NATDEPFILES),
187 config/i386/i386v32.mh (NATDEPFILES),
188 config/i386/nbsd.mh (NATDEPFILES),
189 config/i386/ptx.mh (XDEPFILES),
190 config/i386/ptx4.mh (XDEPFILES),
191 config/i386/symmetry.mh (NATDEPFILES),
192 config/m68k/3b1.mh (XDEPFILES),
193 config/m68k/cisco.mt (TDEPFILES),
194 config/m68k/delta68.mh (NATDEPFILES),
195 config/m68k/dpx2.mh (NATDEPFILES),
196 config/m68k/hp300bsd.mh (NATDEPFILES),
197 config/m68k/hp300hpux.mh (NATDEPFILES),
198 config/m68k/isi.mh (XDEPFILES),
199 config/m68k/news.mh (NATDEPFILES),
200 config/m68k/news1000.mh (XDEPFILES),
201 config/m88k/cxux.mh (NATDEPFILES),
202 config/m88k/delta88.mh (NATDEPFILES),
203 config/mips/littlemips.mh (XDEPFILES),
204 config/mips/mipsm3.mh (XDEPFILES),
205 config/ns32k/merlin.mh (XDEPFILES),
206 config/ns32k/nbsd.mh (NATDEPFILES),
207 config/ns32k/ns32km3.mh (NATDEPFILES),
208 config/pa/hppabsd.mh (NATDEPFILES),
209 config/pa/hppahpux.mh (NATDEPFILES),
210 config/romp/rtbsd.mh (XDEPFILES),
211 config/tahoe/tahoe.mh (XDEPFILES),
212 config/vax/vaxbsd.mh (XDEPFILES),
213 config/vax/vaxult.mh (NATDEPFILES),
214 config/vax/vaxult2.mh (NATDEPFILES),
215 Account for coredep.o to core-aout.o name change.
216 * config/i386/i386dgux (NATDEPFILES),
217 config/i386/i386sol2.mh (NATDEPFILES),
218 config/i386/i386v4.mh (NATDEPFILES),
219 config/i386/linux.mh (NATDEPFILES),
220 config/i386/ncr3000.mh (NATDEPFILES),
221 config/m68k/m68kv4.mh (NATDEPFILES),
222 config/m88k/delta88v4.mh (NATDEPFILES),
223 config/mips/mipsv4.mh (NATDEPFILES),
224 Account for core-svr4.o to core-regset.o name change.
225
a1956677
BK
226Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
227
228 * configure.in, configure: Recognize rs6000-*-aix4*.
229 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
230 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
231 * config/rs6000/xm-aix4.h: New file.
232 * config/xm-aix4.h: New file.
233
3730a0ed 234Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
235
236 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
237 * gdbserver/low-linux.c: New file.
238 * remote.c (remote_read_bytes): Fix aborts on larger packets.
239
240 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
241 Define.
242 * stabsread.c (define_symbol): If register value is too large,
243 tell what it is and what max is.
244
60d5a517
JL
245Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
246
247 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
248 enum namespace -> enum_namespace change.
249
d1f5c804
WM
250Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
251
2c441e7f
SS
252 * ch-exp.c (parse_primval): In case ARRAY, add missing
253 FORWARD_TOKEN ().
d1f5c804 254
1f233758
SS
255Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
256
257 * remote-mips.c (mips_receive_header): Recognize \012 instead
258 of \n, but write \n when program sends a \012.
259 * ser-mac.c (mac_input_buffer): Increase size of buffer.
260
ed3b618d
JL
261Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
262
263 * infptrace.c (initialize_infptrace): Move function out of
264 #ifdef conditional; put code within the function inside an
265 #ifdef conditional.
436d4143
JL
266
267 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
268 arguments. Sorting is now dependent on OBJF_REORDERED. All
269 callers/references changed.
270 * dbxread.c (read_ofile_symtab): Correctly determine value for
271 last_source_start_addr for reordered executables.
272 (process_one_symbol): Handle N_FUN with no name as an end of
273 function marker.
274 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
275 is the high text address for a psymtab.
276 (case N_SO): Likewise.
277 (case N_FUN): Handle N_FUN with no name as an end of function
278 marker.
279 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
280 at the same address rather than a random subset of them.
281 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
282 * elfread.c (elf_symfile_init): Similarly.
283 * somread.c (som_symfile_init): Similarly.
284 * xcoffread.c (xcoff_symfile_init): Similarly.
285
5351b2a0
SG
286Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
287
288 * stack.c (print_stack_frame print_frame_info) symmisc.c
289 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
290 that catch_errors doesn't get blindsided by QUIT and lose the
291 cleanup chain. This fixes a problem where ^C while in a
292 user-defined command sometimes leaves instream NULL and causes a
293 segfault in command_loop.
294
127841e4
BK
295Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
296
297 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
298
6b4fe21d
SC
299Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
300
301 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
302 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
303 srec.o renamed to dsrec.o.
304
0fe1522a
SG
305Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
306
307 * breakpoint.c (remove_breakpoint): Change error to warning so
308 that hardware watchpoint removal problems won't leave breakpoint
309 traps in the target.
d039321c 310start-sanitize-gdbtk
0fe1522a 311 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 312end-sanitize-gdbtk
0fe1522a
SG
313 * remote-e7000.c (e7000_insert_breakpoint,
314 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
315 breakpoints.
316 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
317 compensate for e7000 maladjustment.
318 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
319 which prevented hardware watchpoints from working.
320
7531f36e
FF
321Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
322
323 * infptrace.c (udot_info): New function.
324 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
325 * rs6000-nat.c (kernel_u_size): New function
326 Include <sys/user.h> for "struct user"
7531f36e
FF
327 * alpha-nat.c (kernel_u_size): New function.
328 Include <sys/user.h> for "struct user"
7531f36e
FF
329 * sparc-nat.c (kernel_u_size): New function.
330 Include <sys/user.h> for "struct user"
7531f36e 331 * i386b-nat.c (kernel_u_size): New function.
7531f36e 332 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
333 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
334 (kernel_u_size): Declare.
7531f36e
FF
335 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
336 (kernel_u_size): Declare.
7531f36e
FF
337 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
338 (kernel_u_size): Declare.
7531f36e
FF
339 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
340 (kernel_u_size): Declare.
7531f36e
FF
341 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
342 (kernel_u_size): Declare.
7531f36e 343
1750a5ef
SC
344Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
345
346 * mdebugread.c (mylookup_symbol): enum namespace becomes
347 enum_namespace type.
348 * symfile.c (add_psymbol_to_list)
349 (add_psymbol_addr_to_list): Ditto.
350 * symtab.c (lookup_partial_symbol): Ditto.
351 (lookup_symbol): Ditto.
352 (lookup_block_symbol): Ditto.
353 * win32-nat.c (handle_load_dll): Use incoming dll base.
354 (child_wait): Catch DLL load errors.
355 (create_child_inferior): Translated between paths correctly.
356
e33aefba
FF
357Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
358
359 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
360 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
361 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
362 of number of general regs and number of floating point regs.
e33aefba 363
e02a2ad9
SC
364Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
365
a3b64bf9
SC
366 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
367 (SKIP_TRAMPOLINE_CODE): New.
368 * config/i386/xm-win32.h (CANT_FORK): Deleted.
369 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
370 * symtab.h (namespace enum): becomes typedef to avoid namespace
371 collision in C++.
372 * infcmd.c (path_command): Use empty string if PATH name not set.
373 * i386-tdep.c (skip_trampoline_code): New function.
374 * srec.c: Renamed dsrec.c to avoid filename collision.
375 * Makefile.in: Cope with renaming.
e02a2ad9 376
ef4d6187 377Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 378
ef4d6187
FF
379 * symmisc.c (print_objfile_statistics): Print memory use statistics
380 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 381
ef4d6187 382Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 383
ef4d6187
FF
384 * config/mips/nm-irix5.h: Restore.
385 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
386 from Lee Iverson <leei@ai.sri.com>.
387 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
388 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 389
ef4d6187 390For older changes see ChangeLog-95
bd5635a1
RP
391\f
392Local Variables:
393mode: indented-text
394left-margin: 8
395fill-column: 74
396version-control: never
397End:
This page took 0.34996 seconds and 4 git commands to generate.