* symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
14b22711
FF
1Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
2
3 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
4 delete entirely someday.
5
884fb64c
SS
6Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
7
8 * mpw-make.sed: Edit out makefile rebuild rule.
9 (host_alias, target_alias): Comment out instead of deleting.
10 (@LIBS@): Edit out references.
11
f1d39876
FF
12Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
13
14 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
15 Use n_psyms in OBJSTAT, not psyms.
16
17Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
18
19 * configure.in (sparclet-*-aout*): New config.
20 * configure: Regenerated.
21
c37c7c6c
FF
22Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
23
24 * somsolib.c (som_solib_add): Use xmalloc rather than bare
25 unchecked call to malloc.
26 * remote-mips.c (pmon_load_fast): ditto.
27 * remote-mm.c (mm_open): ditto.
28 * hpread.c (hpread_lookup_type): ditto.
29 * remote-adapt.c (adapt_open): ditto.
30
6405302d
FF
31Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
32
33 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
34 allocate_saved_f77_common_node, allocate_common_entry_node,
35 add_common_block): Use xmalloc rather than malloc, some of which
36 were unchecked.
37 * gnu-regex.c: At same point as other gdb specific changes
38 #undef malloc and then #define it to xmalloc.
39 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
40 bare unchecked calls to malloc/realloc.
41 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
42 unchecked call to malloc.
43
ff7116e2
SG
44Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
45
46 * symtab.c (gdb_mangle_name): Change opname var to be const to
47 match return val of cplus_mangle_name.
48 * i960-tdep.c: Change arg types of next_insn to match callers.
49
b0ee0cf2
FF
50Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
51
52 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
53 apparently aren't needed in any reasonably recent version of
54 linux.
55
ec49fc98
PB
56Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
57
58 * stabsread.c (read_range_type): If !self-subrange and language
59 is Chill, assume a true range. If a true_range is a sub_subrange,
60 use builtin_type_int for index_type.
61
62Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
63
64 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
65 with an ANSI compiler.
66
f0b0d915
TT
67start-sanitize-gdbtk
68Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
69
70 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
71 double-clicking will work again.
72 (create_asm_win): Put "break" at end of all B1 bindings.
73 (create_file_win): Lower "sel" tag, don't raise it.
74 (ensure_line_visible): New proc.
75 (update_listing, update_assembly): Use it.
76 (create_copyright_window): Destroy window on Leave event.
77 (create_command_window): Put "break" at end of all B2 bindings.
78
79end-sanitize-gdbtk
263af172
SC
80Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
81
82 From Michael_Snyder@NeXT.COM (Michael Snyder):
83 * valops.c (value_arg_coerce): Coerce float to double, unless the
84 function prototype specifies float.
85
fc71ad23 86Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
8bdae156 87
fc71ad23
TT
88 * language.c (set_language_command): Use languages table when
89 printing available languages.
90
91Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
92
93 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
94 * command.c (add_cmd): Add missing initialization for enums member.
95 Reorder members to match structure declaration to make it easier to
96 tell when one is missing.
97 * exec.c (exec_file_command): Fix problem where filename in malloc'd
98 memory is referenced after being freed.
8bdae156 99
255181a9
PS
100Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
101
102 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
103 AT_name tag is missing.
104
105 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
106 FLTWATCH and FLTKWATCH are defined.
107
108 * remote.c (remote_read_bytes): Advance memaddr for transfers,
109 return number of bytes transferred for partial reads.
110
111 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
112
454ffae5
SC
113Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
114
115 * win32-nat.c (mappings): Add ppc registers.
9a763320 116 (child_resume): Turn off step for ppc.
454ffae5 117
3d78f532
SC
118Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
119
120 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
121 xm-cygwin32.h): New.
122 * config/i386/(*win32*): Becomes *cygwin32*.
123 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
124 (powerpcle-*-cygwin32): New.
125 * configure: Regenerate.
126 * win32-nat.c (child_create_inferior): Call CreateProcess
127 with the right program arg.
128
4ad70253
JL
129Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
130
131 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
132
0db5a6fe
FF
133Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
134
135 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
136
28bc5ef7
SS
137Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
138
97abaf19
SS
139 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
140
28bc5ef7
SS
141 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
142
97abaf19
SS
143 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
144 here from config/i386/xm-i386mach.h, fix name.
145 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
146 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
147 here from config/i386/xm-ptx4.h.
148 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
149 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
150 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
151 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
152 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
153
28bc5ef7
SS
154 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
155 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
156 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 157
17280c3f
JL
158Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
159
160 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
161 floating point correctly.
162 (STORE_RETURN_VALUE): Likewise.
163 * config/pa/tm-pro.h (SOFT_FLOAT): define.
164
44e9f3b3
FF
165Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
166
167 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
168 Define to what should be reasonable values. However, apparently
169 a bug in linux mmap prevents mapped symbol tables from working.
170
ad1e42be
FF
171Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
172
173 * defs.h (errno.h>: Move #include closer to head of file to solve
174 obscure problem with systems that declare perror with const arg, in
175 both errno.h and stdio.h, and const is defined away by intervening
176 local include.
177
d3ba76fc
FF
178Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
179
180 From Jon Reeves <reeves@zk3.dec.com>:
181 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
182 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
183
f6ade5dd
FF
184Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
185
186 * Makefile.in (diststuff): Make all-doc; diststuff target does not
187 exist in doc/Makefile.in.
188
cdea3fd3
SS
189Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
190
191 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
192
d221b17e
WM
193Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
194
cdea3fd3
SS
195 * ch-valprint.c (calculate_array_length): New function to
196 determine the length of an array type.
d221b17e
WM
197 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
198 array type is zero, call calculate_array_length.
199
cdea3fd3
SS
200 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
201 values may not be sorted. Scan all entries and set the real lower
202 and upper bound.
d221b17e 203
fa9f5840
FF
204Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
205
206 * config/xm-linux.h: Move include of solib.h and #define of
207 SVR4_SHARED_LIBS from here ...
208 * config/nm-linux.h: ...to here.
209
4708ac65
FF
210Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
211
212 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
213 Also check for gregset_t and fpregset_t types.
214 * configure: Regenerate.
215 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
216 is defined.
217 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
218 and HAVE_FPREGSET_T are defined. These changes allow systems
219 like linux that are migrating to /proc support to use a single
220 configuration for both new and old versions.
221
222 * config/i386/linux.mt: Note that this is now for both a.out and
223 ELF systems.
224 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
225 i386v4-nat.o
226 * config/i386/tm-linux.h (tm-sysv4.h): Include.
227 * config/i386/xm-linux.h (solib.h): Include
228 (SVR4_SHARED_LIBS): Define.
229 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
230 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
231 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
232 defined.
4708ac65 233
a77bf669
SS
234Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
235
236 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
237 * config/i386/xm-sun386.h: Ditto.
238 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
239
240Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
241
242 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
243
a4b4479a
SC
244Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
245
246 From Greg McGary <gkm@gnu.ai.mit.edu>:
247 * dcache.c (dcache_peek, dcache_poke): Advance addr for
248 multi-byte I/O.
249
4133a76e
JL
250Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
251
252 * infrun.c (normal_stop): Fix test for shared library event.
253
146ee7db
DE
254Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
255
256 * configure.in (sparc64-*-*): Add default host configuration.
257start-sanitize-gdbtk
258 (sparc64-*-solaris2* host): Link statically if GCC used.
259end-sanitize-gdbtk
260 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 261 * configure: Regenerated.
146ee7db
DE
262 * sparc/sp64sol2.mt: New file.
263
76336191
DE
264Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
265
266 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
267
1a57cd09
TT
268Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
269
270 * Makefile.in (lint): Close backquotes.
271
272start-sanitize-gdbtk
273Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
274
275 * gdbtk.tcl, gdbtk.c: Updated copyrights.
276
277 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
278 greater.
279 * configure: Rebuilt.
280
281end-sanitize-gdbtk
e8f1ad9a
FF
282Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
283
284 * NEWS: Make note of new record and replay feature for
285 remote debug sessions.
286 * serial.c (gdbcmd.h): Include.
287 (serial_logfile, serial_logfp, serial_reading, serial_writing):
288 Define here, for remote debug session logging.
289 (serial_log_command, serial_logchar, serial_write, serial_readchar):
290 New functions for remote debug session logging.
291 (serial_open): Open remote debug session log file when needed.
292 (serial_close): Close remote debug session log file when needed.
293 (_initialize_serial): Add set/show commands for name of remote
294 debug session log file.
295 * serial.h (serial_readchar): Declare
296 (SERIAL_READCHAR): Call serial_readchar().
297 (SERIAL_WRITE): Call serial_write().
298 (serial_close): Declare as extern.
299 (serial_logfile, serial_logfp): Declare.
300 * top.c (execute_command): Declare serial_logfp. Log user command
301 in remote debug session log if log file is open.
302 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
303 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
304 * remote-array.c (SREC_SIZE): Remove, duplicates define in
305 monitor.h.
306 * remote-array.c (hexchars, hex2mem): Remove, unused.
307 * gdbserver/low-linux.c (store_inferior_registers): Remove
308 unnecessary extern declaration of registers[].
309 * gdbserver/Makefile.in (all): Add gdbreplay.
310 * gdbserver/gdbreplay.c: New file.
311 * gdbserver/README: Give example of recording a remote
312 debug session with gdb and then replaying it with gdbreplay.
313
c6038971
PB
314Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
315
316 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
317 (read_one_struct_field): Support boolean bitfields.
318 * c-valprint.c (c_val_print): Print booleans properly.
319
5a8d8b8d
SS
320Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
321
322 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
323 Remove, never used.
324 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
325
ec5f347c
PB
326Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
327
9293e886
PB
328 * ch-exp.c (parse_tuple): Error if invalid mode.
329
533bda77
PB
330 * value.h (COERCE_ARRAY): Don't coerce enums.
331 (COERCE_ENUM): Don't COERCE_REF.
332 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
333 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
334 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
335 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
336 Add COERCE_REF before COERCE_ENUM.
337 * values.c (value_as_long): Simplify.
338
339 * valops.c (value_array): Create internalvar if !c_style_arrays.
340
ec5f347c
PB
341 * language.c (lang_bool_type): Add Fortran support.
342 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
343
87273c71
JL
344Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
345
346 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
347 All references changed.
348 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
349 Update state table. Reformat so that it's still readable.
350 When we hit the shlib_event breakpoint, set the calss of shlib_event.
351 (breakpoint_1): Add "shlib events" as a breakpoint type.
352 Print the shlib_event breakpoint like other breakpoints.
353 (create_solib_event_breakpoint): New function.
354 (breakpoint_re_set_one): Handle solib_event breakpoints.
355 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
356 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
357 action.
358 (create_solib_event_breakpoint): Declare.
359 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
360 (normal_stop): Inform the user when the inferior stoped due
361 to a shared library event.
a77bf669 362 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
363 to control whether or not gdb continues the inferior or stops it when
364 a shared library event occurs.
365 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
366 * somsolib.c (TODO list): Update.
367 (som_solib_create_inferior_hook): Arrange for gdb to be notified
368 when significant shared library events occur.
369 * hppa-tdep.c (find_unwind_entry): No longer static.
370
fc941258
DE
371Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
372
5a8d8b8d
SS
373 * printcmd.c (print_insn): Pass fprintf_unfiltered to
374 INIT_DISASSEMBLE_INFO.
375start-sanitize-gdbtk
376 * gdbtk.c (gdb_disassemble): Likewise.
377end-sanitize-gdbtk
fc941258 378
b3fd4c06
SS
379Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
380
381 * remote.c (remotebreak): New GDB variable.
382 (remote_break): New global.
383 (remote_interrupt): Send a break instead of ^C if remote_break.
384 * NEWS: Describe the new variable.
385
d2f5fa49
DE
386Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
387
388 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
389
8c038399
FF
390Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
391
392 * hp300ux-nat.c (getpagesize): Remove unused function
393 fetch_core_registers.
394 (hp300ux_core_fns): Remove, is unused.
395 (_initialize_core_hp300ux): Remove, is unused.
396 (gdbcore.h): Remove #include, no longer needed.
397
a0d76829
JL
398Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
399
400 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
401 ptrace bug in aix4.1.3 on the rs6000.
402
b6768627
SS
403Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
404
405 * remote-hms.c (hms_ops): Add value for to_thread_alive.
406 * remote-nindy.c (nindy_ops): Ditto.
407 * remote-udi.c (udi_ops): Ditto.
408
090d784a
JSC
409Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
410
411 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
412 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
413 pmon_load_fast): New functions. Support for the PMON monitor world.
414 (common_open): New function to merge support for different monitors.
415 (mips_open): Use common_open().
416 (mips_send_command): New function.
417 (mips_send_packet): Scan out-of-sequence packets.
418 (mips_enter_debug, mips_exit_debug): New functions.
419 (pmon_ops): New target definition structure.
420
4e327047
TT
421Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
422
423 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
424 specified on the make command line (via make LIBS=xxx).
425start-sanitize-gm
426 * configure.in (enable-gm): magic.o -> gmagic.o.
427end-sanitize-gm
428
429start-sanitize-gdbtk
430Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
431
432 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
433 (add_expr): Changes from create_expr_window.
434 (create_command_window): Set focus.
435 (delete_expr): Rewrote.
436 (expr_update_button): New proc.
437 (add_expr): Put bindings on FocusIn, FocusOut.
438 Don't allow .file_popup to be torn off.
439end-sanitize-gdbtk
440
1aac3d3c
JL
441Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
442
443 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
444 is set but there are no psymtabs.
445
c84e5000
SC
446Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
447
448 * dsrec.c (load_srec): Remove unused variable.
449 monitor.c (monitor_expect): Don't expect a ^C to echo.
450 * serial.c (serial_open): Add parallel interface.
451 * sh3-rom.c (parallel, parallel_in_use): New.
452 (sh3_load): If parallel_in_use, download though the
453 parallel port.
454 (sh3_open): Open parallel port if specified.
455 (sh3_close): New function.
456 (_inititalize_sh3): Add sh3_close hook and documentation.
457 * monitor.c (monitor_close): Export.
458 * monitor.h (monitor_close): Add prototype.
459
2c441e7f
SS
460Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
461
462 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
463 * remote.c (remotetimeout): New GDB variable, use to set the
464 remote timeout for reading.
465
4e327047
TT
466start-sanitize-gdbtk
467Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
468
469 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
470 (update_listing): Use lassign. Use "see" to scroll. Don't need
471 screen_top, screen_bot, screen_height.
472 (update_assembly): Use "see" to scroll.
473 (textscrollproc): Removed.
474 (create_file_win): Don't use textscrollproc.
475 (asmscrollproc): Removed.
476 (create_asm_window): Don't use asmscrollproc.
477 (create_asm_win): Ditto.
478 (screen_height, screen_top, screen_bot): Removed.
479 (run_editor): New proc.
480 (build_framework): Use it.
481 (create_file_win, create_source_window): Don't use textscrollproc.
482 (create_breakpoints_window): Set -xscrollcommand on canvas.
483 (not_implemented_yet): Default button is 0.
484 (delete_char): Don't use tk_textBackspace.
485 (create_command_window): Allow Tk bindings to fire after deleting
486 character.
487 (create_command_window): Make Delete delete left, not right.
488end-sanitize-gdbtk
489
3730a0ed
FF
490Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
491
492 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
493 to get "struct core_fns" defined.
494 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 495 Are dependent upon gdbcore_h.
3730a0ed 496
7ef89313
PB
497Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
498
499 * symfile.c (decrement_reading_symtab): New function.
500 * symfile.c, symtab.h (currently_reading_symtab): New variable.
501 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
502 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
503 currently_reading_symtab (since that could infinitely recurse).
504
1c486a2b
PB
505Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
506
34cfa2da
PB
507 * stabsread.c (read_struct_type): Trivial simplification.
508
1c486a2b
PB
509 * stabsread.c (define-symbol): Use invisible references
510 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 511 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
512 * eval.c (evaluate_subexp_standard): When known, use the formal
513 parameter type as the expected type when evaluating arg expressions.
514 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
515
4e327047
TT
516start-sanitize-gdbtk
517Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
518
519 * main.c (main): Disable window interface if --help or --version
520 specified.
521
522 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
523
524 Changes in sync with expect:
525 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
526 CY_AC_PATH_TK.
527 * aclocal.m4: Replaced with version from expect.
528 * configure: Regenerated.
529end-sanitize-gdbtk
a1df8e78 530
a1956677
BK
531Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
532
533 * configure.in, configure: Recognize rs6000-*-aix4*.
534 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
535 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
536 * config/rs6000/xm-aix4.h: New file.
537 * config/xm-aix4.h: New file.
538
3730a0ed 539Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
540
541 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
542 * gdbserver/low-linux.c: New file.
543 * remote.c (remote_read_bytes): Fix aborts on larger packets.
544
545 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
546 Define.
547 * stabsread.c (define_symbol): If register value is too large,
548 tell what it is and what max is.
549
4e327047
TT
550start-sanitize-gdbtk
551Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
552
553 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
554 gdbtk_tcl_flush): Use "see", not "yview".
555 (gdbtk_tcl_query): Use questhead bitmap.
556 various: Always wrap condition of 'if' in {...}.
557 (add_breakpoint_frame): Set -value on radiobuttons.
558 (lassign): New proc.
559 (add_breakpoint_frame): Use lassign, not series of assignments.
560 (decr): Made faster.
561 (interactive_cmd): Use "see", not "yview".
562 (not_implemented_yet): Use warning bitmap.
563 (update_expr): Don't allow $expr to be evalled by Tcl.
564 (create_expr_window): Don't use "focus".
565 (delete_char, delete_line): Define globally.
566 (delete_line, delete_char, create_command_window, update_autocmd,
567 build_framework, create_asm_win, create_file_win): Use "see", not
568 "yview".
569 (create_copyright_window, center_window, bind_widget_after_class):
570 New procs.
571 (FSBox,create_command_window, create_autocmd_window): Binding
572 changes for Tk4.
573 (textscrollproc): Define globally.
574 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
575 Home, End, Up, and Down are all defined by Tk.
576 (apply_filespec): Use error bitmap in dialog.
577 (files_command): Don't use tk_listboxSingleSelect.
578 (files_command): Don't use "uniq" to remove duplicates from a
579 list.
580 (update_assembly): Use lassign.
581 (create_asm_win): Removed redundant bindings.
582 (listing_window_button_1, file_popup_menu): Use tk_popup.
583 (ButtonRelease-1 binding): Just remove tag from window; rest
584 handled by Tk.
585
586 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
587 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
588 (gdbtk_call_command): Ditto.
589end-sanitize-gdbtk
590
60d5a517
JL
591Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
592
593 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
594 enum namespace -> enum_namespace change.
595
d1f5c804
WM
596Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
597
2c441e7f
SS
598 * ch-exp.c (parse_primval): In case ARRAY, add missing
599 FORWARD_TOKEN ().
d1f5c804 600
1f233758
SS
601Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
602
603 * remote-mips.c (mips_receive_header): Recognize \012 instead
604 of \n, but write \n when program sends a \012.
605 * ser-mac.c (mac_input_buffer): Increase size of buffer.
606
ed3b618d
JL
607Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
608
609 * infptrace.c (initialize_infptrace): Move function out of
610 #ifdef conditional; put code within the function inside an
611 #ifdef conditional.
436d4143
JL
612
613 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
614 arguments. Sorting is now dependent on OBJF_REORDERED. All
615 callers/references changed.
616 * dbxread.c (read_ofile_symtab): Correctly determine value for
617 last_source_start_addr for reordered executables.
618 (process_one_symbol): Handle N_FUN with no name as an end of
619 function marker.
620 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
621 is the high text address for a psymtab.
622 (case N_SO): Likewise.
623 (case N_FUN): Handle N_FUN with no name as an end of function
624 marker.
625 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
626 at the same address rather than a random subset of them.
627 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
628 * elfread.c (elf_symfile_init): Similarly.
629 * somread.c (som_symfile_init): Similarly.
630 * xcoffread.c (xcoff_symfile_init): Similarly.
631
5351b2a0
SG
632Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
633
634 * stack.c (print_stack_frame print_frame_info) symmisc.c
635 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
636 that catch_errors doesn't get blindsided by QUIT and lose the
637 cleanup chain. This fixes a problem where ^C while in a
638 user-defined command sometimes leaves instream NULL and causes a
639 segfault in command_loop.
640
127841e4
BK
641Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
642
643 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
644
6b4fe21d
SC
645Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
646
647 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
648 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
649 srec.o renamed to dsrec.o.
650
0fe1522a
SG
651Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
652
653 * breakpoint.c (remove_breakpoint): Change error to warning so
654 that hardware watchpoint removal problems won't leave breakpoint
655 traps in the target.
d039321c 656start-sanitize-gdbtk
0fe1522a 657 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 658end-sanitize-gdbtk
0fe1522a
SG
659 * remote-e7000.c (e7000_insert_breakpoint,
660 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
661 breakpoints.
662 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
663 compensate for e7000 maladjustment.
664 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
665 which prevented hardware watchpoints from working.
666
7531f36e
FF
667Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
668
669 * infptrace.c (udot_info): New function.
670 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
671 * rs6000-nat.c (kernel_u_size): New function
672 Include <sys/user.h> for "struct user"
7531f36e
FF
673 * alpha-nat.c (kernel_u_size): New function.
674 Include <sys/user.h> for "struct user"
7531f36e
FF
675 * sparc-nat.c (kernel_u_size): New function.
676 Include <sys/user.h> for "struct user"
7531f36e 677 * i386b-nat.c (kernel_u_size): New function.
7531f36e 678 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
679 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
680 (kernel_u_size): Declare.
7531f36e
FF
681 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
682 (kernel_u_size): Declare.
7531f36e
FF
683 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
684 (kernel_u_size): Declare.
7531f36e
FF
685 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
686 (kernel_u_size): Declare.
7531f36e
FF
687 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
688 (kernel_u_size): Declare.
7531f36e 689
1750a5ef
SC
690Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
691
692 * mdebugread.c (mylookup_symbol): enum namespace becomes
693 enum_namespace type.
694 * symfile.c (add_psymbol_to_list)
695 (add_psymbol_addr_to_list): Ditto.
696 * symtab.c (lookup_partial_symbol): Ditto.
697 (lookup_symbol): Ditto.
698 (lookup_block_symbol): Ditto.
699 * win32-nat.c (handle_load_dll): Use incoming dll base.
700 (child_wait): Catch DLL load errors.
701 (create_child_inferior): Translated between paths correctly.
702
e33aefba
FF
703Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
704
705 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
706 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
707 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
708 of number of general regs and number of floating point regs.
e33aefba 709
e02a2ad9
SC
710Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
711
a3b64bf9
SC
712 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
713 (SKIP_TRAMPOLINE_CODE): New.
714 * config/i386/xm-win32.h (CANT_FORK): Deleted.
715 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
716 * symtab.h (namespace enum): becomes typedef to avoid namespace
717 collision in C++.
718 * infcmd.c (path_command): Use empty string if PATH name not set.
719 * i386-tdep.c (skip_trampoline_code): New function.
720 * srec.c: Renamed dsrec.c to avoid filename collision.
721 * Makefile.in: Cope with renaming.
e02a2ad9 722
ef4d6187 723Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 724
ef4d6187
FF
725 * symmisc.c (print_objfile_statistics): Print memory use statistics
726 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 727
ef4d6187 728Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 729
ef4d6187
FF
730 * config/mips/nm-irix5.h: Restore.
731 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
732 from Lee Iverson <leei@ai.sri.com>.
733 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
734 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 735
ef4d6187 736For older changes see ChangeLog-95
bd5635a1
RP
737\f
738Local Variables:
739mode: indented-text
740left-margin: 8
741fill-column: 74
742version-control: never
743End:
This page took 0.375063 seconds and 4 git commands to generate.