]> Git Repo - binutils.git/blame - gdb/ChangeLog
Sun Oct 6 22:43:06 1996 Jason Merrill <[email protected]>
[binutils.git] / gdb / ChangeLog
CommitLineData
e61a754e
JM
1Sun Oct 6 22:43:06 1996 Jason Merrill <[email protected]>
2
3 * dwarf2read.c (read_tag_reference_type): New fn.
4 (read_type_die): Call it.
5 (dwarf_attr): Also look in the DIEs referred to by specification
6 or abstract_origin attributes.
7
5bb23a95
FF
8Wed Oct 2 22:07:16 1996 Fred Fish <[email protected]>
9
10 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
11 SIGTRAMP_END.
12 * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
13 Define with dummy pc arg.
14 * config/m68k/tm-nbsd.h: Ditto.
15 * doc/gdbint.texinfo: Document that SIGTRAMP_START and
16 SIGTRAMP_END are macros that take an single argument.
17
b51843d8
FF
18Mon Sep 30 20:02:45 1996 Fred Fish <[email protected]>
19
20 * defs.h: Remove define of PRIVATE_XMALLOC.
21
b51843d8
FF
22start-sanitize-v850
23Mon Sep 30 15:39:28 1996 Stu Grossman ([email protected])
24
25 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
26
27end-sanitize-v850
e20c36ba
JL
28Mon Sep 30 11:16:34 1996 Jeffrey A Law ([email protected])
29
30 * top.c (execute_control_command): Free values from while_control
31 and if_control conditions after evaluation to avoid storage leaks.
32 From Peter Schauer.
33
e2810631
SG
34start-sanitize-v850
35Fri Sep 27 17:43:06 1996 Stu Grossman ([email protected])
36
1fa83dcd 37 * configure configure.in: Recognize v850 target.
e2810631
SG
38 * v850-tdep.c: New file, NEC V850 target support.
39 * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
40
41end-sanitize-v850
be23e5a4
PS
42Fri Sep 27 14:48:15 1996 Peter Schauer ([email protected])
43
44 * infrun.c (wait_for_inferior): Update current_line and
45 current_symtab when stepping continues in the middle of a new line.
46
50140ab2
FF
47Fri Sep 27 10:25:30 1996 Fred Fish <[email protected]>
48
49 * top.c (print_gdb_version): Rewrote to comply with new GNU coding
50 standards for the --version option.
51 (print_gnu_advertisement): Remove, now part of print_gdb_version.
52 (show_version): Remove call to print_gnu_advertisement.
53 * top.h (print_gnu_advertisement): Remove prototype.
54 * main.c (print_gdb_help): Move help to static function and
55 add prototype.
56 (main): Call print_gdb_help rather than inlining it.
57 (main): Remove call to print_gnu_advertisement.
58start-sanitize-gdbtk
59 * gdbtk.tcl (create_copyright_window): Increase timeout from
60 15 seconds to 30 seconds.
61end-sanitize-gdbtk
62
d266afa9
MM
63start-sanitize-d10v
64Fri Sep 27 13:32:53 1996 Michael Meissner <[email protected]>
65
66 * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
fb0097a0 67 (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
d266afa9
MM
68
69end-sanitize-d10v
54225fd0
MA
70Thu Sep 26 23:10:26 1996 Mark Alexander <[email protected]>
71
72 * configure.in, config/i386/tm-linux.h: Fix configure
73 problem on older Linux systems that prevented core files
74 from being recognized.
75
76Wed Sep 25 18:31:33 1996 Stan Shebs <[email protected]>
77
78 * dbug-rom.c: New file, support for Motorola's dBUG monitor.
79 * config/m68k/monitor.mt (TDEPFILES): Add it.
80 * NEWS: Mention it.
81
82start-sanitize-d10v
83Mon Sep 23 16:13:50 1996 Martin M. Hunt <[email protected]>
84
85 * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
86 Now single-steps correctly.
87 * d10v-tdep.c (d10v_pop_frame): Fixed.
88
89end-sanitize-d10v
12ffa10c
SS
90Fri Sep 20 16:10:58 1996 Stan Shebs <[email protected]>
91
92 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
93 be consistent with GCC.
94 (FPUL_REGNUM, etc): Renumber to match list changes.
95 (ADDR_BITS_REMOVE): Delete.
96 * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
97 Rearrange to match REGISTER_NAMES.
98 * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
99
e05bda9f 100start-sanitize-d10v
81dc176f
MH
101Thu Sep 19 16:19:01 1996 Martin M. Hunt <[email protected]>
102
103 * d10v-tdep.c: Stack chain should work now.
104
e05bda9f
MH
105Tue Sep 17 18:46:57 1996 Martin M. Hunt <[email protected]>
106
107 * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
108
109end-sanitize-d10v
88907d73
ILT
110Tue Sep 17 12:20:50 1996 Ian Lance Taylor <[email protected]>
111
112 * configure.in: Add cases for MIPS 5000 like MIPS 4300.
113 * configure: Rebuild.
114
5b59224e
DP
115Tue Sep 17 12:09:00 1996 Dawn Perchik <[email protected]>
116
117 * ser-e7kpc.c: Added wingdb support for target e7000pc.
118
119Tue Sep 17 10:56:52 1996 James G. Smith <[email protected]>
120
121 * remote-mips.c (pmon_wait): CAIRO PMON does not require forced
122 re-entry back into debug mode.
123
aeb8f981
JSC
124Mon Sep 16 14:32:58 1996 James G. Smith <[email protected]>
125
126 * remote-mips.c (mips_load): Ensure that the PC is explicitly
127 loaded after a load to a CAIRO PMON system.
128
1d5eb137
FF
129Fri Sep 13 12:02:39 1996 Fred Fish <[email protected]>
130
131 * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
132 (HLDENV): Set to @HLDENV@.
133 (gdb): Prefix link command line with $(HLDENV).
134 * configure.in: Add support to test for --enable-shared and
135 generate appropriate values for HLDFLAGS and HLDENV.
136 * configure: Regenerated with autoconf.
137
948a9d92
FF
138Sun Sep 8 15:26:27 1996 Fred Fish <[email protected]>
139
140 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
141 change for core_read_registers in struct core_fns.
142 * core-regset.c (fetch_core_registers): Ditto & add prototype.
143 * core-sol2.c (fetch_core_registers): Ditto & add prototype.
144 * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
145 * i386b-nat.c (fetch_core_registers): Ditto.
146 * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
147 * irix4-nat.c (fetch_core_registers): Ditto.
148 * irix5-nat.c (fetch_core_registers): Ditto.
149 * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
150 * m68knbsd-nat.c (fetch_core_registers): Ditto.
151 * mips-nat.c (fetch_core_registers): Ditto & add prototype.
152 * rs6000-nat.c (fetch_core_registers): Ditto.
153 * sparc-nat.c (fetch_core_registers): Ditto.
154 * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
155 * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
156
157 * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
158 * delta68-nat.c (register_addr): Ditto.
159 * gdbserver/low-linux.c (register_addr): Ditto.
160 * gdbserver/low-hppabsd.c (register_addr): Ditto.
161 * i386m3-nat.c (register_addr): Ditto.
162 * mips-nat.c (register_addr): Ditto.
163 * ultra3-nat.c (register_addr): Ditto.
164
7bd1f0c5
SG
165Sun Sep 8 15:14:00 1996 Stu Grossman ([email protected])
166
167 * blockframe.c (inside_main_func): Cleanup slightly. Move
168 mainsym def into the block it's used in.
169 * configure.in configure: Allow NATDEPFILES to be recognized in
170 .mh files regardless of whitespace.
171
172 * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
173 keep downloads from hanging.
174
175 * remote-wiggler.c: Add support for flash upgrades.
176 * (wiggler_error): Fix message format. Add new error code.
177 * (wiggler_write_byets): Error code is hex. Report errors with
178 proper routine name.
179 * (wiggler_read_byets): Report errors with proper routine name.
180 * (get_packet): Add support for new flash commands.
181 * (wiggler_load): Call clear_symtab_users() to reset things
182 properly after download.
183 * (flash_xfer_memory bdm_update_flash_command): New funxtions to
184 support flash upgrades for Wiggler.
185 * (_initialize_remote_wiggler): Add `bdm update-flash' command.
186
94a42c63
GN
187Fri Sep 6 13:14:13 1996 Geoffrey Noer <[email protected]>
188
189 * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
190
421fafa2
GN
191Thu Sep 5 17:05:13 1996 Geoffrey Noer <[email protected]>
192
193 * config/i386/cygwin32.mh:
194 * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
195
9e9358eb
PB
196Thu Sep 5 12:09:13 1996 Per Bothner <[email protected]>
197
198 * value.h (COERCE_REF): Fix previous change.
199 (COERCE_ENUM): Add a check_typedef (this is the real fix).
200
947ca025
WM
201Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <[email protected]>
202
203 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
204 better check of array boundaries.
205
5819f35d
SG
206Thu Sep 5 01:29:42 1996 Stu Grossman ([email protected])
207
208 * configure: Update aclocal.m4 and re-run autoconf to get correct
209 defs for BFD stuff.
210 * remote-wiggler.c (wiggler_error): Error codes are hex. Also,
211 fix default message generation.
212
0ca4776e
SG
213Wed Sep 4 17:28:40 1996 Stu Grossman ([email protected])
214
215 * Makefile.in: Add mswin to SUBDIRS. Add rules for
216 mswin/libwingdb.a and remote-wiggler.o.
217 * breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
218 * (breakpoint_inserted_here_p): New func, just like
219 breakpoint_here_p, except it's honest. Honestly.
220 * breakpoint.h: Proto for above.
221start-sanitize-gdbtk
222 * configure configure.in: Add host *windows* to list of hosts
223 that don't support GDBtk.
224end-sanitize-gdbtk
225 * configure configure.in: Add mswin to configdirs if host is
226 i[3456]86-*-windows.
227 * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
228 Change all vars that can contain addresses to type CORE_ADDR.
229 * findvar.c (supply_register): Allow val to be NULL. This means
230 that regno is unsupported.
231 * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
232 just call pid forms with inferior_pid so that there's only once
233 place to hack PC's and such.
234 * infrun.c (proceed): Don't skip breakpoints if user changed PC.
235 * remote-wiggler.c: New file. Support for BDM interface from
236 Macraigor Systems.
237 * serial.c: Enhance serial logging capability. Add hex and octal
238 output modes (set remotelogbase {hex|octal|ascii}. Also log
239 breaks, timeouts, errors, and eofs.
240 * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
241 function so that we can log breaks. Don't export serial_logfile
242 or serial_logfp.
243 * top.c (execute_command): Don't test for serial_logfp here.
244 Just call serial_log_comand, and let serial.c sort it out.
245 * valops.c (value_of_variable): Don't attempt to establish frames
246 for static and global variables. This makes things work a bit
247 better if the stack or frame pointer is trashed.
248 * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
249 * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
250 misaligned stacks during function calls.
251
10d183a0
ILT
252Wed Sep 4 13:06:26 1996 Ian Lance Taylor <[email protected]>
253
254 * terminal.h: Don't use #elif.
255
b5865bb2
WM
256Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <[email protected]>
257
258 * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
259 if we have a type.
260
261 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
262 check number of args against bounds of array to avoid
263 memory corruption.
264
265 * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
266 a TYPE_CODE_TYPEDEF.
267
268Fri Aug 30 15:07:14 1996 James G. Smith <[email protected]>
269
270 * remote-mips.c: Provide support for CAIRO target board.
271 (cairo_open, cairo_ops): Added.
272 (mips_monitor_type): MON_CAIRO Added.
273 (mips_enter_debug, mips_exit_debug, mips_initialize,
274 mips_fetch_registers, common_breakpoint, mips_load,
275 _initialize_remote_mips): Updated.
276
26c543ea
MM
277Thu Aug 29 17:00:18 1996 Michael Meissner <[email protected]>
278
279 * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
280 * nlm/configure: Regenerate.
281
282 * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
283 pentium pro.
26c543ea 284
0cf433d9
ILT
285Wed Aug 28 13:11:15 1996 Ian Lance Taylor <[email protected]>
286
287 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
288 CY_AC_LOAD_TCLCONFIG.
289 * configure: Rebuild.
290
291Tue Aug 27 12:40:40 1996 Fred Fish <[email protected]>
292
293 * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
294 find_pc_partial_function.
295
855f9c58
MM
296Tue Aug 27 10:17:34 1996 Michael Meissner <[email protected]>
297
298 * configure: Regenerate again.
299
300Tue Aug 27 04:25:08 1996 Geoffrey Noer <[email protected]>
301
302 * configure.in: work around host_alias configure bug.
303 AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
304 and second by AC_CANONICAL_SYSTEM). The second clobbers the
305 previous setting. Circumventing by moving the second check
306 to before the first.
307 * configure: regenerated
308
7b3fa778
MH
309start-sanitize-d10v
310Mon Aug 26 18:36:54 1996 Martin M. Hunt <[email protected]>
311
312 * config/d10v/d10v.mt: New file.
313 * config/d10v/tm-d10v.h: New file.
314 * configure.in: New target D10V.
315 * d10v-tdep.c: New file.
316
317end-sanitize-d10v
94b4f756
FF
318Sun Aug 25 00:09:47 1996 Fred Fish <[email protected]>
319
320 * rs6000-tdep.c: Fix typo in comment.
321 * valops.c (call_function_by_hand): Set using_gcc to 2
322 for code compiled without -g, per comment in code.
323 * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
324 * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
325 * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
326 * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
327 * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
328 * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
329 (STACK_ALIGN): Add comment, move to be with other associated
330 macros, and document.
331 * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
332 (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
333 * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
334 * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
335 handled by PUSH_ARGUMENTS.
336 (PUSH_ARGUMENTS): Enclose args in ()'s.
337
338Fri Aug 23 13:55:05 1996 Peter Schauer ([email protected])
339
340 * infrun.c (wait_for_inferior): Try to reenable shared library
341 breakpoints even if auto_solib_load is not set.
342
26b3dc44 343Fri Aug 23 00:44:57 1996 Fred Fish <[email protected]>
fe58c81f
FF
344
345 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
346 gracefully degrade to using command line interface if none is
347 found.
348
26b3dc44 349Wed Aug 21 16:31:27 1996 Fred Fish <[email protected]>
d538f9cf
FF
350
351 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
352 PRINTF_HAS_LONG_LONG.
353 * expprint.c (dump_expression): Ditto.
354 * configure.in: Fix check for long long support in compiler to
355 use a function body, not a nested function.
356 * configure: Rebuild with autoconf.
357
fef1696f
ILT
358Tue Aug 20 17:59:42 1996 Ian Lance Taylor <[email protected]>
359
360 * aclocal.m4: Include ../bfd/aclocal.m4.
361 * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
362 BFD_NEED_DECLARATION on malloc, realloc, and free.
363 * acconfig.h: Add NEED_DECLARATION_MALLOC,
364 NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
365 * configure, config.in: Rebuild.
366 * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
367 rather than __STDC__. Only declare malloc, realloc, and free if
368 NEED_DECLARATION_* is defined.
369
26b3dc44 370Tue Aug 20 15:37:03 1996 Fred Fish <[email protected]>
dbc4eefc
FF
371
372 * solib.c (_initialize_solib): Add missing '\' chars at ends of
373 strings that continue on next line.
374 (enable_break): Replace "return 0" with setting success to zero
375 and letting normal return handle the return.
376
377Sat Aug 17 14:16:23 1996 Fred Fish <[email protected]>
378
379 * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
380 are properly aligned.
381
2f163bc3
SS
382Fri Aug 16 17:54:26 1996 Stan Shebs <[email protected]>
383
384 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
385 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
386 to function, declare function correctly.
387
68fc375e
DP
388Fri Aug 16 17:24:35 1996 Dawn Perchik <[email protected]>
389
390 * symtab.h: changed namespace to _namespace for compiling under
391 MFC v4.0.
392
b208ff3b
SS
393Fri Aug 16 13:52:21 1996 Stan Shebs <[email protected]>
394
395 * mpw-make.sed: Update for various recent changes, add some
396 comments.
397start-sanitize-gm
398 * mpw-config.in: Fix name of Magic Cap-specific file.
399end-sanitize-gm
400
b597998a
MM
401Fri Aug 16 15:47:36 1996 Michael Meissner <[email protected]>
402
403 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
404 integer for type correctness.
405
4caa1158
JSC
406Fri Aug 16 15:15:37 1996 James G. Smith <[email protected]>
407
408 * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
409 simulator is included.
410
eb17f9d5
FF
411Thu Aug 15 13:44:13 1996 Fred Fish <[email protected]>
412
413 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
414 is not defined.
415 (read_register_pid): Only needed when TARGET_READ_PC is not
416 defined.
417 * hppa-tdep.c (frame_saved_pc): Remove prototype.
418 * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
419 not defined.
420 * config/xm-aix4.h (aix_resizewindow): Convert old style decl
421 to prototype.
422 * xcoffsolib.c (command.h): Include for needed prototypes.
423
424Wed Aug 14 17:54:19 1996 Stu Grossman ([email protected])
425
426 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
427 native work.
428
26b3dc44 429Wed Aug 14 02:03:42 1996 Fred Fish <[email protected]>
81a80f32 430
e5718bee
FF
431 From Blair MacIntyre <[email protected]>:
432 * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
433 than SYMBOL_TYPE on msymbols.
434 * somsolib.c (som_solib_create_inferior_hook): Ditto.
435
81a80f32
FF
436 * Makefile.in (init.c): Generate with prototypes.
437
438 * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
439 * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
440 * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
441 (pc_load_segment_name): Ditto.
442 (pop_frame): Ditto.
443 (extract_return_value): Ditto.
444 (is_magic_function_pointer): Ditto.
445 (push_dummy_frame): Ditto.
446 (fix_call_dummy): Ditto.
447 (push_arguments): Ditto.
448 (skip_trampoline_code): Ditto.
449 (aix_process_linenos): Ditto.
450
451 * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
452 * config/m68k/tm-es1800.h: Ditto.
453 * config/m68k/tm-vx68.h: Ditto.
454 * config/m68k/tm-sun3.h: Ditto.
455 * config/m68k/tm-m68kv4.h: Ditto.
456
857dcde8
FF
457Tue Aug 13 23:04:36 1996 Fred Fish <[email protected]>
458
459 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
460 * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
461 * remote-mips.c (mips_read_processor_type): Remove prototype.
462 * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
463 * irix5-nat.c (fetch_core_registers): Add prototype.
464
c1d58bcd
FF
465Mon Aug 12 21:23:44 1996 Fred Fish <[email protected]>
466
467 * remote-pa.c (boot_board): Add dummy params to make type compatible
468 for passing to add_com.
469 * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
470 * buildsym.c (compare_line_numbers): Change function to match
471 prototype and also what qsort expects.
472
cd21cbc4
MA
473Mon Aug 12 19:19:00 1996 Mark Alexander <[email protected]>
474
475 * remote.c: Make remote_write_size public.
476 * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
477 to prevent packet errors with some versions of CMON.
478
8501c742
SG
479Mon Aug 12 16:20:58 1996 Stu Grossman ([email protected])
480
481 * defs.h: Define CONST_PTR as blank if compiling with Microsoft
482 C, else it's `const'.
483 * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
484 scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
485 macro instead.
486 * configure configure.in defs.h: Use AC_C_CONST to figure out if
487 the compiler supports const. Gets rid of some cruft in defs.h.
488 * dwarf2read.c: <string.h> -> "gdb_string.h"
489 * remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
490 * sparcl-tdep.c (download): Add prototypes to write_routine and
491 start_routine args.
492
493 * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
494 rid of varargs.h Include string.h.
495 * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
496 update): Fix prototypes, fix calls.
497 * (update): Return value for catch_errors.
498 * (run_execute_command togdb_command_from_tty togdb_command):
499 Cleanup catching of errors from calls to execute_command. Also,
500 dup command string to avoid modifying const strings.
501 * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
502 of NULL when see if b->address isn't set.
503 * (bi_disable_bpt bi_enable_bpt bi_delete_all
504 bi_delete_breakpoint): Add arg to calls to update.
505 * (gui_command): Add prototype.
506 * (mswin_query): Fix prototype.
507 * (_initialize_gdbwin): Dup string to avoid modifying const.
508 * (info_path togdb_get_info_path): Remove const from decls cuz
509 this can't be const (it points at malloc'ed memory).
510 * (togdb_searchpath): Remove const from path. Dup string to
511 avoid modifying const strings.
512 * rindex -> strrchr.
513 * (gdbwin_list_symbols): Regexp param is const.
514 * Fix lots of refs to psymtabs to deref correct pointers.
515 * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
516 not &sal.
517 * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
518 toget_set_info_path): Fix prototypes to match reality.
519 * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
520 with proper prototypes.
521 * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
522 * mswin/ser-win32s.c: Fix defs of min and max.
523 * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
524 USHORT.
525 * (WriteComm16): Change lpBug from LPVOID to LPCSTR.
526 * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
527
82c6139b
SG
528Sun Aug 11 20:54:16 1996 Stu Grossman ([email protected])
529
530 * main.c (main): Make sure command loop is used with cygwin32.
531 * terminal.h: Allow cygwin32 to use termios.h.
532
611f046f
TT
533start-sanitize-gdbtk
534Fri Aug 9 12:32:53 1996 Tom Tromey <[email protected]>
535
536 * Makefile.in (LIB_INSTALL_DIR): New macro.
537 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
538
539end-sanitize-gdbtk
c149559f
JL
540Fri Aug 9 12:42:49 1996 Jeffrey A Law ([email protected])
541
542 * somread.c (som_symtab_read): Handle secondary definition
543 symbols (aka weak symbols).
bb1847ca
JL
544
545 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
546 last change.
547
e618c70e
SG
548Thu Aug 8 10:12:36 1996 Stu Grossman ([email protected])
549
8d42089e
SG
550 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
551 _WIN32.
552
e618c70e
SG
553 * somread.c: Rearrange order of includes to fix warnings under
554 hpux-10.10. Also don't include sys/file.h.
555
500992b7
SG
556Wed Aug 7 21:45:52 1996 Stu Grossman ([email protected])
557
558 * dbxread.c: Don't include param.h or sys/file.h.
559 * (dbx_symfile_read): Determine symfile_relocatable from bfd
560 flags instead of file extension. Also clean up a little bit.
561
9e77e83d
SG
562Wed Aug 7 17:18:37 1996 Stu Grossman ([email protected])
563
564 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
565 mdebugread.c os9kread.c source.c top.c utils.c: Don't
566 include param.h or sys/file.h (or unistd.h in some cases).
567 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
568 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
569 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
570 * main.c: Remove #ifndef WINGDB around option processing. Fix
571 bug with passing argc==0 and argv==NULL to getopt.
572 * (main) Remove calls to access() before source_command. Let
573 soure_command handle access errors.
574 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
575 * symtab.c (operator_chars): Make this global for wingdb.
576 * top.c (disconnect): #ifdef out for _WIN32.
577 * (source_command): If got an error and from_tty, then call print
578 error, else just return quietly.
579 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
580 Just exit.
581 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
582 under windows.
583
0d43c8e7
JL
584Wed Aug 7 09:59:19 1996 Jeffrey A Law ([email protected])
585
8d038451
JL
586 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
587 structures > 4 bytes in size.
588
0d43c8e7
JL
589 * valops.c (call_function_by_hand): Handle aligning stacks that
590 grow up correctly.
591 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
592 (STACK_ALIGN): Define.
593 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
594 alignment on structs/unions.
595
769d0c90
FF
596Sun Aug 4 16:22:42 1996 Fred Fish <[email protected]>
597
598 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
599 which is the documented type under at least AIX 3 and AIX 4.
600
6b24a9f6
FF
601Sat Aug 3 04:02:46 1996 Fred Fish <[email protected]>
602
603 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
604 xm-alphaosf.h.
38eee4a9
FF
605 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
606 checks.
6b24a9f6 607
047465fd
TT
608start-sanitize-gdbtk
609Thu Aug 1 20:35:01 1996 Tom Tromey <[email protected]>
610
611 * gdbtk.c (mainWindow): Deleted.
612 (cleanup_init): Don't destroy main window.
613 (gdbtk_init): Main window now created by Tk_Init.
614
615 * configure.in: Most X checks now handled automatically by Tk.
616 Use new macros to find Tcl/Tk.
617 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
618 * config.in, configure: Regenerated.
619
620 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
621 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
622
623end-sanitize-gdbtk
8efb8079
FF
624Thu Aug 1 10:11:34 1996 Fred Fish <[email protected]>
625
626 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
627 this, define when contents are included.
628 (mips_read_processor_type): Add prototype.
629 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
630 * mdebugread.c (ecoff_relocate_efi): Add prototype.
631 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
632
e822a3db
JM
633start-sanitize-gdbtk
634Thu Aug 1 16:12:05 1996 Jason Molenda ([email protected])
635
636 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
637
638end-sanitize-gdbtk
a95d92fa
FF
639Wed Jul 31 20:21:24 1996 Fred Fish <[email protected]>
640
641 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
642 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
643 (fetch_core_registers): Add prototype.
644 (vmap_symtab): Ditto.
645 (objfile_symbol_add): Ditto.
646 (add_vmap): Ditto.
647 (vmap_ldinfo): Ditto.
648 (vmap_exec): Ditto.
649
cb74cc24
SS
650Tue Jul 30 17:57:46 1996 Stan Shebs <[email protected]>
651
652 * stabsread.c (get_substring): Declare second arg as int.
653
654 * remote-es.c: Include gdb_string.h after defs.h.
655
80f600a4
FF
656Mon Jul 29 21:13:20 1996 Fred Fish <[email protected]>
657
368f1e77
FF
658 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
659 (branch_dest): Remove unused variable "offset".
660 (pop_dummy_frame): Add prototype and make static.
661 (push_arguments): Guard against using len uninitialized.
662 (push_arguments): Guard against using arg uninitialized.
663 (frame_saved_pc): Remove unused variable "frameless".
664 (free_loadinfo): Ifdef out unused function.
665
6e0949ae
FF
666 * xcoffread.c (compare_lte): Change prototype and function to
667 be correct type for passing to qsort.
668 (add_stab_to_list): Ifdef out unused function and prototype.
669 (compare_lte): Add prototype
670 (arrange_linetable): Ditto.
671 (record_include_begin): Ditto.
672 (record_include_end): Ditto.
673 (process_linenos): Ditto.
674 (xcoff_next_symbol_text): Ditto.
675 (scan_xcoff_symtab): Ditto.
676 (xcoff_initial_scan): Ditto.
677
80e0e92a
FF
678 * mips-tdep.c (mips_read_processor_type): Add parens around
679 bitwise-and operands in comparison; previous expression always
680 evaluated to 0 because of equality comparison of two constants.
681
58b4fad2
FF
682 * rs6000-tdep.c (skip_prologue): Add missing parens around
683 operands of logical-or so that first operand does not bind
684 to previous logical-and.
685
80f600a4
FF
686 * configure.in: Expand "long long" test to include code that triggers
687 known problem on HPUX with native compiler.
688 (configure): Regenerated.
689
6f359895
JL
690Mon Jul 29 18:12:27 1996 Jeffrey A Law ([email protected])
691
692 * somsolib.c (som_solib_create_inferior_hook): Don't
693 warn if __d_pid can't be found.
694
f2bf454e
FF
695Sun Jul 28 10:46:39 1996 Fred Fish <[email protected]>
696
697 * config/mips/tm-mips.h (struct frame_info): Forward decl.
698 (struct type): Ditto.
699 (struct value): Ditto.
700
701 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
702 from mips-tdep.c to here.
703 (sigtramp_end): Ditto.
704 (fixup_sigtramp): Ditto.
705
706 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
707 (mips_frame_chain): Ditto.
708 (mips_step_skips_delay): Ditto.
709 (mips_frame_saved_pc): Ditto.
710 (mips_find_saved_regs): Ditto.
711 (mips_frame_num_args): Ditto.
712 (mips_pop_frame): Ditto.
713 (mips_extract_return_value): Ditto.
714 (mips_store_return_value): Ditto.
715 (mips_push_dummy_frame): Ditto.
716 (mips_push_arguments): Ditto.
717 (mips_do_registers_info): Ditto.
718 (ecoff_relocate_efi): Ditto.
719 (ecoff_relocate_efi): Ditto.
720 * irix4-nat.c (fetch_core_registers): Add prototype.
721 * mips-tdep.c (read_next_frame_reg): Add prototype
722 (heuristic_proc_start): Ditto.
723 (heuristic_proc_desc): Ditto.
724 (mips_print_register): Ditto.
725 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
726 (procfs_stopped_by_watchpoint): Ditto.
727 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
728 (procfs_stopped_by_watchpoint): Ditto.
729 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
730 (struct symbol): Add forward decl for prototype.
731
732 * breakpoint.c (internal_breakpoint_number): Only needed if
733 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
734
735 * objfiles.c (ecoff_relocate_efi): Remove prototype.
736
3f550b59
FF
737Sat Jul 27 17:47:35 1996 Fred Fish <[email protected]>
738
739 * configure.in: Add test for "long long" support.
740 * configure: Regenerate with autoconf.
741 * acconfig.h: Add CC_HAS_LONG_LONG
742 * config.in: Regenerate with autoheader.
743 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
744 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
745 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
746 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
747 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
748 (PRINTF_HAS_LONG_LONG): Remove.
749 (FORCE_LONG_LONG): Remove.
750 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
751 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
752 (PRINTF_HAS_LONG_LONG): Remove.
753 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
754 (PRINTF_HAS_LONG_LONG): Remove.
755 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
756 subtraction inside shift. Put parens around subtraction
757 in operand of bitwise and.
758 (struct frame_info): Forward declare
759 if __STDC__ defined.
760 (frame_saved_regs): Ditto.
761 (struct value): Ditto.
762 (struct type): Ditto.
763 (struct inferior_status): Ditto.
764 (init_extra_frame_info): Add prototype.
765 (skip_prologue): Ditto.
766 (frameless_function_invocation): Ditto.
767 (frame_chain): Ditto.
768 (frame_chain_valid): Ditto.
769 (saved_pc_after_call): Ditto.
770 (hppa_fix_call_dummy): Ditto.
771 (hppa_push_arguments): Ditto.
772 (pa_do_registers_info): Ditto.
773 (in_solib_call_trampoline): Ditto.
774 (in_solib_return_trampoline): Ditto.
775 (push_dummy_frame): Ditto.
776 * convex-tdep.c (decout): Use print_longest rather than
777 fprintf_filtered.
778 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
779 CC_HAS_LONG_LONG.
780 (INT_MIN): Fix so it works correctly when assigned to a long long.
781 * valprint.c (longest_to_int): Rewrite to remove dependence
782 on INT_MIN and INT_MAX.
783 (print_longest): Rewrite the code that falls back to synthesized
784 hex output when LONGEST value is not representable as in a long and
785 printf doesn't support printing long longs.
786 * ch-valprint.c (chill_val_print): Cast 2nd arg of
787 chill_print_type_scalar to LONGEST.
788 chill_print_type_scalar): Make static and add prototype.
789 * hppa-tdep.c (get_field): Ifdef out unused function.
790 (set_field): Ditto.
791 (extract_3): Ditto.
792 (extract_5_store): Ditto.
793 (extract_11): Ditto.
794 (extract_12): Ditto.
795 (deposit_17): Ditto.
796 (extract_14): Convert to static and add prototype.
797 (deposit_14): Ditto.
798 (extract_21): Ditto.
799 (deposit_21): Ditto.
800 (extract_17): Ditto.
801 (extract_5r_store): Ditto.
802 (extract_5R_store): Ditto.
803 (extract_5_load): Ditto.
804 (find_proc_framesize): Ditto.
805 (find_dummy_frame_regs): Ditto.
806 (sign_extend): Ditto.
807 (find_unwind_entry): Add prototype.
808 (find_return_regnum): Ditto.
809 (unwind_command): Ditto.
810 (find_dummy_frame_regs): Add parens around subtraction in operand
811 of bitwise-and.
812 (skip_prologue): Add parens around operands of logical-and inside
813 operand of logical-or.
814 (sign_extend): Add parens around operands of subtraction inside
815 operand of shift.
816 (low_sign_extend): Ditto.
817 * top.c (filename_completer): Convert old style decl of
818 filename_completion_function into prototype.
819 * f-lang.c (patch_common_entries): Ifdef out unused function.
820 * stabsread.c (read_cfront_baseclasses): Remove unused local
821 variable "msg_noterm".
822 (resolve_cfront_continuation): Remove unused local variable "fip".
823 (read_type): Remove unused variable xtypenums.
824 (read_cfront_static_fields): Remove unused variable "i".
825 (read_cfront_static_fields): Remove unused variable "nfields".
826 (read_cfront_member_functions): Add missing comment terminator.
827 (read_cfront_static_fields): Return 1 rather than random value.
828 (read_cfront_baseclasses): Ditto.
829 (read_cfront_baseclasses): Ditto.
830 (read_cfront_baseclasses): Ditto.
831 * somsolib.c (som_solib_create_inferior_hook): Remove unused
832 variable "u".
833 (som_solib_create_inferior_hook): Remove unused variable
834 shadow_contents.
835 (language.h): Add for needed prototypes.
836 (som_solib_sharedlibrary_command): Add prototype.
837 * hpread.c: (hpread_read_array_type): Add prototype.
838 * somread.c (hpread_build_pysmtabs): Add prototype.
839 (hpread_symfile_finish): Ditto.
840 (hpread_symfile_init): Ditto.
841 * hppah-nat.c (fetch_register): Convert old style decl
842 to prototype.
843 (gdbcore.h): Include for needed prototypes.
844 (fetch_register): Remove unused variable "mess".
845 * remote-pa.c (get_offsets): Ifdef out unused function.
846 (remote_start_remote): Remove unused variable "timeout".
847 (boot_board): Add prototype.
848 (reaad_frame): Add prototype.
849 (getpkt): Remove unused variable "bp".
850 (remote_kill): Add prototype.
851 (remote_mourn): Add prototype.
852 (remote_insert_breakpoint): Add prototype.
853 (remote_remove_breakpoint): Add prototype.
854 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
855 * infcmd.c (do_registers_info): Only need prototype if
856 DO_REGISTERS_INFO is not defined.
857 (breakpoint_auto_delete_contents): Only need if
858 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
859
68aadb90
FF
860Sat Jul 27 08:49:49 1996 Fred Fish <[email protected]>
861
862 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
863 (END_PSYMTAB): Ditto.
864 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
865
caeec767
ILT
866Fri Jul 26 14:07:37 1996 Ian Lance Taylor <[email protected]>
867
868 * printcmd.c (_initialize_printcmd): Initialize
869 tm_print_insn_info.flavour.
cb74cc24 870start-sanitize-gdbtk
caeec767 871 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
cb74cc24 872end-sanitize-gdbtk
caeec767 873
b607efe7
FF
874Thu Jul 25 19:41:31 1996 Fred Fish <[email protected]>
875
876 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
877 (arm-tdep.o): Ditto.
878 (dcache.o): Ditto.
879 (i386ly-tdep.o): Ditto.
880 (i960-tdep.o): Ditto.
881 (m68k-tdep.o): Ditto.
882 (nindy-tdep.o): Ditto.
883 (scm-lang.o): Ditto.
884 (w65-tdep.o): Ditto.
885 (z8k-tdep.o): Ditto.
886 (m68k-tdep.o): Depends upon value_h and gdb_string.h
887 (m2-valprint.o): Depends upon m2-lang.h.
888 (sparc-tdep.o): Depends upon gdb_string.h
889 (valprint.o): Depends upon valprint.h
890
891 * remote-e7000.c (notice_quit): Remove prototype.
892 * top.c (initialize_targets): Remove prototype, now in target.h.
893 * stabsread.c (resolve_cfront_continuation): Remove prototype.
894 * dbxread.c (resolve_cfront_continuation): Remove prototype.
895 * symfile.h (set_demangling_style): Remove prototype.
896 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
897 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
898 target.h.
899 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
900 now in target.h.
901 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
902 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
903 * scm-lang.c (find_function_in_inferior): Remove prototype.
904 (value_allocate_space_in_inferior): Ditto.
905 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
906 * defs.h (strchr): Remove declarations, they are declared in
907 gdb_string.h also.
908 (strrchr): Ditto.
909 (strstr): Ditto.
910 (strtok): Ditto.
911 (strerror): Ditto.
912 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
913 passed to f77_print_array_1.
b607efe7
FF
914 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
915 * scm-exp.c (scm_istr2int): Remove unused variable "j".
916 (scm_parse): Remove unused variable "str".
917 * hp300ux-nat.c (store_inferior_register): Remove unused variable
918 "buf".
919 (store_inferior_registers): Remove unnecessary decl "registers".
920 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
921 * scm-lang.c (scm_get_field): Remove unused variable "val".
922 (scm_lookup_name): Remove unused variable "symval".
923 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
924 * procfs.c (do_attach, do_detach): Remove unused variable "result".
925 (last_resume_pid): Remove unused static variable.
926 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
927 "res".
928 * objfiles.c (map_to_address): Remove unused function.
929 * f-valprint.c (print_max): Remove extraneous extern decl,
930 in valprint.h.
931 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
932 * ch-exp.c (write_lower_upper_value): Remove prototype for
933 type_lower_upper.
934
935 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
936 * ch-exp.c (parse_mode_call): Ditto.
937 * f-valprint.c (there_is_a_visible_common_named): Ditto.
938 * f-lang.c (clear_function_list): Ditto.
939 (get_bf_for_fcn): Ditto.
940 (clear_bf_list): Ditto.
941 (add_common_block): Ditto.
942 (patch_all_commons_by_name): Ditto.
943 (find_first_common_named): Ditto.
944 (add_common_entry): Ditto.
945 (allocate_saved_function_node): Ditto.
946 (allocate_saved_bf_node): Ditto.
947 (allocate_common_entry_node): Ditto.
948 (allocate_saved_f77_common_node): Ditto.
949
950 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
951 * dcache.c (gdbcore.h): Ditto.
952 * i386ly-tdep.c (gdbcore.h): Ditto.
953 * i960-tdep.c (gdbcore.h): Ditto.
954 * m2-valprint.c (m2-lang.h): Ditto.
955 * m68k-tdep.c (gdbcore.h): Ditto.
956 (value.h): Ditto.
957 (gdb_string.h): Ditto.
958 * nindy-tdep.c (gdbcore.h): Ditto.
959 * scm-lang.c (gdbcore.h): Ditto.
960 * scm-valprint.c (gdbcore.h): Ditto.
961 * w65-tdep.c (gdbcore.h): Ditto.
962 * z8k-tdep.c (gdbcore.h): Ditto.
963 * sparc-tdep.c (gdb_string.h): Include.
964 * valprint.c (valprint.h): Include.
965
966 * config/xm-lynx.h: Remove part of comment about INT_MIN
967 redefined warnings from defs.h, since INT_MIN define in
968 defs.h is now protected by #ifndef INT_MIN.
969 * config/i386/xm-i386bsd.h: Ditto.
970 * config/m68k/xm-hp300bsd.h: Ditto.
971 * config/m68k/xm-news.h: Ditto.
972
973 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
974 definition as 0x80000000. The macro in defs.h is better.
975 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
976 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
977 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
978 * config/pa/xm-hppab.h: Ditto.
979
980 * core-aout.c (fetch_core_registers): Add prototype.
981 * hp300ux-nat.c (fetch_inferior_register): Ditto.
982 (store_inferior_register_1): Ditto.
983 (store_inferior_register): Ditto.
984 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
985 *scm-valprint.c (c_val_print): Ditto.
986 * procfs.c (add_fd): Ditto.
987 (remove_fd): Ditto.
988 (wait_fd): Ditto.
989 (sigcodename): Ditto.
990 (sigcodedesc): Ditto.
991 (procfs_kill_inferior): Ditto.
992 (procfs_xfer_memory): Ditto.
993 (procfs_store_registers): Ditto.
994 (create_procinfo): Ditto.
995 (procfs_init_inferior): Ditto.
996 (proc_set_exec_trap): Ditto.
997 (procfs_attach): Ditto.
998 (procfs_detach): Ditto.
999 (procfs_prepare_to_store): Ditto.
1000 (procfs_files_info): Ditto.
1001 (procfs_open): Ditto.
1002 (procfs_wait): Ditto.
1003 (procfs_fetch_registers): Ditto.
1004 (procfs_mourn_inferior): Ditto.
1005 (procfs_can_run): Ditto.
1006 (procfs_thread_alive): Ditto.
1007 (procfs_stop): Ditto.
1008 * alpha-nat.c (fetch_core_registers): Ditto.
1009 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
1010 * objfiles.c (ecoff_relocate_efi): Ditto.
1011 * inflow.c (pass_signal): Ditto.
1012 (handle_sigio): Ditto.
1013 * annotate.c (breakpoint_changed): Ditto.
1014 * callback.c (wrap): Ditto.
1015 (fdbad): Ditto.
1016 (fdmap): Ditto.
1017 * utils.c (malloc_botch): Ditto.
1018 (fputs_maybe_filtered): Ditto.
1019 (vfprintf_maybe_filtered): Ditto.
1020 * defs.h (notice_quit): Ditto.
1021 * defs.h (xmalloc, xrealloc): Ditto.
1022 * top.c (stop_sig): Ditto.
1023 (init_signals): Ditto.
1024 (user_defined_command): Ditto.
1025 (source_cleanup_lines): Ditto.
1026 (dont_repeat_command): Ditto.
1027 (serial_log_command): Ditto.
1028 (disconnect): Ditto.
1029 * target.h (initialize_targets): Ditto.
1030 * os9kread.c (read_minimal_symbols): Ditto.
1031 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
1032 (fdr_name): Ditto.
1033 (push_parse_stack): Ditto.
1034 (pop_parse_stack): Ditto.
1035 (is_pending_symbol): Ditto.
1036 (add_pending): Ditto.
1037 * serial.c (serial_logchar): Ditto.
1038 (serial_interface_lookup): Ditto.
1039 * serial.h (serial_log_command): Ditto.
1040 * f-valprint.c (info_common_command): Ditto.
1041 * gdbtypes.h (print_type_scalar): Ditto.
1042 * scm-valprint.c (scm_scmlist_print): Ditto.
1043 (scm_ipruk): Ditto.
1044 * scm-lang.c (scm_printstr): Ditto.
1045 (in_eval_c): Ditto.
1046 (evaluate_subexp_scm): Ditto.
1047 * scm-exp.c (scm_read_token): Ditto.
1048 (scm_skip_ws): Ditto.
1049 (scm_lreadparen): Ditto.
1050 * m2-lang.c (emit_char): Ditto.
1051 (m2_printchar): Ditto.
1052 (m2_printstr): Ditto.
1053 (m2_create_fundamental_type): Ditto.
1054 * f-lang.c (emit_char): Ditto.
1055 (f_printchar): Ditto.
1056 (f_printstr): Ditto.
1057 (f_create_fundamental_type): Ditto.
1058 * ch-lang.c (chill_printchar): Ditto.
1059 (chill_printstr): Ditto.
1060 (chill_create_fundamental_type): Ditto.
1061 (value_chill_length): Ditto.
1062 (value_chill_card): Ditto.
1063 (value_chill_max_min): Ditto.
1064 (evaluate_subexp_chill): Ditto.
1065 * ch-exp.c (PEEK_TOKEN): Ditto.
1066 (peek_token_): Ditto.
1067 (forward_token_): Ditto.
1068 (parse_case_label): Ditto.
1069 (parse_opt_untyped_expr): Ditto.
1070 (parse_unary_call): Ditto.
1071 (parse_call): Ditto.
1072 (parse_named_record_element): Ditto.
1073 (parse_tuple_element): Ditto.
1074 (parse_opt_element_list): Ditto.
1075 (parse_tuple): Ditto.
1076 (parse_primval): Ditto.
1077 (parse_operand6): Ditto.
1078 (parse_operand5): Ditto.
1079 (parse_operand4): Ditto.
1080 (parse_operand3): Ditto.
1081 (parse_operand2): Ditto.
1082 (parse_operand1): Ditto.
1083 (parse_operand0): Ditto.
1084 (parse_expr): Ditto.
1085 (parse_then_alternative): Ditto.
1086 (parse_else_alternative): Ditto.
1087 (parse_if_expression): Ditto.
1088 (parse_untyped_expr): Ditto.
1089 (growbuf_by_size): Ditto.
1090 (match_simple_name_string): Ditto.
1091 (decode_integer_value): Ditto.
1092 (decode_integer_literal): Ditto.
1093 (match_float_literal): Ditto.
1094 (match_float_literal): Ditto.
1095 (match_string_literal): Ditto.
1096 (match_character_literal): Ditto.
1097 (match_integer_literal): Ditto.
1098 (match_bitstring_literal): Ditto.
1099 (write_lower_upper_value): Ditto.
1100 * ch-lang.h (type_lower_upper): Ditto.
1101 * c-lang.c (emit_char): Ditto.
1102 * dwarfread.c (free_utypes): Ditto.
1103 * stabsread.h (resolve_cfront_continuation): Ditto.
1104 * stabsread.c (get_substring): Ditto.
1105 (read_one_struct_field): Ditto.
1106 * stabsread.h (process_later): Ditto.
1107 * demangle.c (set_demangling_command): Ditto.
1108 * defs.h (set_demangling_style): Ditto.
1109 * maint.c (maintenance_info_command): Ditto.
1110 (print_section_table): Ditto.
1111 (maintenance_info_sections): Ditto.
1112 (maintenance_print_command): Ditto.
1113 * symtab.h (maintenance_print_statistics): Ditto.
1114 * objfiles.h (in_plt_section): Ditto.
1115 * objfiles.c (add_to_objfile_sections): Ditto.
1116 * bcache.c (hash): Ditto.
1117 (lookup_cache): Ditto.
1118 * exec.c (bfdsec_to_vmap): Ditto.
1119 (ignore): Ditto.
1120 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
1121 * language.c (unk_lang_printchar): Ditto.
1122 (unk_lang_printstr): Ditto.
1123 (unk_lang_create_fundamental_type): Ditto.
1124 (unk_lang_print_type): Ditto.
1125 (unk_lang_val_print): Ditto.
1126 (unk_lang_value_print): Ditto.
1127 * target.c (update_current_target): Ditto.
1128 (debug_to_open): Ditto.
1129 (debug_to_close): Ditto.
1130 (debug_to_attach): Ditto.
1131 (debug_to_detach): Ditto.
1132 (debug_to_resume): Ditto.
1133 (debug_to_wait): Ditto.
1134 (debug_to_fetch_registers): Ditto.
1135 (debug_to_store_registers): Ditto.
1136 (debug_to_prepare_to_store): Ditto.
1137 (debug_to_xfer_memory): Ditto.
1138 (debug_to_files_info): Ditto.
1139 (debug_to_insert_breakpoint): Ditto.
1140 (debug_to_remove_breakpoint): Ditto.
1141 (debug_to_terminal_init): Ditto.
1142 (debug_to_terminal_inferior): Ditto.
1143 (debug_to_terminal_ours_for_output): Ditto.
1144 (debug_to_terminal_ours): Ditto.
1145 (debug_to_terminal_info): Ditto.
1146 (debug_to_kill): Ditto.
1147 (debug_to_load): Ditto.
1148 (debug_to_lookup_symbol): Ditto.
1149 (debug_to_create_inferior): Ditto.
1150 (debug_to_mourn_inferior): Ditto.
1151 (debug_to_can_run): Ditto.
1152 (debug_to_notice_signals): Ditto.
1153 (debug_to_thread_alive): Ditto.
1154 (debug_to_stop): Ditto.
cb74cc24 1155start-sanitize-gdbtk
b607efe7
FF
1156 * gdbtk.c (null_routine): Ditto.
1157 (gdbtk_flush): Ditto.
1158 (gdbtk_fputs): Ditto.
1159 (gdbtk_query): Ditto.
1160 (gdbtk_readline): Ditto.
1161 (gdbtk_readline_end): Ditto.
1162 (gdb_get_breakpoint_list): Ditto.
1163 (gdb_get_breakpoint_info): Ditto.
1164 (breakpoint_notify): Ditto.
1165 (gdbtk_create_breakpoint): Ditto.
1166 (gdbtk_delete_breakpoint): Ditto.
1167 (gdbtk_modify_breakpoint): Ditto.
1168 (gdb_loc): Ditto.
1169 (gdb_eval): Ditto.
1170 (gdb_sourcelines): Ditto.
1171 (map_arg_registers): Ditto.
1172 (get_register_name): Ditto.
1173 (gdb_regnames): Ditto.
1174 (get_register): Ditto.
1175 (gdb_fetch_registers): Ditto.
1176 (register_changed_p): Ditto.
1177 (gdb_changed_register_list): Ditto.
1178 (gdb_cmd): Ditto.
1179 (call_wrapper): Ditto.
1180 (gdb_listfiles): Ditto.
1181 (gdb_stop): Ditto.
1182 (gdbtk_dis_asm_read_memory): Ditto.
1183 (compare_lines): Ditto.
1184 (gdb_disassemble): Ditto.
1185 (tk_command): Ditto.
1186 (cleanup_init): Ditto.
1187 (gdbtk_interactive): Ditto.
1188 (x_event): Ditto.
1189 (gdbtk_wait): Ditto.
1190 (gdbtk_call_command): Ditto.
1191 (tk_command_loop): Ditto.
1192 (gdbtk_init): Ditto.
cb74cc24 1193end-sanitize-gdbtk
b607efe7
FF
1194 * breakpoint.h (set_breakpoint_sal): Ditto.
1195 * remote-utils.c (usage): Ditto.
1196 * remote.c (set_thread): Ditto.
1197 (remote_thread_alive): Ditto.
1198 (get_offsets): Ditto.
1199 (read_frame): Ditto.
1200 (remote_insert_breakpoint): Ditto.
1201 (remote_remove_breakpoint): Ditto.
1202 * sparc-nat.c (fetch_core_registers): Ditto.
1203 * corelow.c (add_to_thread_list): Ditto.
1204 (ignore): Ditto.
1205 * inftarg.c (proc_wait): Ditto.
1206 * infptrace.c (udot_info): Ditto.
1207 (fetch_register): Ditto.
1208 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
1209 (hardwire_print_tty_state): Ditto.
1210 (hardwire_flush_output): Ditto.
1211 (hardwire_flush_input): Ditto.
1212 (hardwire_send_break): Ditto.
1213 (hardwire_setstopbits): Ditto.
1214 * ser-tcp.c (tcp_return_0): Ditto.
1215 (tcp_noflush_set_tty_state): Ditto.
1216 (tcp_print_tty_state): Ditto.
1217 * solib.c (match_main): Ditto.
1218 * gdbtypes.c (print_bit_vector): Ditto.
1219 (print_arg_types): Ditto.
1220 (dump_fn_fieldlists): Ditto.
1221 (print_cplus_stuff): Ditto.
1222 * symfile.h (entry_point_address): Ditto.
1223 * symfile.c (decrement_reading_symtab): Ditto.
1224 * valops.c (value_arg_coerce): Ditto.
1225 * value.h (find_function_in_inferior): Ditto.
1226 (value_allocate_space_in_inferior): Ditto.
1227 * values.c (vb_match): Ditto.
1228 * thread.c (info_thread_command): Ditto.
1229 (restore_current_thread): Ditto.
1230 (thread_apply_all_command): Ditto.
1231 (thread_apply_command): Ditto.
1232 * inferior.h (write_pc_pid): Ditto.
1233 * infrun.c (delete_breakpoint_current_contents): Ditto.
1234 * breakpoint.c (print_it_normal): Ditto.
1235 (watchpoint_check): Ditto.
1236 (print_it_done): Ditto.
1237 (print_it_noop): Ditto.
1238 (maintenance_info_breakpoints): Ditto.
1239 (create_longjmp_breakpoint): Ditto.
1240 (hbreak_command): Ditto.
1241 (thbreak_command): Ditto.
1242 (watch_commnd_1): Ditto.
1243 (rwatch_command): Ditto.
1244 (awatch_command): Ditto.
1245 (do_enable_breakpoint): Ditto.
1246 * ch-valprint.c (chill_val_print_array_elements): Ditto.
1247 * eval.c (evaluate_subexp): Ditto.
1248 (get_label): Ditto.
1249 (evaluate_struct_tuple): Ditto.
1250 * eval.c (init_array_element): Ditto.
1251
1252 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
1253 * breakpoint.c (hw_breakpoint_used_count): Ditto.
1254 (hw_watchpoint_used_count): Ditto.
1255 * findvar.c (write_register_gen): Ditto.
1256 (read_register_pid): Ditto.
1257 * symtab.c (cplusplus_hint): Ditto.
1258 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
1259 * ch-valprint.c (chill_print_type_scalar): Ditto.
1260 * gdbtypes.c (add_name): Ditto.
1261 (add_mangled_type): Ditto.
1262 (cfront_mangle_name): Ditto.
1263 * sparc-tdep.c (isbranch): Ditto.
1264 * inftarg.c (child_stop): Ditto.
1265 * win32-nat.c (child_stop): Ditto.
1266 * mac-nat.c (child_stop): Ditto.
1267 * remote-utils.c (sr_com): Ditto.
1268 * dbxread.c (process_now): Ditto.
1269 * ch-exp.c (require): Ditto.
1270 (check_token): Ditto.
1271 (expect): Ditto.
1272 (parse_mode_call): Ditto.
1273 (parse_mode_or_normal_call): Ditto.
1274 * scm-lang.c (scm_lookup_name): Ditto
1275 * f-lang.c (allocate_saved_bf_node): Ditto.
1276 (allocate_saved_function_node): Ditto.
1277 (allocate_saved_f77_common_node): Ditto.
1278 (allocate_common_entry_node): Ditto.
1279 (add_common_block): Ditto.
1280 (add_common_entry): Ditto.
1281 (find_first_common_named): Ditto.
1282 (patch_common_entries): Ditto.
1283 (patch_all_commons_by_name): Ditto.
1284 (clear_bf_list): Ditto.
1285 (get_bf_for_fcn): Ditto.
1286 (clear_function_list): Ditto.
1287 * scm-exp.c (scm_istr2int): Ditto.
1288 (scm_istring2number): Ditto.
1289 * scm-valprint.c (scm_inferior_print): Ditto.
1290 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
1291 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
1292 (f77_create_arrayprint_offset_tbl): Ditto.
1293 (f77_print_array_1): Ditto.
1294 (f77_print_array): Ditto.
1295 (list_all_visible_commons): Ditto.
1296 (there_is_a_visible_common_named): Ditto.
1297 * mdebugread.c (ecoff_relocate_efi): Ditto.
1298 * callback.c (os_close): Ditto.
1299 (os_get_errno): Ditto.
1300 (os_isatty): Ditto.
1301 (os_lseek): Ditto.
1302 (os_open): Ditto.
1303 (os_read): Ditto.
1304 (os_read_stdin): Ditto.
1305 (os_write): Ditto.
1306 (os_write_stdout): Ditto.
1307 (os_rename): Ditto.
1308 (os_system): Ditto.
1309 (os_time): Ditto.
1310 (os_unlink): Ditto.
1311 (os_shutdown): Ditto.
1312 (os_init): Ditto.
1313 (os_printf_filtered): Ditto.
1314
1315 * scm-lang.h (scm_parse): Change old style decl to prototype.
1316 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
1317 * top.c (init_proc): Ditto.
1318 (query_hook): Ditto.
1319 (error_hook): Ditto.
1320 * f-lang.c (c_value_print): Ditto.
1321 * ch-exp.c (parse_expression): Ditto.
1322 (parse_primval): Ditto.
1323 (parse_untyped_expr): Ditto.
1324 (parse_opt_untyped_expr): Ditto.
1325 (ch_lex): Ditto.
1326 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
1327 (sparc_frame_saved_pc): Ditto.
1328 (sparc_push_dummy_frame): Ditto.
1329 (sparc_pop_frame): Ditto.
1330 * defs.h (fclose): Ditto.
1331 (atof): Ditto.
1332 (error_hook): Ditto.
1333
1334 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
1335 * rs6000-tdep.c (single_step): Ditto.
1336 * sparc-tdep.c (single_step): Ditto.
1337
1338 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
1339 to PTR which is what make_cleanup expects.
1340 * utils.c (null_cleanup): Change arg type to PTR.
1341 * defs.h (null_cleanup): Change prototype to match actual function.
1342 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
1343 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1344 chill_print_type_scalar to LONGEST.
1345 * infrun.c (wait_for_inferior): Have empty switch case for
1346 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
1347 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
1348 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
1349 is defined.
1350 * symfile.c (generic_load): Scan long int using a long int spec,
1351 not an int spec.
1352 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
1353 is defined.
1354 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
1355 not defined.
1356 * inflow.c (handle_sigio): Only need prototype when the actual
1357 function is compiled in.
1358 * valprint.c (longest_to_int): Expand error message to be
1359 separate messages for args larger than largest signed int
1360 and args smaller than smallest signed int.
1361 * valprint.c (print_longest): Fix problems with support for case
1362 where compiler supports type "long long" but the runtime doesn't
1363 support printing them with "%ll".
1364 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
1365 return types to void since we don't actually return anything
1366 meaningful and callees ignore the values anyway.
1367 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
1368 ifdef.
1369 (modify_run_on_last_close_flag): Ditto.
1370 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
1371 ifdef
1372 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
1373 random value.
1374 * infrun.c (wait_for_inferior): Ensure random_signal is not used
1375 uninitialized.
1376 * valops.c (call_function_by_hand): Ensure struct_addr is not used
1377 uninitialized.
1378 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
1379 uninitialized.
1380 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
1381 to "const char *".
cb74cc24 1382start-sanitize-gdbtk
b607efe7
FF
1383 * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
1384 to proper pointer type, from int.
1385 (gdbtk_query): Change first arg to "const char *" from "char *".
cb74cc24 1386end-sanitize-gdbtk
b607efe7
FF
1387 * infptrace.c (udot_info): Add two dummy args so that the type is
1388 correct for passing to add_info.
1389 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
1390 in prototypes.
1391 (saved_bf_symnum): Ditto.
1392 (SAVED_FUNCTION): Ditto.
1393 (SAVED_FUNCTION_PTR): Ditto.
1394 (SAVED_BF): Ditto.
1395 (SAVED_BF_PTR): Ditto.
1396 * ch-exp.c (parse_named_record_element): Build error message in
1397 temporary buffer before passing it to expect, rather than passing
1398 wrong number of args to expect.
1399 * demangle.c (set_demangling_style): Call set_demangling_command with
1400 correct number of arguments.
1401 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
1402 int to match actual function.
1403 (os_isatty): Call fdmap with right number of arguments, was missing
1404 the host_callback* arg.
1405 * target.c (cleanup_target): Prototype all functions casts.
1406 * target.h (one_stepped, single_step): Declare here and convert
1407 single_step to prototype.
1408 * infrun.c (one_stepped, single_step): Don't declare externs
1409 here, they have moved to target.h.
1410 * eval.c (init_array_element): Declare previously undeclared
1411 last two args as LONGEST.
1412 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
cb74cc24
SS
1413start-sanitize-gdbtk
1414 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
1415end-sanitize-gdbtk
b607efe7 1416
dc88c64e
DE
1417Thu Jul 25 16:11:54 1996 Doug Evans <[email protected]>
1418
1419 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
1420
3a179be1
SG
1421Mon Jul 22 18:13:27 1996 Stu Grossman ([email protected])
1422
1423 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
1424 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
1425 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
1426 text address. Use a seperate flag (textlow_not_set) instead.
1427 This makes stabs in ELF .o files work a lot better.
1428 * mdebugread.c xcoffread.c: Define textlow_not_set for
1429 partial-stab.h.
1430 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1431
cb74cc24 1432start-sanitize-gdbtk
396bf873
FF
1433Sat Jul 20 17:46:40 1996 Fred Fish <[email protected]>
1434
1435 * gdbtk.tcl (files_command): Reorder the binding tags for
1436 the listbox widget to avoid referencing the listbox after
1437 the containing widget has been destroyed by the action of
1438 a previous binding.
cb74cc24 1439end-sanitize-gdbtk
396bf873 1440
9422fadb
FF
1441Sat Jul 20 10:41:06 1996 Fred Fish <[email protected]>
1442
1443 * dwarf2read.c (struct filenames): Change internal "struct file"
1444 to "struct fileinfo" to avoid conflict with "struct file" in
1445 <sys/file.h> on HPUX and Solaris.
1446
cb74cc24 1447start-sanitize-gdbtk
efd14e45
FF
1448Sat Jul 20 10:09:28 1996 Fred Fish <[email protected]>
1449
1450 * gdbtk.tcl (delete_expr): Unset corresponding element of
1451 expr_update_list when destroying an expression.
1452 (create_expr_window): Initialize expr_num, delete_expr_num,
1453 and expr_update_list here when each new expression window
1454 is created, rather than once at startup.
cb74cc24 1455end-sanitize-gdbtk
efd14e45 1456
fcf05549
SS
1457Fri Jul 19 14:05:57 1996 Stan Shebs <[email protected]>
1458
1459 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
1460 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
1461 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
1462 (SFILES): Add dwarf2read.c.
1463 (dwarf2read.o): Add build rule.
1464 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
1465 exported functions.
1466 * elfread.c (elf_symfile_read): Call them.
1467 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1468
3f17fed8
GN
1469Thu Jul 18 01:22:01 1996 Geoffrey Noer <[email protected]>
1470
1471 * symfile.c (symfile_bfd_open):
1472 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
1473 free the user from having to type the .exe extension.
1474
2531b169
MA
1475Wed Jul 17 06:54:50 1996 Mark Alexander <[email protected]>
1476
1477 * mon960-rom.c: Shorten the mon960_inits string to a single
1478 carriage return; this prevents a hang on connecting immediately
1479 after powerup, when MON960 is attempting autobaud detection.
1480
48b497ed
MA
1481Tue Jul 16 23:47:04 1996 Mark Alexander <[email protected]>
1482
1483 * a29k-tdep.c (get_saved_register): Allow PC to be modified
1484 when innermost frame is selected, but not in outer frames.
1485
76420d46
SG
1486Tue Jul 16 23:37:25 1996 Stu Grossman ([email protected])
1487
1488 * command.c (do_setshow_command): Don't segfault when showing
1489 var_string and var_string_noescape vars that are NULL.
1490
2dcfc9c7
DE
1491Mon Jul 15 16:55:48 1996 Doug Evans <[email protected]>
1492
1493 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
1494 cygwin32_conv_to_posix_path.
1495 (child_create_inferior): unix_path_to_dos_path renamed to
1496 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1497
91550191
SG
1498Mon Jul 15 16:44:05 1996 Stu Grossman ([email protected])
1499
1500 * defs.h printcmd.c: Create global disassemble_info structure
1501 tm_print_insn_info.
cb74cc24 1502start-sanitize-gdbtk
91550191
SG
1503 * gdbtk.c (gdb_disassemble): Setup di.mach from
1504 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
cb74cc24 1505end-sanitize-gdbtk
91550191
SG
1506 * i386-tdep.c (set_assembly_language_command): set
1507 tm_print_insn_info.mach to the appropriate value for 386 or 8086
1508 disassembly.
1509 * printcmd.c (print_insn): Move init of disassembler_info to
1510 _initialize_printcmd. Set endian for disassembler here.
1511 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
1512 select sparc/sparclite.
1513 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
1514 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
1515 bfd_mach_sparc/bfd_mach_sparc_sparclite.
1516
d369b213
FF
1517Fri Jul 12 19:04:32 1996 Fred Fish <[email protected]>
1518
1519 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
1520 than xmalloc/xrealloc.
1521
26b3dc44 1522Fri Jul 12 17:59:47 1996 Fred Fish <[email protected]>
c0e6ae2e
FF
1523
1524 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
1525 a NULL pointer, not a -1.
1526
f33b2c13
SG
1527Fri Jul 12 10:16:24 1996 Stu Grossman ([email protected])
1528
1529 * i386-tdep.c (set_assembly_language_command): New routine to
1530 select between i386 and i8086 instruction sets for disassembly.
1531 New command `set assembly-language {i386 i8086}'.
1532
f3138a7c
MA
1533Thu Jul 11 21:13:21 1996 Mark Alexander <[email protected]>
1534
1535 * monitor.c (monitor_write_memory, monitor_read_memory_single):
1536 Disable use of "long long" memory read/write commands; can't
1537 use them because we hold the values to read/write in an int
1538 variable, and because strtoul fails on values that exceed the
1539 size of a long. This fixes breakpoint problems on MON960.
1540
4853b6d1
FF
1541Thu Jul 11 11:39:31 1996 Fred Fish <[email protected]>
1542
1543 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
1544 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1545
54109914
FF
1546Wed Jul 10 16:54:41 1996 Fred Fish <[email protected]>
1547
1548 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
1549 and MMALLOC_CHECK macros, and add comment indicating how host dependent
1550 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
1551 to use it but to not do heap corruption checking.
1552 * gdbserver/Makefile.in: Ditto.
1553 * utils.c (init_malloc): Replace warning() use with direct call of
1554 fprintf_unfiltered, since current_target has not yet been set and thus
1555 we cannot use warning(). If we try to use mmcheck and it fails,
1556 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1557 defined. Other small mmalloc related cleanups.
1558 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1559 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1560
1561 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1562 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1563 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1564 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1565 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1566 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1567 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1568 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1569 Remove obsolete defines.
1570
1571 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1572 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1573 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1574 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1575 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1576 * config/powerpc/aix.mh (MMALLOC_DISABLE):
1577 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1578 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1579 * config/mips/decstation.mh (MMALLOC_DISABLE):
1580 * config/m88k/cxux.mh (MMALLOC_DISABLE):
1581 * config/i386/i386mk.mh (MMALLOC_DISABLE):
1582 * config/i386/i386m3.mh (MMALLOC_DISABLE):
1583 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1584 Use MMALLOC_CFLAGS instead.
1585
4679717d
JL
1586Tue Jul 9 22:41:12 1996 Jeffrey A Law ([email protected])
1587
1588 * h8300-tdep.c: Remove some outdated comments.
1589 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1590 Handle stm.l insns for the H8/S.
1591 (examine_prologue): Likewise.
1592
15aec61c
RJ
1593Tue Jul 9 16:48:55 1996 Raymond Jou <[email protected]>
1594
1595 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
1596
ee7b308f
MA
1597Mon Jul 08 08:50:39 1996 Mark Alexander <[email protected]>
1598
1599 * mon960-rom.c (mon960_open): Add floating point detection to
1600 prevent hang on non-FPU processors (PR 9775).
1601 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
1602 setting breakpoints and improve loading speed.
1603
ace4b8d7
FF
1604Sun Jul 7 14:57:34 1996 Fred Fish <[email protected]>
1605
1606 * coffread.c (record_minimal_symbol): Don't presave name string
1607 on symbol_obstack before passing to prim_record_minimal_symbol.
1608 It now handles saving the string itself.
1609 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
1610 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
1611 * os9kread.c (record_minimal_symbol): Ditto.
1612 * solib.c (solib_add_common_symbols): Ditto.
1613
1614 * coffread.c (coff_symtab_read): Don't presave name string on
1615 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
1616 It now handles saving the string itself.
1617 * dbxread.c (record_minimal_symbol): Ditto.
1618 * elfread.c (record_minimal_symbol_and_info): Ditto.
1619
1620 * dstread.c (record_minimal_symbol): Remove static function that just
1621 called prim_record_minimal_symbol with the same args (after change to
1622 prim_record_minimal_symbol to do it's own name string saves).
1623 * nlmread.c (record_minimal_symbol): Ditto.
1624 * somread.c (record_minimal_symbol): Ditto.
1625
1626 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
1627 (hpread_read_function_type): Ditto.
1628 (hpread_process_one_debug_symbol): Ditto.
1629 * mdebugread.c (parse_symbol): Ditto.
1630 (new_symbol): Ditto.
1631 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
1632
1633 * coffread.c (process_coff_symbol): Use obsavestring to save
1634 SYMBOL_NAME, rather than obstack_copy0.
1635 * dstread.c (create_new_symbol): Ditto
1636 * symfile.c (obconcat): Ditto.
1637 * stabsread.c (patch_block_stabs): Ditto.
1638 * xcoffread.c (SYMNAME_ALLOC): Ditto.
1639
1640 * symfile.c (obsavestring): Update comments
1641 * solib.c (solib_add_common_symbols): Remove local var origname.
1642
89e673a4
SG
1643Wed Jul 3 15:56:08 1996 Stu Grossman ([email protected])
1644
bc859e63
SG
1645 * configure: Re-build with autoconf-2.10.
1646
89e673a4
SG
1647 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
1648 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
1649 TM_PRINT_INSN, which comes from the tm file.
1650
e74acce4
MA
1651Tue Jul 02 21:41:20 1996 Mark Alexander <[email protected]>
1652
1653 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
1654 os9kread.c: Replace identical sym_offsets functions with
1655 default_symfile_offsets.
1656 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
1657 macro to allocate section_offsets.
1658 * symfile.c (default_symfile_offsets): New function.
1659 * symfile.h: Declare default_symfile_offsets.
1660 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
1661 simplify allocation of section_offsets.
1662
89e673a4
SG
1663Tue Jun 11 12:02:55 1996 Stu Grossman ([email protected])
1664
1665 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
1666 * configure configure.in: Only make sol-thread.o for native.
1667 Also, switch to dlopened libthread_db.so.1.
1668 * sol-thread.c: Switch to using dlopen to get the thread_db
1669 library.
1670
1671Thu Jun 13 16:53:25 1996 Stu Grossman ([email protected])
1672
1673 * configure, configure.in: Change test for libthread_db to only
1674 work for configs where build/host/target are the same.
1675
eafdda3d
MM
1676Tue Jul 2 15:04:20 1996 Michael Meissner <[email protected]>
1677
1678 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
1679 PowerPC.
1680
1681 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
1682 support.
1683 * configure: Regenerate.
1684
6687c953
SS
1685Mon Jul 1 13:00:43 1996 Stan Shebs <[email protected]>
1686
1687 From Raymond Jou <[email protected]>:
1688 * mpw-make.sed: Add lines to whack out autoconf hook
1689 @CONFIG_LDFLAGS@.
1690
97fd185a 1691Mon Jul 01 11:07:15 1996 Mark Alexander <[email protected]>
012be3ce 1692
97fd185a 1693 * remote-e7000.c (e7000_stop): New function.
012be3ce
DP
1694
1695Fri Jun 28 06:34:19 1996 Dawn Perchik <[email protected]>
1696
6687c953
SS
1697 * configure, configure.in: Add target sparclet.
1698 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
1699 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
1700 command to start process running on target is different from one
1701 to continue execution), MO_HEX_PREFIX (if addresses from monitor
1702 have a "0x" prefix).
1703 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
1704 registers array. This is to allow NULLs to be place holders in
1705 the tm-*.h file so that only minor changes are needed when a new
1706 processor is introduced (eg, one without floating point).
1707 * sparc-tdep.c: Conditionally remove dependancies on floating
1708 point.
1709 * sparclet-rom.c, config/sparc/sparclet.mt,
1710 config/sparc/tm-sparclet.h: New files for target sparclet.
1711 * symfile.c (load_command): Add option for 2nd parameter; a load
1712 offset added to the vma of each section.
012be3ce 1713
265c044a
DP
1714Fri Jun 28 05:39:19 1996 Dawn Perchik <[email protected]>
1715
1716 * main.c (main): Add option "l" for setting remote_timeout.
1717
cb1709ae
DP
1718Fri Jun 28 05:25:18 1996 Dawn Perchik <[email protected]>
1719
6687c953
SS
1720 * remote-e7000.c, remote.c, target.h, top.c: Add set option
1721 "remote_timeout" for setting remote_timeout. Add set option
1722 "use_hard_breakpoints" for setting hardware .vs. memory
1723 breakpoints.
cb1709ae 1724
56a4bf53
DP
1725Fri Jun 28 04:32:18 1996 Dawn Perchik <[email protected]>
1726
1727 * remote-e7000.c (e7000_parse_device): New function.
1728 Add option "tcp_remote" to target command if using
1729 tcp to connect to a remote host which is then connected
1730 via serial port to the e7000 (for exampole, a port master).
1731 (e7000_open): Change to call e7000_parse_device.
1732
f7ce02f4
DP
1733Fri Jun 28 03:47:17 1996 Dawn Perchik <[email protected]>
1734
1735 * monitor.c (monitor_debug): Fix remotedebug buffering.
1736
99afd188
SS
1737Thu Jun 27 18:24:17 1996 Stan Shebs <[email protected]>
1738
1739 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
1740 (NATDEPFILES): Add a space.
1741
81508b27
WM
1742Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <[email protected]>
1743
1744 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
1745 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
1746
1747 * ch-exp.c (calculate_array_length): Function removed.
1748
ebea0366
MH
1749Tue Jun 25 17:41:06 1996 Martin M. Hunt <[email protected]>
1750
1751 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
1752 (e7000_xfer_inferior_memory): Call it.
1753
a69b7bdc
JM
1754Tue Jun 25 23:14:07 1996 Jason Molenda ([email protected])
1755
1756 * gdb/gdbserver/Makefile.in (docdir): Removed.
1757
5d8b7982
JM
1758Tue Jun 25 22:05:38 1996 Jason Molenda ([email protected])
1759
1760 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1761 Use autoconf set values.
1762 (docdir): Removed.
1763 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1764 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
1765 includedir): Use autoconf set values.
1766 (docdir): Removed.
1767 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
1768 * nlm/configure: Rebuilt.
1769 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
1770
1771Mon Jun 24 09:56:14 1996 Angela Marie Thomas ([email protected])
1772
1773 * stabsread.c (read_cfront_member_functions): add type
1774
1775Sun Jun 23 23:40:48 1996 Doug Evans <[email protected]>
1776
1777 * win32-nat.c: #include <unistd.h>.
1778 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
1779 (child_create_inferior): Convert only env var PATH to win32 style.
1780 (set_pathstyle_dos): Delete.
1781 (_initialize_inftarg): Delete dos-path-style command.
1782
3d9f68c0 1783start-sanitize-gdbtk
ab5c0a12
FF
1784Fri Jun 21 11:04:47 1996 Fred Fish <[email protected]>
1785
1786 * gdbtk.tcl (create_register_windows): Include missing '$'s.
1787 Add global declarations for various reg_format_* variables.
4149b5f4
FF
1788 * gdbtk.tcl (populate_register_window): Make initial window one
1789 line taller to account for new column header line.
ab5c0a12
FF
1790
1791Fri Jun 21 09:46:47 1996 Fred Fish <[email protected]>
3d9f68c0
FF
1792
1793 * gdbtk.c (get_register): Support for printing raw formats.
1794 * gdbtk.tcl: Add hint for using debug_interface.
1795 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
1796 Enclose arg in braces for consistency.
1797 (create_registers_window, populate_reg_window, update_registers):
ab5c0a12
FF
1798 Major rewrite to support displaying multiple formats in the register
1799 window.
3d9f68c0
FF
1800 (init_reg_info): New function.
1801 (recompute_reg_display_list): Reset reg_display_list, start
1802 register display lines at line 2.
1803
1804end-sanitize-gdbtk
1a7b4b7c
DE
1805Thu Jun 20 13:42:23 1996 Doug Evans <[email protected]>
1806
1807 * configure.in: Revise sol-thread.o test.
1808 * configure: Regenerated.
1809
1810 * source.c (find_source_lines): Reassign size to result of read.
1811
b613bfbf 1812start-sanitize-gdbtk
3f8eefba
FF
1813Thu Jun 20 08:18:59 1996 Fred Fish <[email protected]>
1814
1815 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
1816 avoid backing up over prompt. At every input, make sure insert
1817 point is at least after command start, handle control-u to delete
1818 current input line.
1819 (tclsh): Handle backspace to avoid backing up over prompt. Handle
1820 control-u to delete current input line.
1821
b613bfbf
GN
1822Wed Jun 19 17:23:38 1996 Geoffrey Noer <[email protected]>
1823
1824 * configure.in: disable gdbtk for *cygwin32* hosted compiles
1825 * configure: regenerated with autoconf 2.8
1826
1827end-sanitize-gdbtk
b613bfbf
GN
1828Tue Jun 18 16:25:54 1996 Jeffrey A. Law <[email protected]>
1829
1830 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
1831 (h8300_command): Likewise.
1832 (set_machine): Likewise.
1833 (set_machine_hook): Likewise.
1834 (_initialize_h8300m): Likewise.
1835
1836 * config/h8300/tm-h8300.h (h8300smode): Declare.
1837
5499f9a1
JL
1838Sun Jun 16 15:21:51 1996 Jeffrey A. Law <[email protected]>
1839
1840 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
1841 of shl_load calls for hpux10.
1842
1843Thu Jun 13 11:16:10 1996 Tom Tromey <[email protected]>
1844
1845 * config.in: Regenerated.
1846 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
1847
1848 * configure: Regenerated.
1849 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1850 avoid name clashes with SunOS headers.
1851
9d111656
FF
1852Tue Jun 11 19:52:50 1996 Fred Fish <[email protected]>
1853
1854 From Michael Snyder <[email protected]>:
1855 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
1856 exception if one or more objfile has no symbols, such as when
1857 a dynamic library has been stripped.
1858
1859Tue Jun 11 12:02:55 1996 Stu Grossman ([email protected])
1860
1861 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
1862 * configure configure.in: Only make sol-thread.o for native.
1863 Also, switch to dlopened libthread_db.so.1.
1864 * sol-thread.c: Switch to using dlopen to get the thread_db
1865 library.
1866
f023ce5c
FF
1867Mon Jun 10 14:17:19 1996 Fred Fish <[email protected]>
1868
1869 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
1870 Change from 0xE0000000 to 0xC0000000.
1871
1872Thu Jun 6 17:10:32 1996 Michael Meissner <[email protected]>
1873
1874 * config/powerpc/xm-solaris.h: Initial version of support for
1875 Solaris on PowerPC.
1876
911026aa
JSC
1877Wed Jun 5 01:52:57 1996 James G. Smith <[email protected]>
1878
1879 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
1880 target.
1881 * configure: Rebuild.
1882
1883 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
1884 little-endian builds.
1885
093c1a2f
JL
1886Mon Jun 3 11:48:29 1996 Jeffrey A Law ([email protected])
1887
f4c952e4
JL
1888 * inftarg.c (child_thread_alive): Protect declaration with
1889 #ifndef CHILD_THREAD_ALIVE.
1890
093c1a2f
JL
1891 * source.c (find_source_lines): Check the time on the symtab's bfd if
1892 it exists, else check the time on the exec_bfd.
1893
f6decc18
MA
1894Thu May 30 09:43:17 1996 Mark Alexander <[email protected]>
1895
1896 * dsrec.c (make_srec): Fix calculation of address size
1897 to allow addresses less than 0x100.
1898
3db21ca5
WM
1899Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <[email protected]>
1900
1901 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
1902
3308a107
GN
1903Tue May 28 16:15:47 1996 Geoffrey Noer <[email protected]>
1904
1905 * remote-mips.c: cannot use EINVAL for breakpoint test since
1906 its value varies for different hosts (e.g. go32's is 19, while
1907 sunos is 22). Changed to hardcoded 22 since that is what the
1908 mips boards return.
1909
e44d1491
TT
1910Tue May 28 11:14:58 1996 Tom Tromey <[email protected]>
1911
1912 * configure: Regenerated.
1913 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
1914 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
1915
76420d46
SG
1916Sun May 26 16:56:35 1996 Miles Bader <[email protected]>
1917
1918 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
1919 (_initialize_solib): Add set/show commands for those variables.
1920 (solib_map_sections): Implement searching using them.
1921
9391c997
FF
1922Sun May 26 14:14:49 1996 Fred Fish <[email protected]>
1923
1924 Changes from: David Mosberger-Tang <[email protected]>
1925
1926 * NEWS: Add Alpha Linux as a new native configuration.
1927
1928 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
1929 return type VOID, assume no debugging info is available for that
1930 object file and patch the return value into VOID *. Otherwise,
1931 operations requiring an implicit call to malloc() will fail.
1932
1933 * infrun.c (wait_for_inferior): The criterion to detect entering a
1934 sigtramp handler is now: (a) the current pc is inside a sigtramp
1935 handler, (b) the previous pc is not in a sigtramp handler, and (c)
1936 the current stack pointer is "inner" than the old one. Condition
1937 (c) is new to avoid mistaking a return from a signal handler into
1938 sigtramp as a new sigtramp invocation.
1939
1940 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
1941 int may not be big enough to hold an address.
1942 (dcache_hit): Ditto.
1943 (dcache_peek_byte): Fix indentation.
1944
1945 * configure.in (alpha-*-linux*): Add target.
1946 * configure: Rebuild
1947
1948 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
1949 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
1950 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
1951 (SIGCONTEXT_ADDR): Ditto.
1952 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
1953
1954 * config/alpha/alpha-linux.mh: New file.
1955 * config/alpha/alpha-linux.mt: Ditto.
1956 * config/alpha/nm-linux.h: Ditto.
1957 * config/alpha/tm-alphalinux.h: Ditto.
1958 * config/alpha/xm-alphalinux.h: Ditto.
1959 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
1960 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
1961 xm-alphaosf.h.
1962 * config/alpha/alpha-osf2.mh: Ditto.
1963
1964 * blockframe.c (find_pc_partial_function): Pass PC to
1965 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
1966 that detect sigtramp code via designated code sequences (as is the
1967 case for Linux/Alpha, for example).
1968
1969 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
1970 to ignore new PC argument.
1971 * config/m68k/tm-hp300bsd.h: Ditto.
1972 * config/vax/tm-vax.h: Ditto.
1973
1974 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
1975 (alpha_osf_skip_sigtramp_frame): Ditto.
1976 (push_sigtramp_desc): Ditto.
1977 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
1978 sigcontext address from frame.
1979 (alpha_saved_pc_after_call): When in sigtramp, use
1980 alpha_frame_saved_pc() instead of read-register().
1981 (after_prologue): When inside a dynamically generated sigtramp
1982 function, there is no prologue, so return address of first
1983 instruction.
1984 (alpha_in_prologue): Fix typo in comment.
1985 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
1986 whether we're inside a dynamicaly generated sigtramp function. If
1987 so, create and push and appropriate procedure descriptor.
1988 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
1989 the frame past a sigtramp frame (if the current frame is indeed a
1990 sigtramp function).
1991 (init_extra_frame_info): Don't read next frame register off of
1992 stack-pointer when inside a dynamiccaly generated sigtramp.
1993 (alpha_pop_frame): Also unlink and destroy procedure descriptors
1994 created for dynamically generated sigtramp functions.
1995
1996 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
1997 <alpha/ptrace.h> instead of <machine/reg.h>
1998
647e52ea
SG
1999Tue Jul 2 13:58:10 1996 Miles Bader <[email protected]>
2000
2001 * gnu-nat.c (inf_validate_task_sc):
2002 Give terminal to gdb while asking question.
2003 (inf_resume): Don't validate the task suspend-count while execing.
2004
2005Thu Jun 13 11:04:52 1996 Miles Bader <[email protected]>
2006
2007 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
2008 additional suspend count.
2009 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
2010 (inf_resume): Call inf_validate_task_sc here.
2011 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
2012
2013Fri Jun 7 17:00:43 1996 Miles Bader <[email protected]>
2014
2015 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
2016
52f74d48
JL
2017Thu May 23 15:13:56 1996 Jeffrey A Law ([email protected])
2018
31778db0
JL
2019 * h8300-tdep.c (IS_PUSH): Refine.
2020 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
2021 (IS_SUB4_SP, IS_SUBL_SP): New macros.
2022 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
2023 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
2024 when in H8/300H mode. Get the return pointer's address correctly
2025 for the H8/300H. Handle H8/300H prolouge code sequences.
2026
52f74d48
JL
2027 * symfile.c (generic_load): Print the starting address
2028 of the file just loaded.
2029
e7600d8e
SS
2030Thu May 23 12:09:52 1996 Stan Shebs <[email protected]>
2031
2032 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
2033
2034Tue May 21 11:53:56 1996 Peter Schauer ([email protected])
2035
2036 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
2037 if a `source' command is contained in bs->commands.
2038
2039 * infrun.c (wait_for_inferior): Update step_frame_address when
2040 stepping into a new line.
2041
2042 From [email protected] (Andreas Schwab):
2043 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
2044 bpenables array.
2045
c92f31c6
MA
2046Mon May 20 22:52:00 1996 Mark Alexander <[email protected]>
2047
2048 * dsrec.c (load_srec): Add WAITACK parameter, for machines
2049 like EST visionICE that send back an ACK after each S-record.
2050 * monitor.c (monitor_wait_srec_ack): New function.
2051 (monitor_load): Pass monitor_wait_srec_ack to load_srec
2052 if the monitor's MO_SREC_ACK flag is set.
2053 * monitor.h: Define MO_SREC_ACK flag.
2054 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
2055 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
2056 * srec.h: Add WAITACK parameter to load_srec prototype.
2057
6a4bfd83
RS
2058Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
2059
2060 * config/sparc/sparclite.mt: Add the sparc simulator.
2061
41756e56
FF
2062Sun May 19 16:49:37 1996 Fred Fish <[email protected]>
2063
2064 * defs.h (read_command_lines, query_hook): Update prototypes.
2065 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
2066 * breakpoint.c (commands_command): Build message in temporary buffer
2067 and pass that, as well as tty control flag, to read_command_lines.
2068 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
2069 Define here.
2070 (command_loop): Check for non-NULL instream before looping.
2071 (command_line_input): Use readline_hook when appropriate, to get
2072 user input from a GUI window.
2073 (read_next_line): Also build prompt if getting user input from a GUI.
2074 (recurse_read_control_structure): Fix typo in comment.
2075 (read_command_lines): Use passed in prompt and tty flag to decide how
2076 to build message. Use readline_begin_hook when appropriate, to set
2077 up a GUI interaction window. Just return head, whether NULL or not,
2078 after using readline_end_hook to complete GUI interaction.
2079 (define_command, document_command): Build message in a temporary
2080 buffer and pass it to read_command_lines, along with tty flag.
2081
2082start-sanitize-gdbtk
2083 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
2084 New functions.
2085 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
2086 (gdbtk_init): Set readline_begin_hook, readline_hook,
2087 and readline_end_hook.
2088 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
2089 gdbtk_tcl_readline_end): New functions.
2090 (tclsh): Pack scroll bar on right side of window, not left.
2091end-sanitize-gdbtk
2092
f0c56658
PS
2093Sat May 18 02:43:58 1996 Peter Schauer ([email protected])
2094
2095 * blockframe.c (frameless_look_for_prologue):
2096 Add FUNCTION_START_OFFSET only if func_start is non-zero.
2097 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
2098 pc is not in a known section.
2099 * stack.c (print_frame_info): Remove check for fi->pc in known
2100 section, now handled by lookup_minimal_symbol_by_pc.
2101
81ae689a
FF
2102start-sanitize-gdbtk
2103Fri May 17 13:54:34 1996 Fred Fish <[email protected]>
2104
2105 * gdbtk.tcl (create_command_window): Change a misspelled "get"
2106 to the intended "cget".
2107 (delete_line): Fix so it deletes the current line at the
2108 insertion cursor.
2109end-sanitize-gdbtk
2110
6a4547c0
SS
2111Fri May 17 13:31:04 1996 Stan Shebs <[email protected]>
2112
2113 * sh-stub.c: New file, was config/sh/stub.c.
2114
b8f3d4c6 2115start-sanitize-gdbtk
26b3dc44 2116Thu May 16 19:20:29 1996 Fred Fish <[email protected]>
5bac2b50
FF
2117
2118 * gdbtk.tcl (gdb_prompt): Set this early on.
2119 (create_command_window): Use gdb_prompt rather than "(gdb) ".
2120 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
2121 (tclsh): If an evaluation window already exists, just bring it
2122 to the front instead of trying to create another.
2123 * gdbtk.c (tk_command_loop): New function.
2124 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
2125
954a4a2a
FF
2126Thu May 16 16:16:35 1996 Fred Fish <[email protected]>
2127
2128 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
2129 implement a tcl evaluation window for gdbtk maintainers to use.
2130
76e641bd
TT
2131Thu May 16 11:42:58 1996 Tom Tromey <[email protected]>
2132
f4e769dc
TT
2133 * gdbtk.tcl (files_command): Correctly insert list of files into
2134 listbox widget.
2135
76e641bd
TT
2136 * gdbtk.tcl (files_command): listbox command no longer accepts
2137 -geometry.
2138
b8f3d4c6
SS
2139Wed May 15 16:04:09 1996 Stan Shebs <[email protected]>
2140
2141 * gdbtk.tcl (create_command_window): If command window's buffer
2142 is disabled, don't execute any of the key bindings.
2143end-sanitize-gdbtk
2144
6bafbdfb
JL
2145Wed May 15 08:25:12 1996 Jeffrey A Law ([email protected])
2146
e7600d8e 2147 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
ecebd693 2148
6bafbdfb
JL
2149 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
2150 C_STAT symbols.
2151 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
2152 Flush cached frames just before exiting.
2153 * remote-sim.c (gdbsim_resume): Complain if the program isn't
2154 being run.
2155 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
2156
9b33e492
SG
2157Tue May 14 18:05:16 1996 Stu Grossman ([email protected])
2158
2159 * procfs.c (procfs_thread_alive procfs_stop): Make static.
e7600d8e 2160 (procfs_pid_to_str): New routine to print out thread id's in an
9b33e492
SG
2161 intelligible manner.
2162 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
b8f3d4c6 2163 which supply_register is called to fix bug with writing
9b33e492
SG
2164 individual regs.
2165 * config/sparc/tm-sun4sol2.h: Define default for
2166 target_pid_to_str in case host lacks libthread_db.
2167
47ef0da5
SG
2168Mon May 13 23:53:30 1996 Stu Grossman ([email protected])
2169
2170 * Makefile.in config.in configure configure.in
2171 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
2172 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
2173 and pthread support, since pre-2.5 systems don't come with
2174 libthread_db.so.1.
2175
2176 * procfs.c (info_proc): Use int instead of id_t. Old versions of
e7600d8e 2177 Irix don't seem to define this.
47ef0da5 2178
572977a5
FF
2179start-sanitize-gdbtk
2180Mon May 13 13:43:25 1996 Fred Fish <[email protected]>
2181
2182 * gdbtk.c (tk_command): Catch case where no argument is given
2183 since this will cause the tcl interpreter to dump core.
2184end-sanitize-gdbtk
2185
24ecc17a
JL
2186Mon May 13 17:40:58 1996 Jeffrey A Law ([email protected])
2187
2188 * top.c (execute_control_command, case while_control): Allow
2189 a while command to be interrupted.
2190
a50cedad
SG
2191Mon May 13 16:17:36 1996 Stu Grossman ([email protected])
2192
2193 * sol-thread.c: More cleanup, add comments.
b8f3d4c6 2194 (sol_thread_resume): Prevent people from trying to step
a50cedad 2195 inactive threads.
b8f3d4c6 2196 (sol_thread_wait sol_thread_fetch_registers
a50cedad
SG
2197 sol_thread_store_registers): Remove unnecessary check for
2198 sol_thread_active. These routines won't get called unless threads
2199 are active.
2200
05535e79
SS
2201Mon May 13 11:29:37 1996 Stan Shebs <[email protected]>
2202
2203 SH3-E support from Allan Tajii <[email protected]>:
2204 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
2205 float registers.
2206 (sh3e_reg_names): New register name array.
2207 (sh_processor_type_table): Add sh3e processor type.
2208 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
2209 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
2210 full set of registers.
2211 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
2212 (e7000_fetch_registers, e7000_wait): Use them.
2213 * sh3-rom.c (sh3_regnames): Add float registers.
2214 (sh3e_cmds, sh3e_ops): New globals.
2215 (sh3e_open): New function.
2216 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
2217 sh3e target vector.
2218
934741a1
SG
2219Fri May 10 15:53:38 1996 Stu Grossman ([email protected])
2220
2221 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
2222 Print out messages instead of codes for thread_db errors. Make
2223 access macros for thread and lwp manipulation. Make cleanups to
2224 fixup inferior_pid in case of errors.
2225
31ed312c
FF
2226Thu May 9 19:06:02 1996 Fred Fish <[email protected]>
2227
2228 * aclocal.m4: Remove unused definition of AC_C_CROSS.
2229 * configure.in: Add powerpcle-*-solaris* host and target config
2230 so April 30th change does not get lost next time configure is
2231 rebuilt.
2232
fdfa3315
SG
2233Thu May 9 14:13:08 1996 Stu Grossman ([email protected])
2234
2235 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
2236 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
2237 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
2238 avoid conflict with Solaris /usr/include/thread.h.
2239
7574859f
RS
2240Thu May 9 12:33:32 1996 Rob Savoye <[email protected]>
2241
2242 * abug-rom.c: Config file for the older style ABug monitor that
2243 runs on the mvme13x boards.
2244 * config/m68k/monitor.mt: Add abug support for m68k cross
2245 debugging.
2246
2ae2f078 2247Wed May 8 20:33:24 1996 Fred Fish <[email protected]>
3f37b696 2248
2ae2f078
FF
2249 * infcmd.c (do_registers_info): Always print the raw floating
2250 point value's bytes in big endian order, so the the leftmost bit
2251 is the most significant.
3f37b696
FF
2252 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
2253 that is referenced nowhere else.
2254 (set_breakpoint): Ditto.
2255 (do_enable_breakpoint): Created from enable_once_breakpoint
2256 with a couple of changes.
2257 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
2258 bpdisp enum value to set disposition of breakpoint.
2259 (enable_once_breakpoint): Ditto.
2260 (enable_delete_breakpoint): Ditto.
2261 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
2262 * symtab.c (find_pc_line): Improve comments.
572977a5 2263start-sanitize-gdbtk
3f37b696 2264 * gdbtk.c: Fix a couple of misspellings.
572977a5 2265end-sanitize-gdbtk
3f37b696
FF
2266 * xcoffread.c: Ditto.
2267
37316b52
SS
2268Tue May 7 18:37:06 1996 Stan Shebs <[email protected]>
2269
2270 * target.c (debug_to_xfer_memory): Insert line breaks when
2271 dumping the memory block.
2272
8fc2b417
SG
2273Mon May 6 13:52:52 1996 Stu Grossman ([email protected])
2274
2275 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
2276 returns a possibly modified pid.
2277 * inftarg.c (ptrace_him): Now returns pid;
2278 * m3-nat.c (m3_trace_him): Now returns pid;
2279 * infcmd.c (run_command): Minor cleanup.
2280 * infrun.c (wait_for_inferior): Add another check for one_stepped
2281 near where we read the pc to avoid erroneously setting
2282 random_signal for multi-threaded support.
2283 * procfs.c: Add support for Solaris LWPs. Remove def of
2284 LOSING_POLL. Many cleanups... Several workarounds for Solaris
2285 lossage. System call entry and exit are now handled by
2286 dynamically registered handlers.
2287 * (syscallname): Don't barf when handed an unknown syscall
2288 number.
2289 * (info_proc_syscalls): Ditto.
2290 * sol-thread.c: New file. Implements Solaris thread support.
2291 * symfile.c (symbol_file_add): Add call to target_new_objfile to
2292 notify target-dependent code about new symbol tables.
2293 * (clear_symtab_users): Call target_new_objfile to notify it of
2294 the removal of all symbol tables.
2295 * target.c (push_target): Make sure that to_close is non-zero
2296 before calling it.
2297 * target.h (target_new_objfile): Provide default.
2298 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
2299 of OSF can't hack using poll with /proc.
2300 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
2301 sol-thread-new-objfile.
2302 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
2303 add libthread_db.so.1 to NAT_CLIBS.
2304 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
2305 target_pid_to_str.
2306
2307Sat May 4 02:13:34 1996 N Srin Kumar <[email protected]>
2308
2309 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
2310 removal of the requested fd.
2311
8678180e
MM
2312Mon May 6 07:52:48 1996 Michael Meissner <[email protected]>
2313
2314 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
2315 hooks under ELF.
2316
2317 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
2318
9e9cf822
SS
2319start-sanitize-gdbtk
2320Thu May 2 19:17:49 1996 Stan Shebs <[email protected]>
2321
2322 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
2323 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
2324 (file_popup_menu): Delete, never used.
2325 (listing_window_popup): Rename from listing_window_button_1,
2326 remove breakpoint toggling code.
2327 (toggle_breakpoint): New procedure.
2328 (create_file_win): Bind popup menu to button 2, toggle breakpoints
2329 with button 1 in breakpoint area, add display of tagged areas if
2330 debugging on.
2331end-sanitize-gdbtk
2332
e51481f9
JL
2333Thu May 2 12:46:14 1996 Jeffrey A Law ([email protected])
2334
9e9cf822 2335 From Peter Schauer:
e51481f9
JL
2336 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
2337 * breakpoint.c (insert_breakpoints, watchpoint_check,
2338 bpstat_stop_status): Avoid bad references to memory freed via
2339 delete_breakpoint on watchpoints going out of scope.
2340 Do not delete these watchpoints, disable them and change their
2341 disposition to del_at_next_stop instead.
2342 (breakpoint_auto_delete): Delete all breakpoints whose disposition
2343 is del_at_next_stop.
2344 (breakpoint_init_inferior): Use switch to avoid reference to
2345 already deleted breakpoint.
2346
062cb0d3
FF
2347Wed May 1 17:29:18 1996 Fred Fish <[email protected]>
2348
9e9cf822 2349 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
062cb0d3 2350 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
9e9cf822 2351 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
062cb0d3
FF
2352 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
2353 (solib_info): Call xcoff_relocate_symtab via the hook.
2354 (sharedlibrary_command): Ditto.
2355 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
2356 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
2357 (xcoff_init_loadinfo_hook): Define and initialize here.
2358 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
2359 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
2360 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
2361 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
2362 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
2363 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
2364 of xcoff_relocate_symtab_hook.
2365
fe8d28cf
MM
2366Tue Apr 30 13:22:02 1996 Michael Meissner <[email protected]>
2367
2368 * configure (powerpcle-*-solaris*): Add Solaris support.
2369
2370 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
2371 Solaris support.
aad09779
DP
2372
2373Mon Apr 29 16:17:31 1996 Dawn Perchik <[email protected]>
9e9cf822 2374
aad09779
DP
2375 * c-valprint.c (c_val_print): Fix printing for arrays defined
2376 with 0 length.
2377
5a2934b4
SS
2378Sun Apr 28 15:08:05 1996 Stan Shebs <[email protected]>
2379
fea17b55
SS
2380 Support for bi-endian remote breakpoints.
2381 * remote.c (big_break_insn, little_break_insn): New globals.
2382 (break_insn): Remove.
2383 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
2384 code if REMOTE_BREAKPOINT defined, otherwise call memory
2385 breakpoint functions.
2386 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
2387 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
2388
5a2934b4
SS
2389 * mon960-rom.c (mon960_cmds): Remove forward decl.
2390 (mon960_load): Use current_monitor instead of mon960_cmds.
2391 (mon960_regnames): Remove backslashes from line ends.
2392 (_initialize_mon960): Fix documentation string.
2393
d2c17d4f
FF
2394Sun Apr 28 12:10:35 1996 Fred Fish <[email protected]>
2395
2396 * symfile.h (psymbol_allocation_list): Expand comments which
2397 describe the psymbol allocation list and how each field is
2398 used.
2399
39ce6829
PS
2400Sun Apr 28 03:44:30 1996 Peter Schauer ([email protected])
2401
2402 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
2403 storage leaks.
2404 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
2405
2406 * infcmd.c (run_command), solib.c (locate_base): Check for
2407 target_has_execution in addition to inferior_pid, a core file
2408 from a threaded program is yielding a non-zero inferior_pid.
2409
2410 * sparc-tdep.c (get_saved_register): Handle window registers
2411 in a dummy frame correctly.
2412
6c0643e3
FF
2413Sat Apr 27 20:38:32 1996 Fred Fish <[email protected]>
2414
2415 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
2416 so that anything that wants an allocation function not yet pulled
2417 in, will get it from mmalloc rather than a system library.
2418 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
2419 to avoid surprising results when used.
2420
00d93b6d
DP
2421Sat Apr 27 00:12:05 1996 Dawn Perchik ([email protected])
2422
2423 * stabsread.c: Changes and bug fixes for cfront support.
2424 Fix bug for class data members.
2425 Fix parsing bug when no base classes exist.
2426 Fix memory bug - allocate space for cplusplus specific info.
2427 Add support for static data.
2428 Add prototypes for static functions.
2429 Enhance comments to show what each function expects to parse.
2430 Cleanup code.
2431 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
2432 function to resolve_cfront_continuation.
2433
7dbb5eed
JL
2434Fri Apr 26 23:58:26 1996 Jeffrey A Law ([email protected])
2435
2436 * infrun.c (wait_for_inferior): Call registers_changed when
6cc17fd5 2437 restarting the inferior to get over a nullified instruction.
7dbb5eed 2438
73e75264 2439Tue Apr 24 12:12:55 1996 Dawn Perchik ([email protected])
7dbb5eed 2440
73e75264
DP
2441 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
2442 Add new support for parsing cfront stabs.
2443
894d8e69
JL
2444Wed Apr 24 00:32:55 1996 Jeffrey A Law ([email protected])
2445
2446 * infrun.c (wait_for_inferior): Move "have_waited" label
2447 outside of #ifdef conditionals. Don't trash the wait status
2448 if we get a signal and the current instruction is nullified.
2449
2450Mon Apr 22 20:17:01 1996 Fred Fish <[email protected]>
2451
9e9cf822 2452 * Makefile.in (VERSION): Bump version number to 4.16.1.
894d8e69
JL
2453 * NEWS: Update for 4.16 release.
2454
178ed338
SS
2455Mon Apr 22 16:32:29 1996 Stan Shebs <[email protected]>
2456
2457 * monitor.h: Clean up comment formatting.
2458 (current_monitor): Remove decl.
2459 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
2460 (push_monitor, SREC_SIZE): Remove.
2461 * monitor.c: Expand old macro into current_monitor derefs
2462 everywhere.
2463 * remote-os9k.c (current_monitor): Remove definition.
2464
f9fedc48
MA
2465Mon Apr 22 14:54:45 1996 Mark Alexander <[email protected]>
2466
2467 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
2468 hooks.
2469 (call_extra_exec_file_hooks): New function.
2470 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
2471 remove unused variables.
2472 (set_machine_hook): New function.
2473 (_initialize_h8300m): Initialize it.
2474
102f473b
ILT
2475Fri Apr 19 15:03:49 1996 Ian Lance Taylor <[email protected]>
2476
2477 * remote-mips.c (encoding): Don't specify size, to avoid bug in
2478 SunOS native compiler.
2479
69159fad
SS
2480Thu Apr 18 18:46:57 1996 Stan Shebs <[email protected]>
2481
2482 * monitor.c: Use int rather than LONGEST for values, since
2483 the formatting strings are not prepared to accept long longs.
2484
e1b4f287
DE
2485Wed Apr 17 20:17:27 1996 Doug Evans <[email protected]>
2486
2487 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
2488
8eff3c7f
SG
2489Tue Apr 16 17:38:23 1996 Stu Grossman ([email protected])
2490
2491 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
2492 before de-referencing it. Prevents deref of NULL pointer if core
2493 file lacks .reg section.
2494 * defs.h: Rename floatformat_{to from}_long_double to
2495 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
2496 FROM}... macros.
2497 * findvar.c (extract_floating store_floating): Change all refs to
2498 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
2499 * utils.c: Change floatformat_{to from}_long_double to
2500 floatformat_{to from}_doublest cuz the new routines will use
2501 whatever size (double or long double) is appropriate.
2502 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2503 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
2504 floatformat... routine calls.
2505
15b03b57
PB
2506Mon Apr 15 16:34:11 1996 Per Bothner <[email protected]>
2507
2508 * stabsread.c (read_type): Move handling of '@' from type
2509 number handling to handling of types proper (as emitted by gcc!).
2510 For typedefs, allocate the typedef type before reading its
2511 definition, to properly handling recursive types.
2512
c5ee9d00
JL
2513Mon Apr 15 11:19:26 1996 Jeffrey A Law ([email protected])
2514
2515 * ch-exp.c (calculate_array_length): Fix prototype.
2516
449abd89
SG
2517Sat Apr 13 14:21:16 1996 Stu Grossman ([email protected])
2518
2519 * remote-nindy.c (nindy_open): Acquire more target state so that
2520 user can attach to a previously running program.
2521 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
2522 conversion code. That's all handled in {extract store}_floating
2523 now.
2524 * utils.c (floatformat_to_double): Don't bias exponent when
2525 handling zero's, denorms or NaNs.
2526 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2527 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
2528 FLOATFORMAT_TO/FROM_DOUBLEST macros.
2529 * config/i960/tm-nindy960.h: Undefine
2530 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
2531 REGISTER_CONVERTIBLE. These are no longer necessary now that all
2532 the magic happens in extract/store_floating.
2533
9898b3b7
PS
2534Sat Apr 13 02:58:02 1996 Peter Schauer ([email protected])
2535
2536 * eval.c (evaluate_subexp_standard): Report error when attempting to
2537 evaluate subscripts for types which cannot be subscripted.
2538
2539 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
2540 Return a zero value with the return type of the member function
2541 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
2542 function.
2543 * values.h (value_x_binop, value_x_unop): Update prototypes
2544 accordingly.
2545 * eval.c (evaluate_subexp_standard): Update all callers of
2546 value_x_binop, value_x_unop accordingly.
2547
2548 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
2549 integral promotion on operands.
2550
38d715a4
FF
2551Fri Apr 12 13:19:27 1996 Fred Fish <[email protected]>
2552
2553 * README: Update for 4.16 release.
2554 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2555 * configure: Regenerate with autoconf.
2556 * config.in: Regenerate with autoheader.
2557 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2558 * top.c (command_loop): Ditto.
2559
c6fbd98b
SG
2560Fri Apr 12 09:45:29 1996 Stu Grossman ([email protected])
2561
2562 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2563 defaults for bi-endian targets. Replace function pointers for
2564 floatformat routines with macros. No need for these to be runtime
2565 selectable.
2566 * findvar.c: Get rid of floatformat function pointers. Use
2567 macros in extract_floating and store_floating.
2568 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2569 Use floatformat macros.
2570
d8efbc66
FF
2571Thu Apr 11 21:28:02 1996 Fred Fish <[email protected]>
2572
2573 From: Miles Bader <[email protected]>
2574 * configure.in (AC_CHECK_HEADERS): check for endian.h.
2575 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
2576 Add host & target cases for i[345]86-*-gnu*.
2577 * config.in: Regenerate with autoheader.
2578 * configure: Regenerate with autoconf.
2579 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2580 (init.c): Don't scan mig-generated files.
2581 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2582 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2583 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2584 rather than "#ifndef MACH".
2585
4eaf7c0a
SS
2586Thu Apr 11 18:49:42 1996 Stan Shebs <[email protected]>
2587
2588 * remote.c (remotewritesize): New GDB variable, controls size
2589 of memory packets sent to the target.
2590
a243a22f
SG
2591Thu Apr 11 13:47:52 1996 Stu Grossman ([email protected])
2592
2593 * dcache.c: Add prototypes. Make many functions static.
2594 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
2595 dcache_poke call dcache_xfer_memory directly in order to fix
2596 problems with turning off dcache. dcache_peek is now unnecessary,
2597 so it goes away.
2598
2599 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2600 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
2601 to a struct floatformat. This allows for better handling of
2602 targets whose floating point formats differ from the host by more
2603 than just byte order.
2604 * (floatformat_to_long_double floatformat_from_long_double):
2605 Prototypes for new functions in utils.c.
2606 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
2607 for pointers to floating point conversion functions. The actual
2608 function uses either double or long double if the host supports it.
2609 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
2610 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
2611 * (extract_floating store_floating): Rewrite. Now, if host fp
2612 format is the same as the target, we just do a copy. Otherwise,
2613 we call floatformat_{to from}_doublest.
2614 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
2615 `write' to `should_write'.
2616 * utils.c (floatformat_to_long_double
2617 floatformat_from_long_double): New routines that implement long
2618 double versions of functions in libiberty/floatformat.c.
2619 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
2620 i960 extended real (80 bit) numbers.
2621 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
2622 actually read or written.
2623
f046f4c8
WM
2624Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <[email protected]>
2625
2626 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
2627 (calculate_array_length): Move function from here ...
2628
2629 * ch-exp.c (calculate_array_length): ... to here.
2630 (parse_primval): If we have a symbol with an array type
2631 and the length is 0, call calculate_array_length.
2632
a539f6d8
WM
2633Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <[email protected]>
2634
2635 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
2636 Add some checks for powerset compatibility.
2637
2638 * valops.c (value_slice): Use lowbound instead of lowerbound for
2639 call to slice_range_type to get correct bounds.
2640
d8efbc66 2641Mon Apr 8 12:53:56 1996 Fred Fish <[email protected]>
5579919f
FF
2642
2643 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
2644 dependencies.
2645 * scm-lang.c (gdb_string.h): Include.
2646 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
2647 call to correct type (char *).
2648 * cp-valprint.c (cp_print_static_field): Ditto.
2649 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
2650 for external find_unwind_entry function (from hppa-tdep.c).
2651 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
2652 type of second arg to "char *" to be type compatible with
2653 dcache.
2654 (remote_wait): Cast second arg to strtol to correct type.
2655 * hppa-tdep.c (compare_unwind_entries): Change argument types to
2656 "const void *" to be type compatible with qsort, and then
2657 assign to local args prior to use.
2658
75eb5231
JL
2659Mon Apr 8 15:35:52 1996 Jeffrey A Law ([email protected])
2660
2661 * infptrace.c (kill_inferior): Remove call to "kill"; update
2662 comments.
2663
7782ee45
GN
2664Mon Apr 8 14:05:07 1996 Geoffrey Noer <[email protected]>
2665
2666 * remote-e7000.c: don't append :23 to target port if __WIN32__
2667 is defined (it's WinGDB).
2668
ce0787ef
FF
2669Sun Apr 7 22:34:29 1996 Fred Fish <[email protected]>
2670
2671 From: Miles Bader <[email protected]>
2672 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
2673 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
2674 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
2675 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
2676
2677Sun Apr 7 13:32:41 1996 Fred Fish <[email protected]>
125c17af
FF
2678
2679 * configure.in (case host): Add i386sco5 host.
2680 * configure: Regenerate.
2681
2682 From: Robert Lipe <[email protected]>
2683 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
2684 target is an SVR3.2 with COFF, ELF, and shared libes, but
2685 no /proc.
2686 * config/i386/i386sco5.mh: New file.
2687 * config/i386/nm-i386sco5.h: New file.
2688
a6b65627
FF
2689Sat Apr 6 08:55:22 1996 Fred Fish <[email protected]>
2690
2691 * bcache.c (bcache): When size of chunk to cache is exactly equal to
2692 BCACHE_MAXLENGTH, stash chunk as unique copy.
2693
eae8aa30
FF
2694Sat Apr 6 00:46:26 1996 Fred Fish <[email protected]>
2695
2696 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
2697 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
2698 use it, rather than calling add_psymbol_addr_to_list.
2699 (add_psymbol_addr_to_list): Delete.
2700 (add_psymbol_to_list): Make psymbol static to avoid random data in
2701 gaps due to alignment of structure members.
2702 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
2703 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
2704 performance improvements by inlining via complicated macros and
2705 they just make gdb larger and harder to maintain.
2706 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
2707 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
2708 add_psymbol_to_list with appropriate long or CORE_ADDR args.
2709 (add_partial_symbol): Ditto.
2710 * partial-stab.h: Ditto.
2711 * os9kread.c (read_os9k_psymtab): Ditto
2712 * mdebugread.c (parse_partial_symbols): Ditto.
2713 (handle_psymbol_enumerators): Ditto.
2714 (demangle.h): Include.
2715 * hpread.c (hpread_build_psymtabs): Ditto.
2716 (hpread_build_psymtabs): Ditto.
2717 (demangle.h): Include
2718
51bea8cf 2719start-sanitize-gdbtk
fda6fadc
SS
2720Fri Apr 5 13:44:40 1996 Stan Shebs <[email protected]>
2721
2722 * gdbtk.c (running_now): New global variable.
2723 (gdb_cmd): Test it before executing any command.
2724 (gdbtk_call_command): Set it when inferior is running.
2725 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
2726 disable interaction with command window's text appropriately.
2727
8b3f9ed6
MM
2728Fri Apr 5 13:25:42 1996 Michael Meissner <[email protected]>
2729
2730 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
2731 some versions of the kernel don't support it.
51bea8cf 2732end-sanitize-gdbtk
8b3f9ed6 2733
72ae15f6
FF
2734Thu Apr 4 20:16:55 1996 Fred Fish <[email protected]>
2735
2736 * configure.in: Check for setpgid function.
2737 * config.in: Regenerate with autoheader.
2738 * configure: Regenerate with autoconf.
2739 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
2740 if it is actually defined.
2741 (gdb_setpgid): Use HAVE_SETPGID.
2742 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
fda6fadc
SS
2743 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
2744 * c-exp.y, serial.c: Include <ctype.h>.
72ae15f6
FF
2745 * config/m68k/nm-news.h: Add typedef for pid_t which is
2746 apparently missing from <sys/types.h>. Enclose entire
2747 file in NM_NEWS_H ifndef and define when included.
2748 * config/mips/nm-news-mips.h: Ditto.
2749 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
2750 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
2751
67c1413d
SS
2752Thu Apr 4 19:04:18 1996 Stan Shebs <[email protected]>
2753
72c9954b
SS
2754 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
2755 * arm-tdep.c (arm_apcs_32): New global.
2756 (arm_addr_bits_remove, arm_saved_pc_after_call,
2757 arm_push_dummy_frame, arm_pop_frame): New functions.
2758 (arm_skip_prologue): Updated version from Richard Earnshaw.
2759 (_initialize_arm_tdep): Add set/show "apcs32".
2760 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
2761 arm_addr_bits_remove.
2762 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
2763 (frame_find_saved_regs): Declare properly.
2764 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
2765 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
2766 explicit mask.
2767 * config/arm/nm-arm.h: New file.
2768 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
2769 Move definitions to nm-arm.h.
2770 * config/arm/arm.mh (NAT_FILE): Define.
2771
67c1413d
SS
2772 * symfile.c (generic_load): Initialize data_count properly.
2773
3e3ee48f
FF
2774Thu Apr 4 17:17:53 1996 Fred Fish <[email protected]>
2775
2776 * symmisc.c (print_objfile_statistics): Print memory used by
2777 psymbol cache obstack.
2778
72158e71
SS
2779Thu Apr 4 15:43:07 1996 Stan Shebs <[email protected]>
2780
2781 * symfile.c (report_transfer_performance): New function.
2782 (generic_load): Call it to report transfer rate.
2783 * remote-e7000.c (e7000_load): Ditto.
2784
761e98aa
SS
2785Mon Apr 1 16:31:00 1996 Stan Shebs <[email protected]>
2786
2787 * mpw-make.sed: Change references to config.h to be in objdir,
2788 edit out rules to rebuild config.h.
2789
251b8ab9
FF
2790Mon Apr 1 08:32:23 1996 Fred Fish <[email protected]>
2791
2792 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
2793 proceeding.
2794
517cb8d7 2795Sun Mar 31 16:15:43 1996 Fred Fish <[email protected]>
771f63d3
FF
2796
2797 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
2798 fetch_register, child_xfer_memory): Use call_ptrace function supplied
2799 by infptrace.c rather than calling ptrace directly.
2800
32b18604
SS
2801Sun Mar 31 15:39:00 1996 Stan Shebs <[email protected]>
2802
2803 * mon960-rom.c: Cleanups and elimination of unused code,
2804 clarify documentation string.
2805 (mon960_serial, mon960_ttyname): Remove.
2806 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
2807 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
2808
07b77f5c
FF
2809Sat Mar 30 11:00:22 1996 Fred Fish <[email protected]>
2810
2811 * configure.in: Check whether printf family supports printing
2812 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
2813 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
2814 * configure: Regenerate.
2815 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
2816 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
2817 * configure.in: Fix have_gregset and have_fpregset autoconf
2818 variable names so that they match the pattern required to
2819 cache them.
2820
b52cac6b
FF
2821Fri Mar 29 21:39:56 1996 Fred Fish <[email protected]>
2822
2823 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
2824 before testing against reg_ptr.
2825 * eval.c (evaluate_subexp_standard): Cast type of
2826 TYPE_FN_FIELD_VOFFSET to int.
2827 * findvar.c (extract_signed_integer, extract_unsigned_integer,
2828 extract_long_unsigned_integer): Cast type of sizeof to int.
2829 * values.c (unpack_field_as_long, modify_field): Ditto.
2830 * valops.c (value_assign, call_function_by_hand): Ditto.
2831 * infcmd.c (do_registers_info): Ditto.
fda6fadc 2832 * ser-tcp.c (tcp_open): Ditto.
b52cac6b
FF
2833 * remote.c (putpkt): Ditto.
2834 * dcache.c (dcache_peek): Ditto.
2835 * dcache.c (dcache_poke): Ditto.
2836 * m2-exp.y (yylex): Ditto.
2837 * gnu-regex.c (re_match_2): Ditto.
2838 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
2839 out unused macro definition and variables.
2840 * inftarg.c (proc_wait): Move from main.c to here, and make static.
2841 * valprint.c (val_print_string): Change bufsize from int to unsigned.
fda6fadc 2842 * main.c (wait.h): Include.
b52cac6b
FF
2843 * top.c (command_line_input): Remove unused variable "c".
2844 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
2845 value TYPE_CODE_TYPEDEF to switch statement.
2846 (f_type_print_varspec_suffix): Add missing enum value
2847 TYPE_CODE_TYPEDEF to switch statement.
2848 * ch-exp.c (parse_primval): Add remaining enumeration values to
2849 switch statement, with no specific action.
2850 (ch_lex): Add LOC_UNRESOLVED in switch statement.
2851 (pushback_token): Ifdef out, since code using it is ifdef'd out.
2852 * stabsread.c (cleanup_undefined_types): Remove unused label
2853 "badtype".
2854 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
2855 * maint.c (objfiles.h): Include.
2856 (maintenance_print_statistics): Remove unused variable "temp".
2857 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
2858 unused variable "found_file_symbol".
2859 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
2860 * language.c (lang_bool_type): Use existing function local type
2861 variable rather than create block local variables.
2862 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
2863 * infptrace.c (wait.h, command.h): Include.
2864 * ser-tcp.c (gdb_string.h): Include
2865 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
2866 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
2867 * command.c (complete_on_enum): Make assignment used as truth value
2868 explictly check against NULL.
2869 (wait.h): Include.
2870 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
2871 that uses it is ifdef'd out.
2872 * parser-defs.h: Add prototype for write_dollar_variable.
2873 * infrun.c: Add prototype for write_pc_pid.
2874 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
2875 * symmisc.c (bcache.h): Include.
2876 * bcache.h: Add prototype for print_bcache_statistics.
2877 * symfile.c: Include <time.h>.
2878 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
2879 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
2880 * valarith.c (value_binop): Change result_len, promoted_len1,
2881 and promoted_len2 to unsigned int.
2882 * valarith.c (value_subscripted_rvalue): Change elt_offs and
2883 elt_size to unsigned int.
2884 * valops.c (value_array): Change typelength to unsigned int.
2885 (destructor_name_p): Change len to unsigned int.
2886 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
2887 * symfile.c (decrement_reading_symtab): Change return type to void.
2888 * valarith.c (value_subscript): Remove unused variable "word".
2889 (value_subscript): Remove unused variable "tint".
2890 * valops.c (auto_abandon): Ifdef out, since code using it is also
2891 ifdef'd out.
2892 * eval.c (init_array_element): Remove unused variable "val".
2893 * Makefile.in (values.o): Depends on scm-lang.h.
2894 (command.o): Depends upon wait_h.
2895 (ser-tcp.o): Depends upon gdb_string.h.
2896 (infptrace.o): Depends upon wait_h and command_h.
2897 (maint.o): Depends on objfiles.h and symfile.h.
2898 * values.c (allocate_repeat_value): Remove unused variable
2899 "element_type".
2900 (scm-lang.h): Include.
2901 * breakpoint.c (create_longjmp_breakpoint): Enclose in
2902 GET_LONGJMP_TARGET define, unused otherwise.
2903 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
2904 i386_remove_watchpoint and i386_stopped_by_watchpoint.
2905
078aeca4
DE
2906Thu Mar 28 12:53:19 1996 Doug Evans <[email protected]>
2907
2908 * configure.in (sparc64-*-solaris2*): Delete.
2909 Stick with sparc-*-solaris2*.
2910 * configure: Regenerated.
2911
75225aa2
FF
2912Thu Mar 28 06:51:26 1996 Fred Fish <[email protected]>
2913
2914 * valops.c (value_assign): Make copy of internal variable value
2915 before returning it as a new value, since it is owned by the
2916 internal variable and will be freed along with it.
2917
fa3764e2
JL
2918Wed Mar 27 08:36:17 1996 Jeffrey A Law ([email protected])
2919
2920 * From Peter Schauer.
2921 * breakpoint.c (breakpoint_re_set_one): Keep temporary
2922 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
2923 and bp_step_resume in case breakpoint_re_set_one is called due
2924 to a step over a dlopen call.
2925 * infrun.c (wait_for_inferior): Always remove breakpoints from
2926 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
2927
7e2ff10d
FF
2928Tue Mar 26 13:15:32 1996 Fred Fish <[email protected]>
2929
2930 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
2931 non-prototyped case over prototyped case for C.
2932 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
2933
4cfb23a9
FF
2934Sat Mar 23 17:24:28 1996 Fred Fish <[email protected]>
2935
2936 * os9kread.c (os9k_process_one_symbol): Note nonportable
2937 assumption that an int can hold a char *.
2938
2939 * bcache.h (struct hashlink): Wrap data[] inside union with
2940 double to force longest alignment.
2941 (BCACHE_DATA): New macro to access data[].
2942 (BCACHE_ALIGNMENT): New macro to get offset to data[].
2943 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
2944 address of cached data. Use BCACHE_ALIGNMENT to compute
2945 amount of space to allocate for each hashlink struct.
2946
b9aa6215
FF
2947Sat Mar 23 12:14:02 1996 Fred Fish <[email protected]>
2948
2949 * ch-lang.c (evaluate_subexp_chill): Fix typo.
2950
2951Thu Mar 21 08:27:19 1996 Fred Fish <[email protected]>
2952
2953 * Makefile.in (VERSION): Bump version to 4.15.3
2954
18ea4416
ILT
2955Thu Mar 21 10:56:41 1996 Ian Lance Taylor <[email protected]>
2956
2957 * config.in: Rename from config.h.in.
2958 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
2959 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
2960 * configure: Rebuild.
2961 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
2962 Set CONFIG_HEADERS to config.h:config.in.
2963
67718369
PS
2964Tue Mar 19 12:47:51 1996 Peter Schauer ([email protected])
2965
2966 * partial-stab.h (case N_ENDM): Finish current partial symbol
2967 table for Solaris 2 cc.
2968
a466b86a
JL
2969Tue Mar 19 10:39:15 1996 Jeffrey A Law ([email protected])
2970
2971 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
2972 PC in the registers array. From Peter Schauer.
2973
0ef22be9
FF
2974Mon Mar 18 13:47:09 1996 Fred Fish <[email protected]>
2975
2976 * symfile.c (reread_symbols): Reinitialize bcache struct
2977 members to zero using memset. Also use memset to reinit
2978 global_psymbols and static_psymbols, rather than explicitly
2979 resetting each structure member.
2980
31520669
FF
2981Sat Mar 16 19:47:36 1996 Fred Fish <[email protected]>
2982
2983 * configure.in: Add fragment to create stamp-h.
2984
2985 From Peter Schauer <[email protected]>
2986 * configure.in (AC_CHECK_HEADERS): Check for link.h.
2987 * configure: Regenerate with autoconf.
2988 * config.h.in: Regenerate with autoheader.
2989 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
2990 is defined.
2991 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
2992 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
2993 older a.out based systems.
2994
bfcf3112 2995Sat Mar 16 16:45:43 1996 Fred Fish <[email protected]>
db210d08 2996
bfcf3112 2997 * config.h.in: New file.
db210d08
FF
2998 * acconfig.h: New file, for autoheader.
2999 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
3000 * configure: Regenerate.
3001 * Makefile.in (defs_h): Add config.h
bfcf3112
FF
3002 (distclean): Remove config.h and stamp-h during distclean.
3003 (config.h, stamp-h): New targets to remake config.h when necessary.
db210d08
FF
3004 * defs.h (config.h): Include before any other includes or defines.
3005 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
d58ffc6c 3006 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
db210d08 3007
d5fde1c9
FF
3008Sat Mar 16 14:55:27 1996 Fred Fish <[email protected]>
3009
3010 From Peter Schauer <[email protected]>
3011 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
3012 result in an empty line, to work around a bug in native Ultrix 4.4
3013 and OSF/1-3.2C make.
3014
3dedc867
FF
3015Sat Mar 16 13:33:17 1996 Fred Fish <[email protected]>
3016
3017 * configure.in: Add gdbserver to configdirs under linux.
3018 * configure: Regenerate.
3019
f727efb5
C
3020Fri Mar 15 12:06:58 1996 J.T. Conklin <[email protected]>
3021
3022 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
3023 * config/i386/tm-nbsd.h (NUM_REGS): Define.
3024
a404ea25
JL
3025Thu Mar 14 10:31:18 1996 Jeffrey A Law ([email protected])
3026
3027 * solib.c (solib_break_names): Add _r_debug_state for
3028 vanilla SVR4 implementations. From Peter Schauer.
3029
3030Mon Mar 11 14:24:57 1996 Dawn Perchik <[email protected]>
3031
3032 * mon960-rom.c: New file; support mon960 rom monitor on i960.
3033 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
3034 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
3035 epecting prompt and echo during open.
3036 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
3037 determine if break should be sent as stop command.
3038 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
3039 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
3040 stack frame on mon960.
3041 * Makefile.in: Add mon960 files.
3042 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
3043 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
3044 * configure: Regenerated.
3045 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
3046 support mon960 rom monitor on i960.
3047
1ef980b9
SC
3048Mon Mar 11 11:02:47 1996 Steve Chamberlain <[email protected]>
3049
3050 With Michael Snyder:
3051 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
3052 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
3053 (handle_load_dll): Don't reload symbols.
3054 (handle_exception): Use the DEBUG_* names.
3055 (child_wait): Add DEBUG_* code.
3056 (_initialize_inftarg): Add new commands to set debug_ names.
3057
803a31a3
JL
3058Mon Mar 11 09:19:58 1996 Jeffrey A Law ([email protected])
3059
3060 * From Peter Schauer:
3061 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
3062 (bpstat_stop_status): Likewise.
3063 (remove_solib_event_breakpoints): Likewise.
3064 (clear_momentary_breakpoints): Likewise.
3065 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
3066 if we still can't read the memory for that breakpoint.
3067 (mention): Add bp_shlib_event case to keep gcc quiet.
3068
3069Fri Mar 8 12:08:12 1996 Jeffrey A Law ([email protected])
3070
3071 * breakpoint.h (enum enable): New enum shlib_disabled for
3072 shared library breakpoints that have been temporarily disabled.
3073 * breakpoint.c: Handle temporarily disabled shared library
3074 breakpoints like disabled breakpoints in most places.
3075 (insert_breakpoints): Use shlib_disabled to indicate
3076 that an unsettable breakpoint is only temporarily disabled.
3077 (re_enable_breakpoints_in_shlibs): New function.
3078 * corelow.c (solib_add_stub): After adding shared libraries,
3079 try to reenable any temporarily disabled breakpoints.
3080 * infcmd.c (attach_command): Likewise.
3081 * infrun.c (wait_for_inferior): Likewise.
3082
4972c44e
ILT
3083Fri Mar 8 11:41:25 1996 Ian Lance Taylor <[email protected]>
3084
3085 * defs.h (extract_long_unsigned_integer): Declare.
3086 * findvar.c (extract_long_unsigned_integer): New function.
3087 * printcmd.c (print_scalar_formatted): Use it.
3088 * valprint.c (val_print_type_code_int): Likewise.
3089
00dd4fd9
SS
3090Thu Mar 7 17:40:50 1996 Stan Shebs <[email protected]>
3091
3092 * infcmd.c (do_registers_info): Ignore anonymous registers.
3093 * sh-tdep.c (set processor): New command to set specific
3094 processor type.
3095 (sh_reg_names, sh3_reg_names): Arrays of register names for
3096 SH and SH3 processors.
3097 (sh_set_processor_type): New function.
3098 * sh3-rom.c (sh3_open): Call it.
3099 (sh3_regname): Add names of all the bank registers.
3100 (sh3_supply_register): Clean up formatting.
3101 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
3102 bank registers.
3103 (REGISTER_NAMES): Add names of bank registers.
3104 (FP15_REGNUM): Define.
3105 (REGISTER_VIRTUAL_TYPE): Use it.
3106 * monitor.c: Clean up some comments.
3107
43ece84d
C
3108Thu Mar 7 12:09:51 1996 J.T. Conklin <[email protected]>
3109
3110 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
3111 s* and t* symbols too.
3112
5a367b09
JSC
3113Thu Mar 7 15:18:51 1996 James G. Smith <[email protected]>
3114
3115 * symfile.c (generic_load): Avoid division by zero.
3116
653fed07
JL
3117Wed Mar 6 17:57:59 1996 Jeffrey A Law ([email protected])
3118
3119 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
3120 not just those with HANDLE_SVR4_EXEC_EMULATORS.
27b6a1fa 3121
00dd4fd9 3122 From Peter Schauer:
27b6a1fa
JL
3123 * breakpoint.c (internal_breakpoint_number): Move to file scope.
3124 (create_solib_event_breakpoint): Use an internal breakpoint number.
3125
bb901438
WM
3126Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <[email protected]>
3127
3128 * valarith.c (value_in): Change builtin_type_chill_bool to
3129 LA_BOOL_TYPE.
3130
c105168f
WM
3131Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <[email protected]>
3132
3133 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
3134 (match_string_literal): Handle control sequence.
3135 (match_character_literal): Deto.
3136
3137 * ch-lang.c (chill_printchar): Change formating of nonprintable
3138 characters from C'xx' to ^(num).
3139 (chill_printstr): Deto.
3140 (value_chill_card, value_chill_max_min): New functions to process
3141 Chill's CARD, MAX, MIN.
3142 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
3143
3144 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
3145 for Chill's CARD, MAX, MIN.
3146
3147 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
3148 and change return type from builtin_type_int to
3149 builtin_type_chill_bool.
3150
d009ffd8
SS
3151Tue Mar 5 18:54:04 1996 Stan Shebs <[email protected]>
3152
b4692cbc
SS
3153 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
3154 from config/nm-nbsd.h.
3155 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
3156 from config/sparc/tm-nbsd.h.
3157
d009ffd8
SS
3158 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
3159 instead of in config/m68k/xm-hp300hpux.h.
3160
d554e554
C
3161Tue Mar 5 12:05:35 1996 J.T. Conklin <[email protected]>
3162
3163 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
3164 implementation for NetBSD systems.
3165
02e6e53d
PB
3166Mon Mar 4 23:44:16 1996 Per Bothner <[email protected]>
3167
8d67b75a
PB
3168 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
3169 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
3170
02e6e53d
PB
3171 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
3172 if "function" is pointer to non-function.
3173
f935141e
SS
3174Mon Mar 4 17:47:03 1996 Stan Shebs <[email protected]>
3175
3176 * top.c (print_gdb_version): Update copyright year.
3177
11be829f
JL
3178Mon Mar 4 14:44:54 1996 Jeffrey A Law ([email protected])
3179
f935141e 3180 From Peter Schauer:
11be829f
JL
3181 * infrun.c (wait_for_inferior): Remove breakpoints and
3182 switch terminal settings before calling SOLIB_ADD.
3183 * solib.c (enable_break, SVR4 variant): Don't map in symbols
3184 for the dynamic linker, the namespace pollution causes real
3185 problems.
3186
4f005fea
JSC
3187Sun Mar 3 17:18:57 1996 James G. Smith <[email protected]>
3188
3189 * remote-mips.c (common_breakpoint): Explicitly terminate the
3190 returned buffer.
3191
cf3c0938
SS
3192Wed Feb 28 22:32:18 1996 Stan Shebs <[email protected]>
3193
3194 From Wilfried Moser <[email protected]>:
3195 * remote.c (remote_detach): Send a command 'D' to the target
3196 when detaching, update the function's comments.
3197
647e52ea
SG
3198Thu Jun 6 16:11:38 1996 Miles Bader <[email protected]>
3199
3200 * gnu-nat.c (thread_cmd_list): New declaration.
3201 (parse_int_arg): New function.
3202
3203Wed Jun 5 17:28:04 1996 Miles Bader <[email protected]>
3204
3205 * gnu-nat.h (struct proc): Add DETACH_SC field.
3206 * gnu-nat.c (make_proc): Set DETACH_SC.
3207 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3208 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3209 (add_thread_commands): Add set/show for detach-suspend-count.
3210 Add takeover-suspend-count cmd.
3211 (inf_detach): Set suspend counts to the detach SC, not 0.
3212 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
3213 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
3214 set_thread_default_thread_detach_sc_cmd,
3215 show_thread_default_thread_detach_sc_cmd): New functions.
3216 (show_task_cmd): Also show detach-suspend-count values.
3217 (thread_takeover_sc_cmd): New function.
3218
3219Fri May 31 16:49:24 1996 Miles Bader <[email protected]>
3220
3221 * gnu-nat.c (show_thread_run_cmd): Actually print state.
3222
3223Thu May 30 10:47:56 1996 Miles Bader <[email protected]>
3224
3225 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
3226
3227Tue May 28 17:06:36 1996 Miles Bader <[email protected]>
3228
3229 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
3230 pointer to the flags now, not the flags themselves.
3231
3232Mon May 27 13:31:17 1996 Miles Bader <[email protected]>
3233
3234 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
3235 (gnu_create_inferior): Check return from ptrace.
3236
3237Sun May 26 16:56:35 1996 Miles Bader <[email protected]>
3238
3239 * gnu-nat.h (struct proc): Add DEAD field.
3240 * gnu-nat.c (make_proc): Initialize DEAD.
3241 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
3242 (gnu_wait): Only abort for 0 threads if the task isn't dead.
3243
3244Sat May 25 17:06:05 1996 Miles Bader <[email protected]>
3245
3246 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
3247
3248Wed May 22 18:44:28 1996 Miles Bader <[email protected]>
3249
3250 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
3251 (inf_set_traced): Only give no-signal-thread error message if
3252 turning *on* tracing.
3253
3254Wed May 15 13:03:16 1996 Miles Bader <[email protected]>
3255
3256 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
3257 set inf->threads_up_to_date to 0.
3258 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
3259 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
3260 (proc_update_sc): Cast thread state arg to thread_set_state.
3261 (proc_get_state): Cast thread state arg to thread_get_state.
3262 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
3263 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
3264 inf_update_procs before we lookup the thread.
3265 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
3266
3267Tue May 7 17:52:33 1996 Miles Bader <[email protected]>
3268
3269 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
3270
3271Mon May 6 19:06:49 1996 Miles Bader <[email protected]>
3272
3273 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
3274 INIT_TRACEMASK instead of setting the exec flags.
3275
3276Fri May 3 19:10:57 1996 Miles Bader <[email protected]>
3277
3278 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
3279 the task's died, so others have a chance at it.
3280 (gnu_resume): When single-stepping a single thread, given an error
3281 if there is no such thread. When single-stepping one but running
3282 the others, just given a warning and still run all the threads.
3283 (gnu_wait): If there seem to be no threads, look harder, and
3284 signal an error if there really aren't any.
3285 (gnu_attach): Reset thread numbering to 0.
3286
3287 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
3288 thread name in warning messages.
3289
3290 * gnu-nat.c (active_inf): New function.
3291 (show_sig_thread_cmd, show_stopped_cmd): Use it.
3292 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
3293 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
3294 New functions.
3295 (add_task_commands): Add new port-right info commands.
3296
3297Fri Apr 26 20:42:16 1996 Miles Bader <[email protected]>
3298
3299 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
3300 use mach_msg with MACH_RCV_INTERRUPT.
3301 (set_noninvasive_cmd): New function.
3302 (add_task_commands): Add command entry for `set noninvasive'.
3303
3304Mon Mar 4 14:12:02 1996 Miles Bader <[email protected]>
3305
3306 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
3307 (safe_bcopy): Function removed.
3308
3309Mon Dec 4 14:18:26 1995 Miles Bader <[email protected]>
3310
3311 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
3312 (make_proc): Initialize state_valid & state_changed fields.
3313
3314Tue Nov 28 17:51:21 1995 Miles Bader <[email protected]>
3315
3316 * reply_mig_hack.awk: New file.
3317
3318Tue Nov 14 14:31:03 1995 Miles Bader <[email protected]>
3319
3320 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
3321
3322 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
3323 threads.
3324
3325Mon Nov 13 18:30:53 1995 Miles Bader <[email protected]>
3326
3327 * target.c (debug_to_check_threads): New function.
3328
3329 * inflow.c (terminal_init_inferior_with_pgrp): New function.
3330 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
3331 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
3332 but only if PROCESS_GROUP_TYPE is defined.
3333
3334Mon Nov 6 16:42:09 1995 Miles Bader <[email protected]>
3335
3336 * target.c (debug_to_thread_alive): Pass through the return value.
3337
3338Thu Nov 2 18:05:00 1995 Miles Bader <[email protected]>
3339
3340 * target.c (signals, target_signal_from_host, target_signal_to_host):
3341 Add mach exceptions.
3342 * target.h (enum target_signal): Add mach exceptions.
3343
3344Mon Oct 30 16:41:04 1995 Miles Bader <[email protected]>
3345
3346 * gnu-nat.c: New file: gnu native backend.
3347 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
3348 * gnu-nat.h: New file.
3349 * config/nm-gnu.h: New file.
3350 * config/tm-i386gnu.h: New file.
3351 * config/xm-i386gnu.h: New file.
3352 * config/i386/i386gnu.mh: New file.
3353 * config/i386/i386gnu.mt: New file.
3354
8fe2b2c5
FF
3355Wed Feb 28 15:50:12 1996 Fred Fish <[email protected]>
3356
3357 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
3358 baseline for gdb 4.16 rerelease testing.
3359
a4f39c06
JL
3360Wed Feb 28 13:32:05 1996 Jeffrey A Law ([email protected])
3361
3362 * somsolib.c (som_solib_create_inferior_hook): Before returning
3363 call clear_symtab_users.
3364
3365Tue Feb 27 00:04:46 1996 Stu Grossman ([email protected])
3366
3367 * remote-e7000.c (e7000_open): Delete all breakpoints when
3368 connecting to e7000. Change connect message to allow use of
3369 monitor.exp in test suite.
3370 * (e7000_load): Print transfer rate of download.
3371 * symfile.c (generic_load): Print transfer rate of download.
3372
8fa6fcf8
SS
3373Sun Feb 25 13:58:33 1996 Stan Shebs <[email protected]>
3374
3375 * configure.in (mips*-*-vxworks*): New config.
3376 * configure: Regenerated.
3377
3378 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
3379 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
3380 Remove, never used.
3381
a97a483c
PS
3382Sat Feb 24 12:30:28 1996 Peter Schauer ([email protected])
3383
3384 * partial-stab.h (case N_FUN): Function symbols generated
3385 by SPARCworks cc have a meaningless zero value, do not update
3386 pst->textlow if the function symbol value is zero.
3387
3388 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
3389 for function prototype declaration symbols.
3390
b5eccf74
SG
3391Fri Feb 23 22:33:04 1996 Stu Grossman ([email protected])
3392
3393 * remote-e7000.c (e7000_load): New routine to download via the
3394 network.
3395 * (e7000_wait): Don't backup PC when we hit a breakpoint.
3396 Apparantly new sh2 pods get this right...
3397 * (e7000_ops): Add call to e7000_load.
3398
b7f3b6d5
C
3399Thu Feb 22 00:52:42 1996 J.T. Conklin <[email protected]>
3400
3401 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
3402 m68knbsd-nat.c: New files, support for NetBSD/m68k.
3403
3404 * configure.in (m68k-*-netbsd*): New config.
3405 * configure: Regenerated.
3406
517cb8d7 3407Wed Feb 21 19:00:21 1996 Fred Fish <[email protected]>
6a6a552a
FF
3408
3409 * standalone.c (open, _initialize_standalone): Fix obvious typos
3410 reported by Martin Pool <[email protected]>.
3411
13f6c7ea
JL
3412Wed Feb 21 14:24:04 1996 Jeffrey A Law ([email protected])
3413
3414 * solib.c (solib_create_inferior_hook): Fix thinko.
3415
464c6c5f
JL
3416Tue Feb 20 23:59:19 1996 Jeffrey A Law ([email protected])
3417
3418 * solib.c (solib_break_names): Define for Solaris and Linux.
3419 (enable_break): For SVR4 systems, first try to use the debugger
3420 interfaces in the dynamic linker to track shared library events
3421 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
3422 BKPT_AT_SYMBOL code to use shared library event breakpoints.
3423 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
3424 it no longer needs to restart/wait on the inferior.
3425 * symfile.c (find_lowest_section): No longer static.
3426 * symfile.h (find_lowest_section): Corresponding changes.
3427
517cb8d7 3428Tue Feb 20 18:54:08 1996 Fred Fish <[email protected]>
45c5fa78
FF
3429
3430 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
3431 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
3432 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
3433 * config/mips/tm-mips.h: Ditto.
3434 * config/pa/tm-hppa.h: Ditto.
3435 * config/rs6000/tm-rs6000.h: Ditto.
3436 * config/sparc/tm-sparc.h: Ditto.
3437
48d27324
C
3438Tue Feb 20 17:32:05 1996 J.T. Conklin <[email protected]>
3439
eb224848
C
3440 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
3441
48d27324
C
3442 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
3443 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3444 #ifdef'd out definitions --- Causes serious gdb failures on
3445 the i386. Need to investigate further before enabling.
3446
3447 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
3448 fetch_core_registers): New functions. These functions are defined
3449 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
3450 with ptrace PT_GETREGS/PT_SETREGS.
3451
95f6f926
SG
3452Tue Feb 20 16:55:06 1996 Stu Grossman ([email protected])
3453
3454 * findvar.c (extract_floating store_floating): Replace `long
3455 double' with `DOUBLEST'.
3456
cb91ea56
C
3457Mon Feb 19 15:25:51 1996 J.T. Conklin <[email protected]>
3458
3459 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3460 Define.
3461
9263da6f
JL
3462Mon Feb 19 10:32:05 1996 Jeffrey A Law ([email protected])
3463
3464 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
3465
3466 * breakpoint.h (remove_solib_event_breakpoints): Declare.
3467 * breakpoint.c (remove_solib_event_breakpoints): New function.
3468 * somsolib.c (solib_create_inferior_hook): Remove all solib event
3469 breakpoints before inserting any new ones. Use a solib event
3470 breakpoint for the breakpoint at "_start".
3471 Remove extraneous "\n" from calls to warning.
3472
3473 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
3474 name array.
3475
0708e99f
FF
3476Mon Feb 19 01:09:32 1996 Doug Evans <[email protected]>
3477
3478 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
3479 for CORE_ADDR values.
3480 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
3481 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
3482
08dc1eeb
PS
3483Sun Feb 18 14:37:13 1996 Peter Schauer ([email protected])
3484
3485 * mipsread.c (mipscoff_symfile_read): Unconditionally add
3486 alpha coff dynamic symbols for all symbol files. Makes skipping
3487 over the trampoline code work when stepping from a function in a
3488 shared library into a function in a different shared library.
3489
1d6afd7f
SG
3490Sun Feb 18 09:27:10 1996 Stu Grossman ([email protected])
3491
3492 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
3493 RETURN_VALUE_ON_STACK to return long doubles on the stack.
3494
0708e99f 3495Sat Feb 17 16:33:11 1996 Fred Fish <[email protected]>
176b2bee
FF
3496
3497 * Makefile.in (ch-exp.o): Add dependencies.
3498 (various): Add gdb_string.h to dependencies that need it.
3499
dcb6a7c0
FF
3500Sat Feb 17 08:57:50 1996 Fred Fish <[email protected]>
3501
3502 * symmisc.c (print_symbol_bcache_statistics): Update description for
3503 printing byte cache statistics.
3504
aa220473
SG
3505Thu Feb 16 16:02:03 1996 Stu Grossman ([email protected])
3506
3507 * Add native support for long double data type.
3508 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
3509 to store actual data. Change types of INT and FLOAT tokens to
3510 typed_val_int and typed_val_float respectively. Create new token
3511 DOUBLE_KEYWORD to specify the string `double'. Make production
3512 for FLOAT use type determined by parse_number. Add production for
3513 "long double" data type.
3514 * (parse_number): Use sscanf to parse numbers as float, double or
3515 long double depending upon the type of typed_val_float.dval. Also
3516 allow user to specify `f' or `l' suffix to explicitly specify
3517 float or long double constants. Change typed_val to
3518 typed_val_int.
3519 * (yylex): Change typed_val to typed_val_int. Also, scan for
3520 "double" keyword.
3521 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
3522 type.
3523 * configure, configure.in: Add check for long double support in
3524 the host compiler.
3525 * defs.h: Define DOUBLEST appropriatly depending on whether
3526 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
3527 for functions that handle this type.
3528 * expression.h (union exp_element): doubleconst is now type
3529 DOUBLEST.
3530 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
3531 * findvar.c (extract_floating): Make return value be DOUBLEST.
3532 Also, add support for numbers with size of long double.
3533 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
3534 floating types.
3535 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
3536 DOUBLEST.
3537 * valarith.c (value_binop): Change temp variables v1, v2 and v to
3538 type DOUBLEST. Coerce type of result to long double if either op
3539 was of that type.
3540 * valops.c (value_arg_coerce): If argument type is bigger than
3541 double, coerce to long double.
3542 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
3543 arg type is float and > 8 bytes, then use pointer-to-object
3544 calling conventions.
3545 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
3546 Use appropriate format and precision to print out floating point
3547 values.
3548 * value.h: Fixup prototypes for value_as_double,
3549 value_from_double, and unpack_double to use DOUBLEST.
3550 * values.c (record_latest_value): Remove check for invalid
3551 floats. Allow history to store them so that people may examine
3552 them in hex if they want.
3553 * (value_as_double unpack_double): Change return value to DOUBLEST.
3554 * (value_from_double): Arg `num' is now DOUBLEST.
3555 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
3556 specific) to expect certain types to always be returned on the stack.
3557
2ad5709f
FF
3558Fri Feb 16 14:00:54 1996 Fred Fish <[email protected]>
3559
3560 * bcache.c, bcache.h: New files to implement a byte cache.
3561 * Makefile.in (SFILES): Add bcache.c.
3562 (symtab_h): Add bcache.h.
3563 (HFILES_NO_SRCDIR): add bcache.h
3564 (COMMON_OBJS): Add bcache.o
3565 (bcache.o): New target.
3566 * dbxread.c (start_psymtab): Make global_syms & static_syms
3567 type "partial_symbol **".
3568 * hpread.c (hpread_start_symtab): Ditto.
3569 * os9kread.c (os9k_start_psymtab): Ditto.
3570 * stabsread.h (start_psymtab): Ditto.
3571 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
3572 * maint.c (maintenance_print_statistics): Call
3573 print_symbol_bcache_statistics.
3574 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3575 and free pointers.
3576 * solib.c (allocate_rt_common_objfile): Ditto.
3577 * symfile.c (reread_symbols): Ditto.
3578 (free_objfile): Free psymbol bcache when objfile is freed.
3579 (objfile_relocate): Use new indirect psymbol pointers.
3580 * objfiles.h (struct objfile): Add psymbol cache.
3581 * symfile.c (compare_psymbols): Now passed pointers to pointers to
3582 psymbols.
3583 (reread_symbols): Free psymbol bcache when freeing other objfile
3584 resources.
3585 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3586 psymbol using the psymbol bcache.
3587 (init_psymbol_list): Psymbol lists now contain pointers rather than
3588 the actual psymbols.
3589 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3590 grown arrays of pointers.
3591 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3592 bcache.
3593 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
3594 to partial symbol.
3595 (print_symbol_bcache_statistics): New function to print per objfile
3596 bcache statistics.
3597 (print_partial_symbol, print_partial_symbols,
3598 maintenance_check_symtabs, extend_psymbol_list):
3599 Account for change to pointer to pointer to partial symbol.
3600 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
3601 make_symbol_completion_list):
3602 Account for change to pointer to pointer to partial symbol.
3603 * symtab.h (bcache.h): Include.
3604 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
3605 type "partial_symbol **".
3606
4a1d2ce2
FF
3607Fri Feb 16 10:02:34 1996 Fred Fish <[email protected]>
3608
3609 * dwarfread.c (free_utypes): New function.
3610 (read_file_scope): Call free_utypes as cleanup, rather than just
3611 freeing the utypes pointer.
3612
81afee37
FF
3613Thu Feb 15 21:40:52 1996 Peter Schauer ([email protected])
3614
3615 * demangle.c (is_cplus_marker): New function, checks if a
3616 character is one of the commonly used C++ marker characters.
3617 * defs.h (is_cplus_marker): Add prototype.
3618 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
3619 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
3620 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
3621 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
3622 values.c (vb_match): Use is_cplus_marker instead of comparison
3623 with CPLUS_MARKER.
3624
14b22711
FF
3625Thu Feb 15 18:08:13 1996 Fred Fish <[email protected]>
3626
3627 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
3628 delete entirely someday.
3629
884fb64c
SS
3630Thu Feb 15 15:25:34 1996 Stan Shebs <[email protected]>
3631
3632 * mpw-make.sed: Edit out makefile rebuild rule.
3633 (host_alias, target_alias): Comment out instead of deleting.
3634 (@LIBS@): Edit out references.
3635
f1d39876
FF
3636Tue Feb 13 22:56:46 1996 Fred Fish <[email protected]>
3637
3638 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3639 Use n_psyms in OBJSTAT, not psyms.
3640
3641Mon Feb 12 15:59:31 1996 Doug Evans <[email protected]>
3642
3643 * configure.in (sparclet-*-aout*): New config.
3644 * configure: Regenerated.
3645
c37c7c6c
FF
3646Mon Feb 12 14:17:52 1996 Fred Fish <[email protected]>
3647
3648 * somsolib.c (som_solib_add): Use xmalloc rather than bare
3649 unchecked call to malloc.
3650 * remote-mips.c (pmon_load_fast): ditto.
3651 * remote-mm.c (mm_open): ditto.
3652 * hpread.c (hpread_lookup_type): ditto.
3653 * remote-adapt.c (adapt_open): ditto.
3654
6405302d
FF
3655Mon Feb 12 13:11:32 1996 Fred Fish <[email protected]>
3656
3657 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
3658 allocate_saved_f77_common_node, allocate_common_entry_node,
3659 add_common_block): Use xmalloc rather than malloc, some of which
3660 were unchecked.
3661 * gnu-regex.c: At same point as other gdb specific changes
3662 #undef malloc and then #define it to xmalloc.
3663 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
3664 bare unchecked calls to malloc/realloc.
3665 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
3666 unchecked call to malloc.
3667
ff7116e2
SG
3668Wed Feb 7 11:31:26 1996 Stu Grossman ([email protected])
3669
3670 * symtab.c (gdb_mangle_name): Change opname var to be const to
3671 match return val of cplus_mangle_name.
3672 * i960-tdep.c: Change arg types of next_insn to match callers.
3673
b0ee0cf2
FF
3674Wed Feb 7 07:34:24 1996 Fred Fish <[email protected]>
3675
3676 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
3677 apparently aren't needed in any reasonably recent version of
3678 linux.
3679
ec49fc98
PB
3680Tue Feb 6 21:37:03 1996 Per Bothner <[email protected]>
3681
3682 * stabsread.c (read_range_type): If !self-subrange and language
3683 is Chill, assume a true range. If a true_range is a sub_subrange,
3684 use builtin_type_int for index_type.
3685
3686Tue Feb 6 18:38:51 1996 J.T. Conklin <[email protected]>
3687
3688 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
3689 with an ANSI compiler.
3690
f0b0d915
TT
3691start-sanitize-gdbtk
3692Tue Feb 6 16:31:25 1996 Tom Tromey <[email protected]>
3693
3694 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
3695 double-clicking will work again.
3696 (create_asm_win): Put "break" at end of all B1 bindings.
3697 (create_file_win): Lower "sel" tag, don't raise it.
3698 (ensure_line_visible): New proc.
3699 (update_listing, update_assembly): Use it.
3700 (create_copyright_window): Destroy window on Leave event.
3701 (create_command_window): Put "break" at end of all B2 bindings.
3702
3703end-sanitize-gdbtk
263af172
SC
3704Mon Feb 5 18:24:28 1996 Steve Chamberlain <[email protected]>
3705
3706 From [email protected] (Michael Snyder):
3707 * valops.c (value_arg_coerce): Coerce float to double, unless the
3708 function prototype specifies float.
3709
fc71ad23 3710Mon Feb 5 09:51:55 1996 Tom Tromey <[email protected]>
8bdae156 3711
fc71ad23
TT
3712 * language.c (set_language_command): Use languages table when
3713 printing available languages.
3714
3715Sat Feb 3 12:22:05 1996 Fred Fish <[email protected]>
3716
3717 Fix problems reported by Hans Verkuil ([email protected]):
3718 * command.c (add_cmd): Add missing initialization for enums member.
3719 Reorder members to match structure declaration to make it easier to
3720 tell when one is missing.
3721 * exec.c (exec_file_command): Fix problem where filename in malloc'd
3722 memory is referenced after being freed.
8bdae156 3723
255181a9
PS
3724Sat Feb 3 03:26:21 1996 Peter Schauer ([email protected])
3725
3726 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
3727 AT_name tag is missing.
3728
3729 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
3730 FLTWATCH and FLTKWATCH are defined.
3731
3732 * remote.c (remote_read_bytes): Advance memaddr for transfers,
3733 return number of bytes transferred for partial reads.
3734
3735 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
3736
454ffae5
SC
3737Fri Feb 2 13:40:50 1996 Steve Chamberlain <[email protected]>
3738
3739 * win32-nat.c (mappings): Add ppc registers.
9a763320 3740 (child_resume): Turn off step for ppc.
454ffae5 3741
3d78f532
SC
3742Thu Feb 1 10:29:31 1996 Steve Chamberlain <[email protected]>
3743
3744 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
3745 xm-cygwin32.h): New.
3746 * config/i386/(*win32*): Becomes *cygwin32*.
3747 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
3748 (powerpcle-*-cygwin32): New.
3749 * configure: Regenerate.
3750 * win32-nat.c (child_create_inferior): Call CreateProcess
3751 with the right program arg.
3752
4ad70253
JL
3753Thu Feb 1 11:01:10 1996 Jeffrey A Law ([email protected])
3754
3755 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
3756
0db5a6fe
FF
3757Wed Jan 31 19:01:28 1996 Fred Fish <[email protected]>
3758
3759 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
3760
28bc5ef7
SS
3761Wed Jan 31 18:36:27 1996 Stan Shebs <[email protected]>
3762
97abaf19
SS
3763 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
3764
28bc5ef7
SS
3765 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
3766
97abaf19
SS
3767 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
3768 here from config/i386/xm-i386mach.h, fix name.
3769 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
3770 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
3771 here from config/i386/xm-ptx4.h.
3772 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
3773 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
3774 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
3775 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
3776 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
3777
28bc5ef7
SS
3778 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
3779 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
3780 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 3781
17280c3f
JL
3782Wed Jan 31 17:20:26 1996 Jeffrey A Law ([email protected])
3783
3784 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
3785 floating point correctly.
3786 (STORE_RETURN_VALUE): Likewise.
3787 * config/pa/tm-pro.h (SOFT_FLOAT): define.
3788
44e9f3b3
FF
3789Wed Jan 31 13:34:52 1996 Fred Fish <[email protected]>
3790
3791 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
3792 Define to what should be reasonable values. However, apparently
3793 a bug in linux mmap prevents mapped symbol tables from working.
3794
ad1e42be
FF
3795Tue Jan 30 18:26:19 1996 Fred Fish <[email protected]>
3796
3797 * defs.h (errno.h>: Move #include closer to head of file to solve
3798 obscure problem with systems that declare perror with const arg, in
3799 both errno.h and stdio.h, and const is defined away by intervening
3800 local include.
3801
d3ba76fc
FF
3802Tue Jan 30 15:41:10 1996 Fred Fish <[email protected]>
3803
3804 From Jon Reeves <[email protected]>:
3805 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
3806 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
3807
f6ade5dd
FF
3808Mon Jan 29 19:05:58 1996 Fred Fish <[email protected]>
3809
3810 * Makefile.in (diststuff): Make all-doc; diststuff target does not
3811 exist in doc/Makefile.in.
3812
cdea3fd3
SS
3813Mon Jan 29 18:44:57 1996 Stan Shebs <[email protected]>
3814
3815 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
3816
d221b17e
WM
3817Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <[email protected]>
3818
cdea3fd3
SS
3819 * ch-valprint.c (calculate_array_length): New function to
3820 determine the length of an array type.
d221b17e
WM
3821 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
3822 array type is zero, call calculate_array_length.
3823
cdea3fd3
SS
3824 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
3825 values may not be sorted. Scan all entries and set the real lower
3826 and upper bound.
d221b17e 3827
fa9f5840
FF
3828Sun Jan 28 15:50:42 1996 Fred Fish <[email protected]>
3829
3830 * config/xm-linux.h: Move include of solib.h and #define of
3831 SVR4_SHARED_LIBS from here ...
3832 * config/nm-linux.h: ...to here.
3833
4708ac65
FF
3834Sat Jan 27 10:34:05 1996 Fred Fish <[email protected]>
3835
3836 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
3837 Also check for gregset_t and fpregset_t types.
3838 * configure: Regenerate.
3839 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
3840 is defined.
3841 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
3842 and HAVE_FPREGSET_T are defined. These changes allow systems
3843 like linux that are migrating to /proc support to use a single
3844 configuration for both new and old versions.
3845
3846 * config/i386/linux.mt: Note that this is now for both a.out and
3847 ELF systems.
3848 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
3849 i386v4-nat.o
3850 * config/i386/tm-linux.h (tm-sysv4.h): Include.
3851 * config/i386/xm-linux.h (solib.h): Include
3852 (SVR4_SHARED_LIBS): Define.
3853 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
3854 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
3855 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
3856 defined.
4708ac65 3857
a77bf669
SS
3858Fri Jan 26 13:48:14 1996 Stan Shebs <[email protected]>
3859
3860 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
3861 * config/i386/xm-sun386.h: Ditto.
3862 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
3863
3864Thu Jan 25 16:05:53 1996 Tom Tromey <[email protected]>
3865
3866 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
3867
a4b4479a
SC
3868Thu Jan 25 09:22:15 1996 Steve Chamberlain <[email protected]>
3869
3870 From Greg McGary <[email protected]>:
3871 * dcache.c (dcache_peek, dcache_poke): Advance addr for
3872 multi-byte I/O.
3873
4133a76e
JL
3874Thu Jan 25 13:08:51 1996 Doug Evans ([email protected])
3875
3876 * infrun.c (normal_stop): Fix test for shared library event.
3877
146ee7db
DE
3878Thu Jan 25 03:26:38 1996 Doug Evans <[email protected]>
3879
3880 * configure.in (sparc64-*-*): Add default host configuration.
3881start-sanitize-gdbtk
3882 (sparc64-*-solaris2* host): Link statically if GCC used.
3883end-sanitize-gdbtk
3884 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 3885 * configure: Regenerated.
146ee7db
DE
3886 * sparc/sp64sol2.mt: New file.
3887
76336191
DE
3888Wed Jan 24 22:31:37 1996 Doug Evans <[email protected]>
3889
3890 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
3891
1a57cd09
TT
3892Wed Jan 24 15:42:24 1996 Tom Tromey <[email protected]>
3893
3894 * Makefile.in (lint): Close backquotes.
3895
3896start-sanitize-gdbtk
3897Wed Jan 24 15:28:41 1996 Tom Tromey <[email protected]>
3898
3899 * gdbtk.tcl, gdbtk.c: Updated copyrights.
3900
3901 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
3902 greater.
3903 * configure: Rebuilt.
3904
3905end-sanitize-gdbtk
e8f1ad9a
FF
3906Wed Jan 24 13:19:10 1996 Fred Fish <[email protected]>
3907
3908 * NEWS: Make note of new record and replay feature for
3909 remote debug sessions.
3910 * serial.c (gdbcmd.h): Include.
3911 (serial_logfile, serial_logfp, serial_reading, serial_writing):
3912 Define here, for remote debug session logging.
3913 (serial_log_command, serial_logchar, serial_write, serial_readchar):
3914 New functions for remote debug session logging.
3915 (serial_open): Open remote debug session log file when needed.
3916 (serial_close): Close remote debug session log file when needed.
3917 (_initialize_serial): Add set/show commands for name of remote
3918 debug session log file.
3919 * serial.h (serial_readchar): Declare
3920 (SERIAL_READCHAR): Call serial_readchar().
3921 (SERIAL_WRITE): Call serial_write().
3922 (serial_close): Declare as extern.
3923 (serial_logfile, serial_logfp): Declare.
3924 * top.c (execute_command): Declare serial_logfp. Log user command
3925 in remote debug session log if log file is open.
3926 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
3927 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
3928 * remote-array.c (SREC_SIZE): Remove, duplicates define in
3929 monitor.h.
3930 * remote-array.c (hexchars, hex2mem): Remove, unused.
3931 * gdbserver/low-linux.c (store_inferior_registers): Remove
3932 unnecessary extern declaration of registers[].
3933 * gdbserver/Makefile.in (all): Add gdbreplay.
3934 * gdbserver/gdbreplay.c: New file.
3935 * gdbserver/README: Give example of recording a remote
3936 debug session with gdb and then replaying it with gdbreplay.
3937
c6038971
PB
3938Tue Jan 23 18:02:35 1996 Per Bothner <[email protected]>
3939
3940 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
3941 (read_one_struct_field): Support boolean bitfields.
3942 * c-valprint.c (c_val_print): Print booleans properly.
3943
5a8d8b8d
SS
3944Tue Jan 23 18:54:09 1996 Stan Shebs <[email protected]>
3945
3946 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
3947 Remove, never used.
3948 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
3949
ec5f347c
PB
3950Tue Jan 23 14:36:05 1996 Per Bothner <[email protected]>
3951
9293e886
PB
3952 * ch-exp.c (parse_tuple): Error if invalid mode.
3953
533bda77
PB
3954 * value.h (COERCE_ARRAY): Don't coerce enums.
3955 (COERCE_ENUM): Don't COERCE_REF.
3956 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
3957 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
3958 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
3959 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
3960 Add COERCE_REF before COERCE_ENUM.
3961 * values.c (value_as_long): Simplify.
3962
3963 * valops.c (value_array): Create internalvar if !c_style_arrays.
3964
ec5f347c
PB
3965 * language.c (lang_bool_type): Add Fortran support.
3966 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
3967
87273c71
JL
3968Tue Jan 23 13:08:26 1996 Jeffrey A Law ([email protected])
3969
3970 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
3971 All references changed.
3972 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
3973 Update state table. Reformat so that it's still readable.
3974 When we hit the shlib_event breakpoint, set the calss of shlib_event.
3975 (breakpoint_1): Add "shlib events" as a breakpoint type.
3976 Print the shlib_event breakpoint like other breakpoints.
3977 (create_solib_event_breakpoint): New function.
3978 (breakpoint_re_set_one): Handle solib_event breakpoints.
3979 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
3980 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
3981 action.
3982 (create_solib_event_breakpoint): Declare.
3983 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
3984 (normal_stop): Inform the user when the inferior stoped due
3985 to a shared library event.
a77bf669 3986 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
3987 to control whether or not gdb continues the inferior or stops it when
3988 a shared library event occurs.
3989 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
3990 * somsolib.c (TODO list): Update.
3991 (som_solib_create_inferior_hook): Arrange for gdb to be notified
3992 when significant shared library events occur.
3993 * hppa-tdep.c (find_unwind_entry): No longer static.
3994
fc941258
DE
3995Tue Jan 23 09:00:48 1996 Doug Evans <[email protected]>
3996
5a8d8b8d
SS
3997 * printcmd.c (print_insn): Pass fprintf_unfiltered to
3998 INIT_DISASSEMBLE_INFO.
3999start-sanitize-gdbtk
4000 * gdbtk.c (gdb_disassemble): Likewise.
4001end-sanitize-gdbtk
fc941258 4002
b3fd4c06
SS
4003Mon Jan 22 16:59:40 1996 Stan Shebs <[email protected]>
4004
4005 * remote.c (remotebreak): New GDB variable.
4006 (remote_break): New global.
4007 (remote_interrupt): Send a break instead of ^C if remote_break.
4008 * NEWS: Describe the new variable.
4009
d2f5fa49
DE
4010Mon Jan 22 16:24:11 1996 Doug Evans <[email protected]>
4011
4012 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
4013
8c038399
FF
4014Fri Jan 19 07:19:38 1996 Fred Fish <[email protected]>
4015
4016 * hp300ux-nat.c (getpagesize): Remove unused function
4017 fetch_core_registers.
4018 (hp300ux_core_fns): Remove, is unused.
4019 (_initialize_core_hp300ux): Remove, is unused.
4020 (gdbcore.h): Remove #include, no longer needed.
4021
a0d76829
JL
4022Fri Jan 19 00:59:53 1996 Jeffrey A Law ([email protected])
4023
4024 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
4025 ptrace bug in aix4.1.3 on the rs6000.
4026
b6768627
SS
4027Wed Jan 17 13:22:27 1996 Stan Shebs <[email protected]>
4028
4029 * remote-hms.c (hms_ops): Add value for to_thread_alive.
4030 * remote-nindy.c (nindy_ops): Ditto.
4031 * remote-udi.c (udi_ops): Ditto.
4032
090d784a
JSC
4033Tue Jan 16 18:00:35 1996 James G. Smith <[email protected]>
4034
4035 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
4036 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
4037 pmon_load_fast): New functions. Support for the PMON monitor world.
4038 (common_open): New function to merge support for different monitors.
4039 (mips_open): Use common_open().
4040 (mips_send_command): New function.
4041 (mips_send_packet): Scan out-of-sequence packets.
4042 (mips_enter_debug, mips_exit_debug): New functions.
4043 (pmon_ops): New target definition structure.
4044
4e327047
TT
4045Tue Jan 16 11:22:58 1996 Stu Grossman ([email protected])
4046
4047 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
4048 specified on the make command line (via make LIBS=xxx).
4049start-sanitize-gm
4050 * configure.in (enable-gm): magic.o -> gmagic.o.
4051end-sanitize-gm
4052
4053start-sanitize-gdbtk
4054Mon Jan 15 09:58:41 1996 Tom Tromey <[email protected]>
4055
4056 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
4057 (add_expr): Changes from create_expr_window.
4058 (create_command_window): Set focus.
4059 (delete_expr): Rewrote.
4060 (expr_update_button): New proc.
4061 (add_expr): Put bindings on FocusIn, FocusOut.
4062 Don't allow .file_popup to be torn off.
4063end-sanitize-gdbtk
4064
1aac3d3c
JL
4065Fri Jan 12 21:41:58 1996 Jeffrey A Law ([email protected])
4066
4067 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4068 is set but there are no psymtabs.
4069
c84e5000
SC
4070Fri Jan 12 15:56:12 1996 Steve Chamberlain <[email protected]>
4071
4072 * dsrec.c (load_srec): Remove unused variable.
1ef980b9 4073 * monitor.c (monitor_expect): Don't expect a ^C to echo.
c84e5000
SC
4074 * serial.c (serial_open): Add parallel interface.
4075 * sh3-rom.c (parallel, parallel_in_use): New.
4076 (sh3_load): If parallel_in_use, download though the
4077 parallel port.
4078 (sh3_open): Open parallel port if specified.
4079 (sh3_close): New function.
4080 (_inititalize_sh3): Add sh3_close hook and documentation.
4081 * monitor.c (monitor_close): Export.
4082 * monitor.h (monitor_close): Add prototype.
4083
2c441e7f
SS
4084Fri Jan 12 13:11:42 1996 Stan Shebs <[email protected]>
4085
4086 From Wilfried Moser <[email protected]>:
4087 * remote.c (remotetimeout): New GDB variable, use to set the
4088 remote timeout for reading.
4089
4e327047
TT
4090start-sanitize-gdbtk
4091Fri Jan 12 09:36:17 1996 Tom Tromey <[email protected]>
4092
4093 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
4094 (update_listing): Use lassign. Use "see" to scroll. Don't need
4095 screen_top, screen_bot, screen_height.
4096 (update_assembly): Use "see" to scroll.
4097 (textscrollproc): Removed.
4098 (create_file_win): Don't use textscrollproc.
4099 (asmscrollproc): Removed.
4100 (create_asm_window): Don't use asmscrollproc.
4101 (create_asm_win): Ditto.
4102 (screen_height, screen_top, screen_bot): Removed.
4103 (run_editor): New proc.
4104 (build_framework): Use it.
4105 (create_file_win, create_source_window): Don't use textscrollproc.
4106 (create_breakpoints_window): Set -xscrollcommand on canvas.
4107 (not_implemented_yet): Default button is 0.
4108 (delete_char): Don't use tk_textBackspace.
4109 (create_command_window): Allow Tk bindings to fire after deleting
4110 character.
4111 (create_command_window): Make Delete delete left, not right.
4112end-sanitize-gdbtk
4113
517cb8d7 4114Fri Jan 12 07:14:27 1996 Fred Fish <[email protected]>
3730a0ed
FF
4115
4116 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
4117 to get "struct core_fns" defined.
4118 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 4119 Are dependent upon gdbcore_h.
3730a0ed 4120
7ef89313
PB
4121Thu Jan 11 23:13:24 1996 Per Bothner <[email protected]>
4122
4123 * symfile.c (decrement_reading_symtab): New function.
4124 * symfile.c, symtab.h (currently_reading_symtab): New variable.
4125 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
4126 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
4127 currently_reading_symtab (since that could infinitely recurse).
4128
1c486a2b
PB
4129Thu Jan 11 17:21:25 1996 Per Bothner <[email protected]>
4130
34cfa2da
PB
4131 * stabsread.c (read_struct_type): Trivial simplification.
4132
1c486a2b
PB
4133 * stabsread.c (define-symbol): Use invisible references
4134 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 4135 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
4136 * eval.c (evaluate_subexp_standard): When known, use the formal
4137 parameter type as the expected type when evaluating arg expressions.
4138 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
4139
4e327047
TT
4140start-sanitize-gdbtk
4141Thu Jan 11 10:08:14 1996 Tom Tromey <[email protected]>
4142
4143 * main.c (main): Disable window interface if --help or --version
4144 specified.
4145
4146 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
4147
4148 Changes in sync with expect:
4149 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
4150 CY_AC_PATH_TK.
4151 * aclocal.m4: Replaced with version from expect.
4152 * configure: Regenerated.
4153end-sanitize-gdbtk
a1df8e78 4154
a1956677
BK
4155Wed Jan 10 16:08:49 1996 Brendan Kehoe <[email protected]>
4156
4157 * configure.in, configure: Recognize rs6000-*-aix4*.
4158 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
4159 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
4160 * config/rs6000/xm-aix4.h: New file.
4161 * config/xm-aix4.h: New file.
4162
3730a0ed 4163Wed Jan 10 11:25:37 1996 Fred Fish <[email protected]>
0d14c7df
FF
4164
4165 From Wilfried Moser <[email protected]>:
4166 * gdbserver/low-linux.c: New file.
4167 * remote.c (remote_read_bytes): Fix aborts on larger packets.
4168
4169 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
4170 Define.
4171 * stabsread.c (define_symbol): If register value is too large,
4172 tell what it is and what max is.
4173
4e327047
TT
4174start-sanitize-gdbtk
4175Wed Jan 10 09:07:22 1996 Tom Tromey <[email protected]>
4176
4177 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
4178 gdbtk_tcl_flush): Use "see", not "yview".
4179 (gdbtk_tcl_query): Use questhead bitmap.
4180 various: Always wrap condition of 'if' in {...}.
4181 (add_breakpoint_frame): Set -value on radiobuttons.
4182 (lassign): New proc.
4183 (add_breakpoint_frame): Use lassign, not series of assignments.
4184 (decr): Made faster.
4185 (interactive_cmd): Use "see", not "yview".
4186 (not_implemented_yet): Use warning bitmap.
4187 (update_expr): Don't allow $expr to be evalled by Tcl.
4188 (create_expr_window): Don't use "focus".
4189 (delete_char, delete_line): Define globally.
4190 (delete_line, delete_char, create_command_window, update_autocmd,
4191 build_framework, create_asm_win, create_file_win): Use "see", not
4192 "yview".
4193 (create_copyright_window, center_window, bind_widget_after_class):
4194 New procs.
4195 (FSBox,create_command_window, create_autocmd_window): Binding
4196 changes for Tk4.
4197 (textscrollproc): Define globally.
4198 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
4199 Home, End, Up, and Down are all defined by Tk.
4200 (apply_filespec): Use error bitmap in dialog.
4201 (files_command): Don't use tk_listboxSingleSelect.
4202 (files_command): Don't use "uniq" to remove duplicates from a
4203 list.
4204 (update_assembly): Use lassign.
4205 (create_asm_win): Removed redundant bindings.
4206 (listing_window_button_1, file_popup_menu): Use tk_popup.
4207 (ButtonRelease-1 binding): Just remove tag from window; rest
4208 handled by Tk.
4209
4210 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
4211 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
4212 (gdbtk_call_command): Ditto.
4213end-sanitize-gdbtk
4214
60d5a517
JL
4215Tue Jan 9 09:33:53 1996 Jeffrey A Law ([email protected])
4216
4217 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
4218 enum namespace -> enum_namespace change.
4219
d1f5c804
WM
4220Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <[email protected]>
4221
2c441e7f
SS
4222 * ch-exp.c (parse_primval): In case ARRAY, add missing
4223 FORWARD_TOKEN ().
d1f5c804 4224
1f233758
SS
4225Mon Jan 8 13:29:34 1996 Stan Shebs <[email protected]>
4226
4227 * remote-mips.c (mips_receive_header): Recognize \012 instead
4228 of \n, but write \n when program sends a \012.
4229 * ser-mac.c (mac_input_buffer): Increase size of buffer.
4230
ed3b618d
JL
4231Mon Jan 8 12:00:40 1996 Jeffrey A Law ([email protected])
4232
4233 * infptrace.c (initialize_infptrace): Move function out of
4234 #ifdef conditional; put code within the function inside an
4235 #ifdef conditional.
436d4143
JL
4236
4237 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
4238 arguments. Sorting is now dependent on OBJF_REORDERED. All
4239 callers/references changed.
4240 * dbxread.c (read_ofile_symtab): Correctly determine value for
4241 last_source_start_addr for reordered executables.
4242 (process_one_symbol): Handle N_FUN with no name as an end of
4243 function marker.
4244 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
4245 is the high text address for a psymtab.
4246 (case N_SO): Likewise.
4247 (case N_FUN): Handle N_FUN with no name as an end of function
4248 marker.
4249 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
4250 at the same address rather than a random subset of them.
4251 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
4252 * elfread.c (elf_symfile_init): Similarly.
4253 * somread.c (som_symfile_init): Similarly.
4254 * xcoffread.c (xcoff_symfile_init): Similarly.
4255
5351b2a0
SG
4256Fri Jan 5 17:46:01 1996 Stu Grossman ([email protected])
4257
4258 * stack.c (print_stack_frame print_frame_info) symmisc.c
4259 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
4260 that catch_errors doesn't get blindsided by QUIT and lose the
4261 cleanup chain. This fixes a problem where ^C while in a
4262 user-defined command sometimes leaves instream NULL and causes a
4263 segfault in command_loop.
4264
127841e4
BK
4265Fri Jan 5 13:59:16 1996 Brendan Kehoe <[email protected]>
4266
4267 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
4268
6b4fe21d
SC
4269Fri Jan 5 12:02:00 1996 Steve Chamberlain <[email protected]>
4270
4271 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
4272 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
4273 srec.o renamed to dsrec.o.
4274
0fe1522a
SG
4275Thu Jan 4 16:04:54 1996 Stu Grossman ([email protected])
4276
4277 * breakpoint.c (remove_breakpoint): Change error to warning so
4278 that hardware watchpoint removal problems won't leave breakpoint
4279 traps in the target.
d039321c 4280start-sanitize-gdbtk
0fe1522a 4281 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 4282end-sanitize-gdbtk
0fe1522a
SG
4283 * remote-e7000.c (e7000_insert_breakpoint,
4284 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
4285 breakpoints.
4286 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
4287 compensate for e7000 maladjustment.
4288 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
4289 which prevented hardware watchpoints from working.
4290
517cb8d7 4291Thu Jan 4 10:44:17 1996 Fred Fish <[email protected]>
7531f36e
FF
4292
4293 * infptrace.c (udot_info): New function.
4294 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
4295 * rs6000-nat.c (kernel_u_size): New function
4296 Include <sys/user.h> for "struct user"
7531f36e
FF
4297 * alpha-nat.c (kernel_u_size): New function.
4298 Include <sys/user.h> for "struct user"
7531f36e
FF
4299 * sparc-nat.c (kernel_u_size): New function.
4300 Include <sys/user.h> for "struct user"
7531f36e 4301 * i386b-nat.c (kernel_u_size): New function.
7531f36e 4302 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
4303 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
4304 (kernel_u_size): Declare.
7531f36e
FF
4305 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
4306 (kernel_u_size): Declare.
7531f36e
FF
4307 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
4308 (kernel_u_size): Declare.
7531f36e
FF
4309 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
4310 (kernel_u_size): Declare.
7531f36e
FF
4311 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
4312 (kernel_u_size): Declare.
7531f36e 4313
1750a5ef
SC
4314Thu Jan 4 11:00:01 1996 steve chamberlain <[email protected]>
4315
4316 * mdebugread.c (mylookup_symbol): enum namespace becomes
4317 enum_namespace type.
4318 * symfile.c (add_psymbol_to_list)
4319 (add_psymbol_addr_to_list): Ditto.
4320 * symtab.c (lookup_partial_symbol): Ditto.
4321 (lookup_symbol): Ditto.
4322 (lookup_block_symbol): Ditto.
4323 * win32-nat.c (handle_load_dll): Use incoming dll base.
4324 (child_wait): Catch DLL load errors.
4325 (create_child_inferior): Translated between paths correctly.
4326
e33aefba
FF
4327Wed Jan 3 23:13:53 1996 Fred Fish <[email protected]>
4328
4329 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
4330 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
4331 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
4332 of number of general regs and number of floating point regs.
e33aefba 4333
e02a2ad9
SC
4334Wed Jan 3 19:49:54 1996 steve chamberlain <[email protected]>
4335
a3b64bf9
SC
4336 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
4337 (SKIP_TRAMPOLINE_CODE): New.
4338 * config/i386/xm-win32.h (CANT_FORK): Deleted.
4339 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
4340 * symtab.h (namespace enum): becomes typedef to avoid namespace
4341 collision in C++.
4342 * infcmd.c (path_command): Use empty string if PATH name not set.
4343 * i386-tdep.c (skip_trampoline_code): New function.
4344 * srec.c: Renamed dsrec.c to avoid filename collision.
4345 * Makefile.in: Cope with renaming.
e02a2ad9 4346
ef4d6187 4347Wed Jan 3 13:09:04 1996 Fred Fish <[email protected]>
5eccb7dc 4348
ef4d6187
FF
4349 * symmisc.c (print_objfile_statistics): Print memory use statistics
4350 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 4351
ef4d6187 4352Tue Jan 2 13:41:14 1996 Stan Shebs <[email protected]>
3dcd429f 4353
ef4d6187
FF
4354 * config/mips/nm-irix5.h: Restore.
4355 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
4356 from Lee Iverson <[email protected]>.
4357 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
4358 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 4359
ef4d6187 4360For older changes see ChangeLog-95
bd5635a1
RP
4361\f
4362Local Variables:
4363mode: indented-text
4364left-margin: 8
4365fill-column: 74
4366version-control: never
4367End:
This page took 1.252163 seconds and 4 git commands to generate.