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