Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
7e2ff10d
FF
1Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
2
3 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
4 non-prototyped case over prototyped case for C.
5 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
6
4cfb23a9
FF
7Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
8
9 * os9kread.c (os9k_process_one_symbol): Note nonportable
10 assumption that an int can hold a char *.
11
12 * bcache.h (struct hashlink): Wrap data[] inside union with
13 double to force longest alignment.
14 (BCACHE_DATA): New macro to access data[].
15 (BCACHE_ALIGNMENT): New macro to get offset to data[].
16 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
17 address of cached data. Use BCACHE_ALIGNMENT to compute
18 amount of space to allocate for each hashlink struct.
19
b9aa6215
FF
20Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
21
22 * ch-lang.c (evaluate_subexp_chill): Fix typo.
23
24Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
25
26 * Makefile.in (VERSION): Bump version to 4.15.3
27
18ea4416
ILT
28Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
29
30 * config.in: Rename from config.h.in.
31 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
32 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
33 * configure: Rebuild.
34 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
35 Set CONFIG_HEADERS to config.h:config.in.
36
67718369
PS
37Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
38
39 * partial-stab.h (case N_ENDM): Finish current partial symbol
40 table for Solaris 2 cc.
41
a466b86a
JL
42Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
43
44 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
45 PC in the registers array. From Peter Schauer.
46
0ef22be9
FF
47Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
48
49 * symfile.c (reread_symbols): Reinitialize bcache struct
50 members to zero using memset. Also use memset to reinit
51 global_psymbols and static_psymbols, rather than explicitly
52 resetting each structure member.
53
31520669
FF
54Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
55
56 * configure.in: Add fragment to create stamp-h.
57
58 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
59 * configure.in (AC_CHECK_HEADERS): Check for link.h.
60 * configure: Regenerate with autoconf.
61 * config.h.in: Regenerate with autoheader.
62 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
63 is defined.
64 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
65 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
66 older a.out based systems.
67
bfcf3112 68Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
db210d08 69
bfcf3112 70 * config.h.in: New file.
db210d08
FF
71 * acconfig.h: New file, for autoheader.
72 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
73 * configure: Regenerate.
74 * Makefile.in (defs_h): Add config.h
bfcf3112
FF
75 (distclean): Remove config.h and stamp-h during distclean.
76 (config.h, stamp-h): New targets to remake config.h when necessary.
db210d08
FF
77 * defs.h (config.h): Include before any other includes or defines.
78 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
d58ffc6c 79 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
db210d08 80
d5fde1c9
FF
81Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
82
83 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
84 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
85 result in an empty line, to work around a bug in native Ultrix 4.4
86 and OSF/1-3.2C make.
87
3dedc867
FF
88Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
89
90 * configure.in: Add gdbserver to configdirs under linux.
91 * configure: Regenerate.
92
f727efb5
C
93Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
94
95 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
96 * config/i386/tm-nbsd.h (NUM_REGS): Define.
97
a404ea25
JL
98Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
99
100 * solib.c (solib_break_names): Add _r_debug_state for
101 vanilla SVR4 implementations. From Peter Schauer.
102
103Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
104
105 * mon960-rom.c: New file; support mon960 rom monitor on i960.
106 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
107 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
108 epecting prompt and echo during open.
109 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
110 determine if break should be sent as stop command.
111 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
112 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
113 stack frame on mon960.
114 * Makefile.in: Add mon960 files.
115 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
116 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
117 * configure: Regenerated.
118 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
119 support mon960 rom monitor on i960.
120
1ef980b9
SC
121Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
122
123 With Michael Snyder:
124 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
125 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
126 (handle_load_dll): Don't reload symbols.
127 (handle_exception): Use the DEBUG_* names.
128 (child_wait): Add DEBUG_* code.
129 (_initialize_inftarg): Add new commands to set debug_ names.
130
803a31a3
JL
131Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
132
133 * From Peter Schauer:
134 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
135 (bpstat_stop_status): Likewise.
136 (remove_solib_event_breakpoints): Likewise.
137 (clear_momentary_breakpoints): Likewise.
138 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
139 if we still can't read the memory for that breakpoint.
140 (mention): Add bp_shlib_event case to keep gcc quiet.
141
142Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
143
144 * breakpoint.h (enum enable): New enum shlib_disabled for
145 shared library breakpoints that have been temporarily disabled.
146 * breakpoint.c: Handle temporarily disabled shared library
147 breakpoints like disabled breakpoints in most places.
148 (insert_breakpoints): Use shlib_disabled to indicate
149 that an unsettable breakpoint is only temporarily disabled.
150 (re_enable_breakpoints_in_shlibs): New function.
151 * corelow.c (solib_add_stub): After adding shared libraries,
152 try to reenable any temporarily disabled breakpoints.
153 * infcmd.c (attach_command): Likewise.
154 * infrun.c (wait_for_inferior): Likewise.
155
4972c44e
ILT
156Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
157
158 * defs.h (extract_long_unsigned_integer): Declare.
159 * findvar.c (extract_long_unsigned_integer): New function.
160 * printcmd.c (print_scalar_formatted): Use it.
161 * valprint.c (val_print_type_code_int): Likewise.
162
00dd4fd9
SS
163Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
164
165 * infcmd.c (do_registers_info): Ignore anonymous registers.
166 * sh-tdep.c (set processor): New command to set specific
167 processor type.
168 (sh_reg_names, sh3_reg_names): Arrays of register names for
169 SH and SH3 processors.
170 (sh_set_processor_type): New function.
171 * sh3-rom.c (sh3_open): Call it.
172 (sh3_regname): Add names of all the bank registers.
173 (sh3_supply_register): Clean up formatting.
174 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
175 bank registers.
176 (REGISTER_NAMES): Add names of bank registers.
177 (FP15_REGNUM): Define.
178 (REGISTER_VIRTUAL_TYPE): Use it.
179 * monitor.c: Clean up some comments.
180
43ece84d
C
181Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
182
183 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
184 s* and t* symbols too.
185
5a367b09
JSC
186Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
187
188 * symfile.c (generic_load): Avoid division by zero.
189
653fed07
JL
190Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
191
192 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
193 not just those with HANDLE_SVR4_EXEC_EMULATORS.
27b6a1fa 194
00dd4fd9 195 From Peter Schauer:
27b6a1fa
JL
196 * breakpoint.c (internal_breakpoint_number): Move to file scope.
197 (create_solib_event_breakpoint): Use an internal breakpoint number.
198
bb901438
WM
199Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
200
201 * valarith.c (value_in): Change builtin_type_chill_bool to
202 LA_BOOL_TYPE.
203
c105168f
WM
204Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
205
206 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
207 (match_string_literal): Handle control sequence.
208 (match_character_literal): Deto.
209
210 * ch-lang.c (chill_printchar): Change formating of nonprintable
211 characters from C'xx' to ^(num).
212 (chill_printstr): Deto.
213 (value_chill_card, value_chill_max_min): New functions to process
214 Chill's CARD, MAX, MIN.
215 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
216
217 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
218 for Chill's CARD, MAX, MIN.
219
220 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
221 and change return type from builtin_type_int to
222 builtin_type_chill_bool.
223
d009ffd8
SS
224Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
225
b4692cbc
SS
226 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
227 from config/nm-nbsd.h.
228 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
229 from config/sparc/tm-nbsd.h.
230
d009ffd8
SS
231 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
232 instead of in config/m68k/xm-hp300hpux.h.
233
d554e554
C
234Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
235
236 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
237 implementation for NetBSD systems.
238
02e6e53d
PB
239Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
240
8d67b75a
PB
241 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
242 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
243
02e6e53d
PB
244 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
245 if "function" is pointer to non-function.
246
f935141e
SS
247Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
248
249 * top.c (print_gdb_version): Update copyright year.
250
11be829f
JL
251Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
252
f935141e 253 From Peter Schauer:
11be829f
JL
254 * infrun.c (wait_for_inferior): Remove breakpoints and
255 switch terminal settings before calling SOLIB_ADD.
256 * solib.c (enable_break, SVR4 variant): Don't map in symbols
257 for the dynamic linker, the namespace pollution causes real
258 problems.
259
4f005fea
JSC
260Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
261
262 * remote-mips.c (common_breakpoint): Explicitly terminate the
263 returned buffer.
264
cf3c0938
SS
265Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
266
267 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
268 * remote.c (remote_detach): Send a command 'D' to the target
269 when detaching, update the function's comments.
270
8fe2b2c5
FF
271Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
272
273 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
274 baseline for gdb 4.16 rerelease testing.
275
a4f39c06
JL
276Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
277
278 * somsolib.c (som_solib_create_inferior_hook): Before returning
279 call clear_symtab_users.
280
281Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
282
283 * remote-e7000.c (e7000_open): Delete all breakpoints when
284 connecting to e7000. Change connect message to allow use of
285 monitor.exp in test suite.
286 * (e7000_load): Print transfer rate of download.
287 * symfile.c (generic_load): Print transfer rate of download.
288
8fa6fcf8
SS
289Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
290
291 * configure.in (mips*-*-vxworks*): New config.
292 * configure: Regenerated.
293
294 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
295 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
296 Remove, never used.
297
a97a483c
PS
298Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
299
300 * partial-stab.h (case N_FUN): Function symbols generated
301 by SPARCworks cc have a meaningless zero value, do not update
302 pst->textlow if the function symbol value is zero.
303
304 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
305 for function prototype declaration symbols.
306
b5eccf74
SG
307Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
308
309 * remote-e7000.c (e7000_load): New routine to download via the
310 network.
311 * (e7000_wait): Don't backup PC when we hit a breakpoint.
312 Apparantly new sh2 pods get this right...
313 * (e7000_ops): Add call to e7000_load.
314
b7f3b6d5
C
315Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
316
317 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
318 m68knbsd-nat.c: New files, support for NetBSD/m68k.
319
320 * configure.in (m68k-*-netbsd*): New config.
321 * configure: Regenerated.
322
6a6a552a
FF
323Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com>
324
325 * standalone.c (open, _initialize_standalone): Fix obvious typos
326 reported by Martin Pool <martin@citr.uq.oz.au>.
327
13f6c7ea
JL
328Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
329
330 * solib.c (solib_create_inferior_hook): Fix thinko.
331
464c6c5f
JL
332Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
333
334 * solib.c (solib_break_names): Define for Solaris and Linux.
335 (enable_break): For SVR4 systems, first try to use the debugger
336 interfaces in the dynamic linker to track shared library events
337 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
338 BKPT_AT_SYMBOL code to use shared library event breakpoints.
339 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
340 it no longer needs to restart/wait on the inferior.
341 * symfile.c (find_lowest_section): No longer static.
342 * symfile.h (find_lowest_section): Corresponding changes.
343
45c5fa78
FF
344Tue Feb 20 18:54:08 1996 Fred Fish <fnf@rtl.cygnus.com>
345
346 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
347 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
348 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
349 * config/mips/tm-mips.h: Ditto.
350 * config/pa/tm-hppa.h: Ditto.
351 * config/rs6000/tm-rs6000.h: Ditto.
352 * config/sparc/tm-sparc.h: Ditto.
353
48d27324
C
354Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
355
eb224848
C
356 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
357
48d27324
C
358 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
359 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
360 #ifdef'd out definitions --- Causes serious gdb failures on
361 the i386. Need to investigate further before enabling.
362
363 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
364 fetch_core_registers): New functions. These functions are defined
365 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
366 with ptrace PT_GETREGS/PT_SETREGS.
367
95f6f926
SG
368Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
369
370 * findvar.c (extract_floating store_floating): Replace `long
371 double' with `DOUBLEST'.
372
cb91ea56
C
373Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
374
375 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
376 Define.
377
9263da6f
JL
378Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
379
380 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
381
382 * breakpoint.h (remove_solib_event_breakpoints): Declare.
383 * breakpoint.c (remove_solib_event_breakpoints): New function.
384 * somsolib.c (solib_create_inferior_hook): Remove all solib event
385 breakpoints before inserting any new ones. Use a solib event
386 breakpoint for the breakpoint at "_start".
387 Remove extraneous "\n" from calls to warning.
388
389 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
390 name array.
391
0708e99f
FF
392Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
393
394 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
395 for CORE_ADDR values.
396 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
397 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
398
08dc1eeb
PS
399Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
400
401 * mipsread.c (mipscoff_symfile_read): Unconditionally add
402 alpha coff dynamic symbols for all symbol files. Makes skipping
403 over the trampoline code work when stepping from a function in a
404 shared library into a function in a different shared library.
405
1d6afd7f
SG
406Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
407
408 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
409 RETURN_VALUE_ON_STACK to return long doubles on the stack.
410
0708e99f 411Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
176b2bee
FF
412
413 * Makefile.in (ch-exp.o): Add dependencies.
414 (various): Add gdb_string.h to dependencies that need it.
415
dcb6a7c0
FF
416Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
417
418 * symmisc.c (print_symbol_bcache_statistics): Update description for
419 printing byte cache statistics.
420
aa220473
SG
421Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
422
423 * Add native support for long double data type.
424 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
425 to store actual data. Change types of INT and FLOAT tokens to
426 typed_val_int and typed_val_float respectively. Create new token
427 DOUBLE_KEYWORD to specify the string `double'. Make production
428 for FLOAT use type determined by parse_number. Add production for
429 "long double" data type.
430 * (parse_number): Use sscanf to parse numbers as float, double or
431 long double depending upon the type of typed_val_float.dval. Also
432 allow user to specify `f' or `l' suffix to explicitly specify
433 float or long double constants. Change typed_val to
434 typed_val_int.
435 * (yylex): Change typed_val to typed_val_int. Also, scan for
436 "double" keyword.
437 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
438 type.
439 * configure, configure.in: Add check for long double support in
440 the host compiler.
441 * defs.h: Define DOUBLEST appropriatly depending on whether
442 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
443 for functions that handle this type.
444 * expression.h (union exp_element): doubleconst is now type
445 DOUBLEST.
446 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
447 * findvar.c (extract_floating): Make return value be DOUBLEST.
448 Also, add support for numbers with size of long double.
449 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
450 floating types.
451 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
452 DOUBLEST.
453 * valarith.c (value_binop): Change temp variables v1, v2 and v to
454 type DOUBLEST. Coerce type of result to long double if either op
455 was of that type.
456 * valops.c (value_arg_coerce): If argument type is bigger than
457 double, coerce to long double.
458 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
459 arg type is float and > 8 bytes, then use pointer-to-object
460 calling conventions.
461 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
462 Use appropriate format and precision to print out floating point
463 values.
464 * value.h: Fixup prototypes for value_as_double,
465 value_from_double, and unpack_double to use DOUBLEST.
466 * values.c (record_latest_value): Remove check for invalid
467 floats. Allow history to store them so that people may examine
468 them in hex if they want.
469 * (value_as_double unpack_double): Change return value to DOUBLEST.
470 * (value_from_double): Arg `num' is now DOUBLEST.
471 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
472 specific) to expect certain types to always be returned on the stack.
473
2ad5709f
FF
474Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
475
476 * bcache.c, bcache.h: New files to implement a byte cache.
477 * Makefile.in (SFILES): Add bcache.c.
478 (symtab_h): Add bcache.h.
479 (HFILES_NO_SRCDIR): add bcache.h
480 (COMMON_OBJS): Add bcache.o
481 (bcache.o): New target.
482 * dbxread.c (start_psymtab): Make global_syms & static_syms
483 type "partial_symbol **".
484 * hpread.c (hpread_start_symtab): Ditto.
485 * os9kread.c (os9k_start_psymtab): Ditto.
486 * stabsread.h (start_psymtab): Ditto.
487 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
488 * maint.c (maintenance_print_statistics): Call
489 print_symbol_bcache_statistics.
490 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
491 and free pointers.
492 * solib.c (allocate_rt_common_objfile): Ditto.
493 * symfile.c (reread_symbols): Ditto.
494 (free_objfile): Free psymbol bcache when objfile is freed.
495 (objfile_relocate): Use new indirect psymbol pointers.
496 * objfiles.h (struct objfile): Add psymbol cache.
497 * symfile.c (compare_psymbols): Now passed pointers to pointers to
498 psymbols.
499 (reread_symbols): Free psymbol bcache when freeing other objfile
500 resources.
501 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
502 psymbol using the psymbol bcache.
503 (init_psymbol_list): Psymbol lists now contain pointers rather than
504 the actual psymbols.
505 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
506 grown arrays of pointers.
507 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
508 bcache.
509 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
510 to partial symbol.
511 (print_symbol_bcache_statistics): New function to print per objfile
512 bcache statistics.
513 (print_partial_symbol, print_partial_symbols,
514 maintenance_check_symtabs, extend_psymbol_list):
515 Account for change to pointer to pointer to partial symbol.
516 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
517 make_symbol_completion_list):
518 Account for change to pointer to pointer to partial symbol.
519 * symtab.h (bcache.h): Include.
520 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
521 type "partial_symbol **".
522
4a1d2ce2
FF
523Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
524
525 * dwarfread.c (free_utypes): New function.
526 (read_file_scope): Call free_utypes as cleanup, rather than just
527 freeing the utypes pointer.
528
81afee37
FF
529Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
530
531 * demangle.c (is_cplus_marker): New function, checks if a
532 character is one of the commonly used C++ marker characters.
533 * defs.h (is_cplus_marker): Add prototype.
534 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
535 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
536 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
537 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
538 values.c (vb_match): Use is_cplus_marker instead of comparison
539 with CPLUS_MARKER.
540
14b22711
FF
541Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
542
543 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
544 delete entirely someday.
545
884fb64c
SS
546Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
547
548 * mpw-make.sed: Edit out makefile rebuild rule.
549 (host_alias, target_alias): Comment out instead of deleting.
550 (@LIBS@): Edit out references.
551
f1d39876
FF
552Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
553
554 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
555 Use n_psyms in OBJSTAT, not psyms.
556
557Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
558
559 * configure.in (sparclet-*-aout*): New config.
560 * configure: Regenerated.
561
c37c7c6c
FF
562Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
563
564 * somsolib.c (som_solib_add): Use xmalloc rather than bare
565 unchecked call to malloc.
566 * remote-mips.c (pmon_load_fast): ditto.
567 * remote-mm.c (mm_open): ditto.
568 * hpread.c (hpread_lookup_type): ditto.
569 * remote-adapt.c (adapt_open): ditto.
570
6405302d
FF
571Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
572
573 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
574 allocate_saved_f77_common_node, allocate_common_entry_node,
575 add_common_block): Use xmalloc rather than malloc, some of which
576 were unchecked.
577 * gnu-regex.c: At same point as other gdb specific changes
578 #undef malloc and then #define it to xmalloc.
579 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
580 bare unchecked calls to malloc/realloc.
581 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
582 unchecked call to malloc.
583
ff7116e2
SG
584Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
585
586 * symtab.c (gdb_mangle_name): Change opname var to be const to
587 match return val of cplus_mangle_name.
588 * i960-tdep.c: Change arg types of next_insn to match callers.
589
b0ee0cf2
FF
590Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
591
592 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
593 apparently aren't needed in any reasonably recent version of
594 linux.
595
ec49fc98
PB
596Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
597
598 * stabsread.c (read_range_type): If !self-subrange and language
599 is Chill, assume a true range. If a true_range is a sub_subrange,
600 use builtin_type_int for index_type.
601
602Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
603
604 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
605 with an ANSI compiler.
606
f0b0d915
TT
607start-sanitize-gdbtk
608Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
609
610 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
611 double-clicking will work again.
612 (create_asm_win): Put "break" at end of all B1 bindings.
613 (create_file_win): Lower "sel" tag, don't raise it.
614 (ensure_line_visible): New proc.
615 (update_listing, update_assembly): Use it.
616 (create_copyright_window): Destroy window on Leave event.
617 (create_command_window): Put "break" at end of all B2 bindings.
618
619end-sanitize-gdbtk
263af172
SC
620Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
621
622 From Michael_Snyder@NeXT.COM (Michael Snyder):
623 * valops.c (value_arg_coerce): Coerce float to double, unless the
624 function prototype specifies float.
625
fc71ad23 626Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
8bdae156 627
fc71ad23
TT
628 * language.c (set_language_command): Use languages table when
629 printing available languages.
630
631Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
632
633 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
634 * command.c (add_cmd): Add missing initialization for enums member.
635 Reorder members to match structure declaration to make it easier to
636 tell when one is missing.
637 * exec.c (exec_file_command): Fix problem where filename in malloc'd
638 memory is referenced after being freed.
8bdae156 639
255181a9
PS
640Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
641
642 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
643 AT_name tag is missing.
644
645 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
646 FLTWATCH and FLTKWATCH are defined.
647
648 * remote.c (remote_read_bytes): Advance memaddr for transfers,
649 return number of bytes transferred for partial reads.
650
651 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
652
454ffae5
SC
653Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
654
655 * win32-nat.c (mappings): Add ppc registers.
9a763320 656 (child_resume): Turn off step for ppc.
454ffae5 657
3d78f532
SC
658Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
659
660 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
661 xm-cygwin32.h): New.
662 * config/i386/(*win32*): Becomes *cygwin32*.
663 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
664 (powerpcle-*-cygwin32): New.
665 * configure: Regenerate.
666 * win32-nat.c (child_create_inferior): Call CreateProcess
667 with the right program arg.
668
4ad70253
JL
669Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
670
671 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
672
0db5a6fe
FF
673Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
674
675 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
676
28bc5ef7
SS
677Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
678
97abaf19
SS
679 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
680
28bc5ef7
SS
681 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
682
97abaf19
SS
683 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
684 here from config/i386/xm-i386mach.h, fix name.
685 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
686 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
687 here from config/i386/xm-ptx4.h.
688 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
689 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
690 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
691 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
692 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
693
28bc5ef7
SS
694 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
695 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
696 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 697
17280c3f
JL
698Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
699
700 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
701 floating point correctly.
702 (STORE_RETURN_VALUE): Likewise.
703 * config/pa/tm-pro.h (SOFT_FLOAT): define.
704
44e9f3b3
FF
705Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
706
707 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
708 Define to what should be reasonable values. However, apparently
709 a bug in linux mmap prevents mapped symbol tables from working.
710
ad1e42be
FF
711Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
712
713 * defs.h (errno.h>: Move #include closer to head of file to solve
714 obscure problem with systems that declare perror with const arg, in
715 both errno.h and stdio.h, and const is defined away by intervening
716 local include.
717
d3ba76fc
FF
718Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
719
720 From Jon Reeves <reeves@zk3.dec.com>:
721 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
722 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
723
f6ade5dd
FF
724Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
725
726 * Makefile.in (diststuff): Make all-doc; diststuff target does not
727 exist in doc/Makefile.in.
728
cdea3fd3
SS
729Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
730
731 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
732
d221b17e
WM
733Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
734
cdea3fd3
SS
735 * ch-valprint.c (calculate_array_length): New function to
736 determine the length of an array type.
d221b17e
WM
737 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
738 array type is zero, call calculate_array_length.
739
cdea3fd3
SS
740 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
741 values may not be sorted. Scan all entries and set the real lower
742 and upper bound.
d221b17e 743
fa9f5840
FF
744Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
745
746 * config/xm-linux.h: Move include of solib.h and #define of
747 SVR4_SHARED_LIBS from here ...
748 * config/nm-linux.h: ...to here.
749
4708ac65
FF
750Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
751
752 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
753 Also check for gregset_t and fpregset_t types.
754 * configure: Regenerate.
755 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
756 is defined.
757 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
758 and HAVE_FPREGSET_T are defined. These changes allow systems
759 like linux that are migrating to /proc support to use a single
760 configuration for both new and old versions.
761
762 * config/i386/linux.mt: Note that this is now for both a.out and
763 ELF systems.
764 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
765 i386v4-nat.o
766 * config/i386/tm-linux.h (tm-sysv4.h): Include.
767 * config/i386/xm-linux.h (solib.h): Include
768 (SVR4_SHARED_LIBS): Define.
769 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
770 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
771 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
772 defined.
4708ac65 773
a77bf669
SS
774Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
775
776 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
777 * config/i386/xm-sun386.h: Ditto.
778 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
779
780Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
781
782 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
783
a4b4479a
SC
784Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
785
786 From Greg McGary <gkm@gnu.ai.mit.edu>:
787 * dcache.c (dcache_peek, dcache_poke): Advance addr for
788 multi-byte I/O.
789
4133a76e
JL
790Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
791
792 * infrun.c (normal_stop): Fix test for shared library event.
793
146ee7db
DE
794Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
795
796 * configure.in (sparc64-*-*): Add default host configuration.
797start-sanitize-gdbtk
798 (sparc64-*-solaris2* host): Link statically if GCC used.
799end-sanitize-gdbtk
800 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 801 * configure: Regenerated.
146ee7db
DE
802 * sparc/sp64sol2.mt: New file.
803
76336191
DE
804Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
805
806 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
807
1a57cd09
TT
808Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
809
810 * Makefile.in (lint): Close backquotes.
811
812start-sanitize-gdbtk
813Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
814
815 * gdbtk.tcl, gdbtk.c: Updated copyrights.
816
817 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
818 greater.
819 * configure: Rebuilt.
820
821end-sanitize-gdbtk
e8f1ad9a
FF
822Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
823
824 * NEWS: Make note of new record and replay feature for
825 remote debug sessions.
826 * serial.c (gdbcmd.h): Include.
827 (serial_logfile, serial_logfp, serial_reading, serial_writing):
828 Define here, for remote debug session logging.
829 (serial_log_command, serial_logchar, serial_write, serial_readchar):
830 New functions for remote debug session logging.
831 (serial_open): Open remote debug session log file when needed.
832 (serial_close): Close remote debug session log file when needed.
833 (_initialize_serial): Add set/show commands for name of remote
834 debug session log file.
835 * serial.h (serial_readchar): Declare
836 (SERIAL_READCHAR): Call serial_readchar().
837 (SERIAL_WRITE): Call serial_write().
838 (serial_close): Declare as extern.
839 (serial_logfile, serial_logfp): Declare.
840 * top.c (execute_command): Declare serial_logfp. Log user command
841 in remote debug session log if log file is open.
842 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
843 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
844 * remote-array.c (SREC_SIZE): Remove, duplicates define in
845 monitor.h.
846 * remote-array.c (hexchars, hex2mem): Remove, unused.
847 * gdbserver/low-linux.c (store_inferior_registers): Remove
848 unnecessary extern declaration of registers[].
849 * gdbserver/Makefile.in (all): Add gdbreplay.
850 * gdbserver/gdbreplay.c: New file.
851 * gdbserver/README: Give example of recording a remote
852 debug session with gdb and then replaying it with gdbreplay.
853
c6038971
PB
854Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
855
856 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
857 (read_one_struct_field): Support boolean bitfields.
858 * c-valprint.c (c_val_print): Print booleans properly.
859
5a8d8b8d
SS
860Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
861
862 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
863 Remove, never used.
864 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
865
ec5f347c
PB
866Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
867
9293e886
PB
868 * ch-exp.c (parse_tuple): Error if invalid mode.
869
533bda77
PB
870 * value.h (COERCE_ARRAY): Don't coerce enums.
871 (COERCE_ENUM): Don't COERCE_REF.
872 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
873 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
874 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
875 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
876 Add COERCE_REF before COERCE_ENUM.
877 * values.c (value_as_long): Simplify.
878
879 * valops.c (value_array): Create internalvar if !c_style_arrays.
880
ec5f347c
PB
881 * language.c (lang_bool_type): Add Fortran support.
882 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
883
87273c71
JL
884Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
885
886 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
887 All references changed.
888 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
889 Update state table. Reformat so that it's still readable.
890 When we hit the shlib_event breakpoint, set the calss of shlib_event.
891 (breakpoint_1): Add "shlib events" as a breakpoint type.
892 Print the shlib_event breakpoint like other breakpoints.
893 (create_solib_event_breakpoint): New function.
894 (breakpoint_re_set_one): Handle solib_event breakpoints.
895 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
896 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
897 action.
898 (create_solib_event_breakpoint): Declare.
899 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
900 (normal_stop): Inform the user when the inferior stoped due
901 to a shared library event.
a77bf669 902 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
903 to control whether or not gdb continues the inferior or stops it when
904 a shared library event occurs.
905 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
906 * somsolib.c (TODO list): Update.
907 (som_solib_create_inferior_hook): Arrange for gdb to be notified
908 when significant shared library events occur.
909 * hppa-tdep.c (find_unwind_entry): No longer static.
910
fc941258
DE
911Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
912
5a8d8b8d
SS
913 * printcmd.c (print_insn): Pass fprintf_unfiltered to
914 INIT_DISASSEMBLE_INFO.
915start-sanitize-gdbtk
916 * gdbtk.c (gdb_disassemble): Likewise.
917end-sanitize-gdbtk
fc941258 918
b3fd4c06
SS
919Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
920
921 * remote.c (remotebreak): New GDB variable.
922 (remote_break): New global.
923 (remote_interrupt): Send a break instead of ^C if remote_break.
924 * NEWS: Describe the new variable.
925
d2f5fa49
DE
926Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
927
928 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
929
8c038399
FF
930Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
931
932 * hp300ux-nat.c (getpagesize): Remove unused function
933 fetch_core_registers.
934 (hp300ux_core_fns): Remove, is unused.
935 (_initialize_core_hp300ux): Remove, is unused.
936 (gdbcore.h): Remove #include, no longer needed.
937
a0d76829
JL
938Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
939
940 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
941 ptrace bug in aix4.1.3 on the rs6000.
942
b6768627
SS
943Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
944
945 * remote-hms.c (hms_ops): Add value for to_thread_alive.
946 * remote-nindy.c (nindy_ops): Ditto.
947 * remote-udi.c (udi_ops): Ditto.
948
090d784a
JSC
949Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
950
951 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
952 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
953 pmon_load_fast): New functions. Support for the PMON monitor world.
954 (common_open): New function to merge support for different monitors.
955 (mips_open): Use common_open().
956 (mips_send_command): New function.
957 (mips_send_packet): Scan out-of-sequence packets.
958 (mips_enter_debug, mips_exit_debug): New functions.
959 (pmon_ops): New target definition structure.
960
4e327047
TT
961Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
962
963 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
964 specified on the make command line (via make LIBS=xxx).
965start-sanitize-gm
966 * configure.in (enable-gm): magic.o -> gmagic.o.
967end-sanitize-gm
968
969start-sanitize-gdbtk
970Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
971
972 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
973 (add_expr): Changes from create_expr_window.
974 (create_command_window): Set focus.
975 (delete_expr): Rewrote.
976 (expr_update_button): New proc.
977 (add_expr): Put bindings on FocusIn, FocusOut.
978 Don't allow .file_popup to be torn off.
979end-sanitize-gdbtk
980
1aac3d3c
JL
981Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
982
983 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
984 is set but there are no psymtabs.
985
c84e5000
SC
986Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
987
988 * dsrec.c (load_srec): Remove unused variable.
1ef980b9 989 * monitor.c (monitor_expect): Don't expect a ^C to echo.
c84e5000
SC
990 * serial.c (serial_open): Add parallel interface.
991 * sh3-rom.c (parallel, parallel_in_use): New.
992 (sh3_load): If parallel_in_use, download though the
993 parallel port.
994 (sh3_open): Open parallel port if specified.
995 (sh3_close): New function.
996 (_inititalize_sh3): Add sh3_close hook and documentation.
997 * monitor.c (monitor_close): Export.
998 * monitor.h (monitor_close): Add prototype.
999
2c441e7f
SS
1000Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
1001
1002 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
1003 * remote.c (remotetimeout): New GDB variable, use to set the
1004 remote timeout for reading.
1005
4e327047
TT
1006start-sanitize-gdbtk
1007Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
1008
1009 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
1010 (update_listing): Use lassign. Use "see" to scroll. Don't need
1011 screen_top, screen_bot, screen_height.
1012 (update_assembly): Use "see" to scroll.
1013 (textscrollproc): Removed.
1014 (create_file_win): Don't use textscrollproc.
1015 (asmscrollproc): Removed.
1016 (create_asm_window): Don't use asmscrollproc.
1017 (create_asm_win): Ditto.
1018 (screen_height, screen_top, screen_bot): Removed.
1019 (run_editor): New proc.
1020 (build_framework): Use it.
1021 (create_file_win, create_source_window): Don't use textscrollproc.
1022 (create_breakpoints_window): Set -xscrollcommand on canvas.
1023 (not_implemented_yet): Default button is 0.
1024 (delete_char): Don't use tk_textBackspace.
1025 (create_command_window): Allow Tk bindings to fire after deleting
1026 character.
1027 (create_command_window): Make Delete delete left, not right.
1028end-sanitize-gdbtk
1029
3730a0ed
FF
1030Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
1031
1032 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
1033 to get "struct core_fns" defined.
1034 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 1035 Are dependent upon gdbcore_h.
3730a0ed 1036
7ef89313
PB
1037Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
1038
1039 * symfile.c (decrement_reading_symtab): New function.
1040 * symfile.c, symtab.h (currently_reading_symtab): New variable.
1041 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
1042 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
1043 currently_reading_symtab (since that could infinitely recurse).
1044
1c486a2b
PB
1045Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
1046
34cfa2da
PB
1047 * stabsread.c (read_struct_type): Trivial simplification.
1048
1c486a2b
PB
1049 * stabsread.c (define-symbol): Use invisible references
1050 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 1051 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
1052 * eval.c (evaluate_subexp_standard): When known, use the formal
1053 parameter type as the expected type when evaluating arg expressions.
1054 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
1055
4e327047
TT
1056start-sanitize-gdbtk
1057Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1058
1059 * main.c (main): Disable window interface if --help or --version
1060 specified.
1061
1062 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
1063
1064 Changes in sync with expect:
1065 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
1066 CY_AC_PATH_TK.
1067 * aclocal.m4: Replaced with version from expect.
1068 * configure: Regenerated.
1069end-sanitize-gdbtk
a1df8e78 1070
a1956677
BK
1071Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1072
1073 * configure.in, configure: Recognize rs6000-*-aix4*.
1074 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
1075 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
1076 * config/rs6000/xm-aix4.h: New file.
1077 * config/xm-aix4.h: New file.
1078
3730a0ed 1079Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
1080
1081 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
1082 * gdbserver/low-linux.c: New file.
1083 * remote.c (remote_read_bytes): Fix aborts on larger packets.
1084
1085 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
1086 Define.
1087 * stabsread.c (define_symbol): If register value is too large,
1088 tell what it is and what max is.
1089
4e327047
TT
1090start-sanitize-gdbtk
1091Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
1092
1093 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
1094 gdbtk_tcl_flush): Use "see", not "yview".
1095 (gdbtk_tcl_query): Use questhead bitmap.
1096 various: Always wrap condition of 'if' in {...}.
1097 (add_breakpoint_frame): Set -value on radiobuttons.
1098 (lassign): New proc.
1099 (add_breakpoint_frame): Use lassign, not series of assignments.
1100 (decr): Made faster.
1101 (interactive_cmd): Use "see", not "yview".
1102 (not_implemented_yet): Use warning bitmap.
1103 (update_expr): Don't allow $expr to be evalled by Tcl.
1104 (create_expr_window): Don't use "focus".
1105 (delete_char, delete_line): Define globally.
1106 (delete_line, delete_char, create_command_window, update_autocmd,
1107 build_framework, create_asm_win, create_file_win): Use "see", not
1108 "yview".
1109 (create_copyright_window, center_window, bind_widget_after_class):
1110 New procs.
1111 (FSBox,create_command_window, create_autocmd_window): Binding
1112 changes for Tk4.
1113 (textscrollproc): Define globally.
1114 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
1115 Home, End, Up, and Down are all defined by Tk.
1116 (apply_filespec): Use error bitmap in dialog.
1117 (files_command): Don't use tk_listboxSingleSelect.
1118 (files_command): Don't use "uniq" to remove duplicates from a
1119 list.
1120 (update_assembly): Use lassign.
1121 (create_asm_win): Removed redundant bindings.
1122 (listing_window_button_1, file_popup_menu): Use tk_popup.
1123 (ButtonRelease-1 binding): Just remove tag from window; rest
1124 handled by Tk.
1125
1126 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
1127 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
1128 (gdbtk_call_command): Ditto.
1129end-sanitize-gdbtk
1130
60d5a517
JL
1131Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
1132
1133 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
1134 enum namespace -> enum_namespace change.
1135
d1f5c804
WM
1136Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1137
2c441e7f
SS
1138 * ch-exp.c (parse_primval): In case ARRAY, add missing
1139 FORWARD_TOKEN ().
d1f5c804 1140
1f233758
SS
1141Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
1142
1143 * remote-mips.c (mips_receive_header): Recognize \012 instead
1144 of \n, but write \n when program sends a \012.
1145 * ser-mac.c (mac_input_buffer): Increase size of buffer.
1146
ed3b618d
JL
1147Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
1148
1149 * infptrace.c (initialize_infptrace): Move function out of
1150 #ifdef conditional; put code within the function inside an
1151 #ifdef conditional.
436d4143
JL
1152
1153 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
1154 arguments. Sorting is now dependent on OBJF_REORDERED. All
1155 callers/references changed.
1156 * dbxread.c (read_ofile_symtab): Correctly determine value for
1157 last_source_start_addr for reordered executables.
1158 (process_one_symbol): Handle N_FUN with no name as an end of
1159 function marker.
1160 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
1161 is the high text address for a psymtab.
1162 (case N_SO): Likewise.
1163 (case N_FUN): Handle N_FUN with no name as an end of function
1164 marker.
1165 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
1166 at the same address rather than a random subset of them.
1167 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
1168 * elfread.c (elf_symfile_init): Similarly.
1169 * somread.c (som_symfile_init): Similarly.
1170 * xcoffread.c (xcoff_symfile_init): Similarly.
1171
5351b2a0
SG
1172Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
1173
1174 * stack.c (print_stack_frame print_frame_info) symmisc.c
1175 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
1176 that catch_errors doesn't get blindsided by QUIT and lose the
1177 cleanup chain. This fixes a problem where ^C while in a
1178 user-defined command sometimes leaves instream NULL and causes a
1179 segfault in command_loop.
1180
127841e4
BK
1181Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1182
1183 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
1184
6b4fe21d
SC
1185Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
1186
1187 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
1188 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
1189 srec.o renamed to dsrec.o.
1190
0fe1522a
SG
1191Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
1192
1193 * breakpoint.c (remove_breakpoint): Change error to warning so
1194 that hardware watchpoint removal problems won't leave breakpoint
1195 traps in the target.
d039321c 1196start-sanitize-gdbtk
0fe1522a 1197 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 1198end-sanitize-gdbtk
0fe1522a
SG
1199 * remote-e7000.c (e7000_insert_breakpoint,
1200 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
1201 breakpoints.
1202 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
1203 compensate for e7000 maladjustment.
1204 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
1205 which prevented hardware watchpoints from working.
1206
7531f36e
FF
1207Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
1208
1209 * infptrace.c (udot_info): New function.
1210 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
1211 * rs6000-nat.c (kernel_u_size): New function
1212 Include <sys/user.h> for "struct user"
7531f36e
FF
1213 * alpha-nat.c (kernel_u_size): New function.
1214 Include <sys/user.h> for "struct user"
7531f36e
FF
1215 * sparc-nat.c (kernel_u_size): New function.
1216 Include <sys/user.h> for "struct user"
7531f36e 1217 * i386b-nat.c (kernel_u_size): New function.
7531f36e 1218 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
1219 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
1220 (kernel_u_size): Declare.
7531f36e
FF
1221 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
1222 (kernel_u_size): Declare.
7531f36e
FF
1223 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
1224 (kernel_u_size): Declare.
7531f36e
FF
1225 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
1226 (kernel_u_size): Declare.
7531f36e
FF
1227 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
1228 (kernel_u_size): Declare.
7531f36e 1229
1750a5ef
SC
1230Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
1231
1232 * mdebugread.c (mylookup_symbol): enum namespace becomes
1233 enum_namespace type.
1234 * symfile.c (add_psymbol_to_list)
1235 (add_psymbol_addr_to_list): Ditto.
1236 * symtab.c (lookup_partial_symbol): Ditto.
1237 (lookup_symbol): Ditto.
1238 (lookup_block_symbol): Ditto.
1239 * win32-nat.c (handle_load_dll): Use incoming dll base.
1240 (child_wait): Catch DLL load errors.
1241 (create_child_inferior): Translated between paths correctly.
1242
e33aefba
FF
1243Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
1244
1245 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
1246 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
1247 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
1248 of number of general regs and number of floating point regs.
e33aefba 1249
e02a2ad9
SC
1250Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
1251
a3b64bf9
SC
1252 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
1253 (SKIP_TRAMPOLINE_CODE): New.
1254 * config/i386/xm-win32.h (CANT_FORK): Deleted.
1255 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
1256 * symtab.h (namespace enum): becomes typedef to avoid namespace
1257 collision in C++.
1258 * infcmd.c (path_command): Use empty string if PATH name not set.
1259 * i386-tdep.c (skip_trampoline_code): New function.
1260 * srec.c: Renamed dsrec.c to avoid filename collision.
1261 * Makefile.in: Cope with renaming.
e02a2ad9 1262
ef4d6187 1263Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 1264
ef4d6187
FF
1265 * symmisc.c (print_objfile_statistics): Print memory use statistics
1266 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 1267
ef4d6187 1268Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 1269
ef4d6187
FF
1270 * config/mips/nm-irix5.h: Restore.
1271 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
1272 from Lee Iverson <leei@ai.sri.com>.
1273 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
1274 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 1275
ef4d6187 1276For older changes see ChangeLog-95
bd5635a1
RP
1277\f
1278Local Variables:
1279mode: indented-text
1280left-margin: 8
1281fill-column: 74
1282version-control: never
1283End:
This page took 0.37569 seconds and 4 git commands to generate.