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