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