Updated for Tcl 7.5a2 and Tk 4.1a2
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
5a8d8b8d
SS
1Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
2
3 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4 Remove, never used.
5 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
6
ec5f347c
PB
7Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
8
9293e886
PB
9 * ch-exp.c (parse_tuple): Error if invalid mode.
10
533bda77
PB
11 * value.h (COERCE_ARRAY): Don't coerce enums.
12 (COERCE_ENUM): Don't COERCE_REF.
13 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
14 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
15 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
16 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
17 Add COERCE_REF before COERCE_ENUM.
18 * values.c (value_as_long): Simplify.
19
20 * valops.c (value_array): Create internalvar if !c_style_arrays.
21
ec5f347c
PB
22 * language.c (lang_bool_type): Add Fortran support.
23 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
24
87273c71
JL
25Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
26
27 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
28 All references changed.
29 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
30 Update state table. Reformat so that it's still readable.
31 When we hit the shlib_event breakpoint, set the calss of shlib_event.
32 (breakpoint_1): Add "shlib events" as a breakpoint type.
33 Print the shlib_event breakpoint like other breakpoints.
34 (create_solib_event_breakpoint): New function.
35 (breakpoint_re_set_one): Handle solib_event breakpoints.
36 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
37 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
38 action.
39 (create_solib_event_breakpoint): Declare.
40 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
41 (normal_stop): Inform the user when the inferior stoped due
42 to a shared library event.
43 (_initialize_infrun): Add new set/show variable "stop_on-solib-events"
44 to control whether or not gdb continues the inferior or stops it when
45 a shared library event occurs.
46 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
47 * somsolib.c (TODO list): Update.
48 (som_solib_create_inferior_hook): Arrange for gdb to be notified
49 when significant shared library events occur.
50 * hppa-tdep.c (find_unwind_entry): No longer static.
51
fc941258
DE
52Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
53
5a8d8b8d
SS
54 * printcmd.c (print_insn): Pass fprintf_unfiltered to
55 INIT_DISASSEMBLE_INFO.
56start-sanitize-gdbtk
57 * gdbtk.c (gdb_disassemble): Likewise.
58end-sanitize-gdbtk
fc941258 59
b3fd4c06
SS
60Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
61
62 * remote.c (remotebreak): New GDB variable.
63 (remote_break): New global.
64 (remote_interrupt): Send a break instead of ^C if remote_break.
65 * NEWS: Describe the new variable.
66
d2f5fa49
DE
67Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
68
69 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
70
8c038399
FF
71Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
72
73 * hp300ux-nat.c (getpagesize): Remove unused function
74 fetch_core_registers.
75 (hp300ux_core_fns): Remove, is unused.
76 (_initialize_core_hp300ux): Remove, is unused.
77 (gdbcore.h): Remove #include, no longer needed.
78
a0d76829
JL
79Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
80
81 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
82 ptrace bug in aix4.1.3 on the rs6000.
83
b6768627
SS
84Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
85
86 * remote-hms.c (hms_ops): Add value for to_thread_alive.
87 * remote-nindy.c (nindy_ops): Ditto.
88 * remote-udi.c (udi_ops): Ditto.
89
090d784a
JSC
90Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
91
92 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
93 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
94 pmon_load_fast): New functions. Support for the PMON monitor world.
95 (common_open): New function to merge support for different monitors.
96 (mips_open): Use common_open().
97 (mips_send_command): New function.
98 (mips_send_packet): Scan out-of-sequence packets.
99 (mips_enter_debug, mips_exit_debug): New functions.
100 (pmon_ops): New target definition structure.
101
4e327047
TT
102Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
103
104 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
105 specified on the make command line (via make LIBS=xxx).
106start-sanitize-gm
107 * configure.in (enable-gm): magic.o -> gmagic.o.
108end-sanitize-gm
109
110start-sanitize-gdbtk
111Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
112
113 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
114 (add_expr): Changes from create_expr_window.
115 (create_command_window): Set focus.
116 (delete_expr): Rewrote.
117 (expr_update_button): New proc.
118 (add_expr): Put bindings on FocusIn, FocusOut.
119 Don't allow .file_popup to be torn off.
120end-sanitize-gdbtk
121
1aac3d3c
JL
122Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
123
124 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
125 is set but there are no psymtabs.
126
c84e5000
SC
127Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
128
129 * dsrec.c (load_srec): Remove unused variable.
130 monitor.c (monitor_expect): Don't expect a ^C to echo.
131 * serial.c (serial_open): Add parallel interface.
132 * sh3-rom.c (parallel, parallel_in_use): New.
133 (sh3_load): If parallel_in_use, download though the
134 parallel port.
135 (sh3_open): Open parallel port if specified.
136 (sh3_close): New function.
137 (_inititalize_sh3): Add sh3_close hook and documentation.
138 * monitor.c (monitor_close): Export.
139 * monitor.h (monitor_close): Add prototype.
140
2c441e7f
SS
141Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
142
143 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
144 * remote.c (remotetimeout): New GDB variable, use to set the
145 remote timeout for reading.
146
4e327047
TT
147start-sanitize-gdbtk
148Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
149
150 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
151 (update_listing): Use lassign. Use "see" to scroll. Don't need
152 screen_top, screen_bot, screen_height.
153 (update_assembly): Use "see" to scroll.
154 (textscrollproc): Removed.
155 (create_file_win): Don't use textscrollproc.
156 (asmscrollproc): Removed.
157 (create_asm_window): Don't use asmscrollproc.
158 (create_asm_win): Ditto.
159 (screen_height, screen_top, screen_bot): Removed.
160 (run_editor): New proc.
161 (build_framework): Use it.
162 (create_file_win, create_source_window): Don't use textscrollproc.
163 (create_breakpoints_window): Set -xscrollcommand on canvas.
164 (not_implemented_yet): Default button is 0.
165 (delete_char): Don't use tk_textBackspace.
166 (create_command_window): Allow Tk bindings to fire after deleting
167 character.
168 (create_command_window): Make Delete delete left, not right.
169end-sanitize-gdbtk
170
3730a0ed
FF
171Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
172
173 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
174 to get "struct core_fns" defined.
175 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 176 Are dependent upon gdbcore_h.
3730a0ed 177
7ef89313
PB
178Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
179
180 * symfile.c (decrement_reading_symtab): New function.
181 * symfile.c, symtab.h (currently_reading_symtab): New variable.
182 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
183 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
184 currently_reading_symtab (since that could infinitely recurse).
185
1c486a2b
PB
186Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
187
34cfa2da
PB
188 * stabsread.c (read_struct_type): Trivial simplification.
189
1c486a2b
PB
190 * stabsread.c (define-symbol): Use invisible references
191 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 192 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
193 * eval.c (evaluate_subexp_standard): When known, use the formal
194 parameter type as the expected type when evaluating arg expressions.
195 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
196
4e327047
TT
197start-sanitize-gdbtk
198Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
199
200 * main.c (main): Disable window interface if --help or --version
201 specified.
202
203 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
204
205 Changes in sync with expect:
206 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
207 CY_AC_PATH_TK.
208 * aclocal.m4: Replaced with version from expect.
209 * configure: Regenerated.
210end-sanitize-gdbtk
a1df8e78 211
a1956677
BK
212Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
213
214 * configure.in, configure: Recognize rs6000-*-aix4*.
215 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
216 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
217 * config/rs6000/xm-aix4.h: New file.
218 * config/xm-aix4.h: New file.
219
3730a0ed 220Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
221
222 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
223 * gdbserver/low-linux.c: New file.
224 * remote.c (remote_read_bytes): Fix aborts on larger packets.
225
226 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
227 Define.
228 * stabsread.c (define_symbol): If register value is too large,
229 tell what it is and what max is.
230
4e327047
TT
231start-sanitize-gdbtk
232Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
233
234 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
235 gdbtk_tcl_flush): Use "see", not "yview".
236 (gdbtk_tcl_query): Use questhead bitmap.
237 various: Always wrap condition of 'if' in {...}.
238 (add_breakpoint_frame): Set -value on radiobuttons.
239 (lassign): New proc.
240 (add_breakpoint_frame): Use lassign, not series of assignments.
241 (decr): Made faster.
242 (interactive_cmd): Use "see", not "yview".
243 (not_implemented_yet): Use warning bitmap.
244 (update_expr): Don't allow $expr to be evalled by Tcl.
245 (create_expr_window): Don't use "focus".
246 (delete_char, delete_line): Define globally.
247 (delete_line, delete_char, create_command_window, update_autocmd,
248 build_framework, create_asm_win, create_file_win): Use "see", not
249 "yview".
250 (create_copyright_window, center_window, bind_widget_after_class):
251 New procs.
252 (FSBox,create_command_window, create_autocmd_window): Binding
253 changes for Tk4.
254 (textscrollproc): Define globally.
255 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
256 Home, End, Up, and Down are all defined by Tk.
257 (apply_filespec): Use error bitmap in dialog.
258 (files_command): Don't use tk_listboxSingleSelect.
259 (files_command): Don't use "uniq" to remove duplicates from a
260 list.
261 (update_assembly): Use lassign.
262 (create_asm_win): Removed redundant bindings.
263 (listing_window_button_1, file_popup_menu): Use tk_popup.
264 (ButtonRelease-1 binding): Just remove tag from window; rest
265 handled by Tk.
266
267 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
268 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
269 (gdbtk_call_command): Ditto.
270end-sanitize-gdbtk
271
60d5a517
JL
272Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
273
274 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
275 enum namespace -> enum_namespace change.
276
d1f5c804
WM
277Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
278
2c441e7f
SS
279 * ch-exp.c (parse_primval): In case ARRAY, add missing
280 FORWARD_TOKEN ().
d1f5c804 281
1f233758
SS
282Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
283
284 * remote-mips.c (mips_receive_header): Recognize \012 instead
285 of \n, but write \n when program sends a \012.
286 * ser-mac.c (mac_input_buffer): Increase size of buffer.
287
ed3b618d
JL
288Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
289
290 * infptrace.c (initialize_infptrace): Move function out of
291 #ifdef conditional; put code within the function inside an
292 #ifdef conditional.
436d4143
JL
293
294 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
295 arguments. Sorting is now dependent on OBJF_REORDERED. All
296 callers/references changed.
297 * dbxread.c (read_ofile_symtab): Correctly determine value for
298 last_source_start_addr for reordered executables.
299 (process_one_symbol): Handle N_FUN with no name as an end of
300 function marker.
301 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
302 is the high text address for a psymtab.
303 (case N_SO): Likewise.
304 (case N_FUN): Handle N_FUN with no name as an end of function
305 marker.
306 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
307 at the same address rather than a random subset of them.
308 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
309 * elfread.c (elf_symfile_init): Similarly.
310 * somread.c (som_symfile_init): Similarly.
311 * xcoffread.c (xcoff_symfile_init): Similarly.
312
5351b2a0
SG
313Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
314
315 * stack.c (print_stack_frame print_frame_info) symmisc.c
316 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
317 that catch_errors doesn't get blindsided by QUIT and lose the
318 cleanup chain. This fixes a problem where ^C while in a
319 user-defined command sometimes leaves instream NULL and causes a
320 segfault in command_loop.
321
127841e4
BK
322Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
323
324 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
325
6b4fe21d
SC
326Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
327
328 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
329 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
330 srec.o renamed to dsrec.o.
331
0fe1522a
SG
332Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
333
334 * breakpoint.c (remove_breakpoint): Change error to warning so
335 that hardware watchpoint removal problems won't leave breakpoint
336 traps in the target.
d039321c 337start-sanitize-gdbtk
0fe1522a 338 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 339end-sanitize-gdbtk
0fe1522a
SG
340 * remote-e7000.c (e7000_insert_breakpoint,
341 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
342 breakpoints.
343 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
344 compensate for e7000 maladjustment.
345 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
346 which prevented hardware watchpoints from working.
347
7531f36e
FF
348Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
349
350 * infptrace.c (udot_info): New function.
351 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
352 * rs6000-nat.c (kernel_u_size): New function
353 Include <sys/user.h> for "struct user"
7531f36e
FF
354 * alpha-nat.c (kernel_u_size): New function.
355 Include <sys/user.h> for "struct user"
7531f36e
FF
356 * sparc-nat.c (kernel_u_size): New function.
357 Include <sys/user.h> for "struct user"
7531f36e 358 * i386b-nat.c (kernel_u_size): New function.
7531f36e 359 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
360 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
361 (kernel_u_size): Declare.
7531f36e
FF
362 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
363 (kernel_u_size): Declare.
7531f36e
FF
364 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
365 (kernel_u_size): Declare.
7531f36e
FF
366 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
367 (kernel_u_size): Declare.
7531f36e
FF
368 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
369 (kernel_u_size): Declare.
7531f36e 370
1750a5ef
SC
371Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
372
373 * mdebugread.c (mylookup_symbol): enum namespace becomes
374 enum_namespace type.
375 * symfile.c (add_psymbol_to_list)
376 (add_psymbol_addr_to_list): Ditto.
377 * symtab.c (lookup_partial_symbol): Ditto.
378 (lookup_symbol): Ditto.
379 (lookup_block_symbol): Ditto.
380 * win32-nat.c (handle_load_dll): Use incoming dll base.
381 (child_wait): Catch DLL load errors.
382 (create_child_inferior): Translated between paths correctly.
383
e33aefba
FF
384Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
385
386 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
387 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
388 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
389 of number of general regs and number of floating point regs.
e33aefba 390
e02a2ad9
SC
391Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
392
a3b64bf9
SC
393 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
394 (SKIP_TRAMPOLINE_CODE): New.
395 * config/i386/xm-win32.h (CANT_FORK): Deleted.
396 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
397 * symtab.h (namespace enum): becomes typedef to avoid namespace
398 collision in C++.
399 * infcmd.c (path_command): Use empty string if PATH name not set.
400 * i386-tdep.c (skip_trampoline_code): New function.
401 * srec.c: Renamed dsrec.c to avoid filename collision.
402 * Makefile.in: Cope with renaming.
e02a2ad9 403
ef4d6187 404Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 405
ef4d6187
FF
406 * symmisc.c (print_objfile_statistics): Print memory use statistics
407 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 408
ef4d6187 409Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 410
ef4d6187
FF
411 * config/mips/nm-irix5.h: Restore.
412 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
413 from Lee Iverson <leei@ai.sri.com>.
414 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
415 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 416
ef4d6187 417For older changes see ChangeLog-95
bd5635a1
RP
418\f
419Local Variables:
420mode: indented-text
421left-margin: 8
422fill-column: 74
423version-control: never
424End:
This page took 0.345224 seconds and 4 git commands to generate.