import gdb-1999-08-16 snapshot
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
7be570e7
JM
1Mon Aug 16 19:08:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * configure.in: Try -lsocket when looking for socketpair.
4 * configure, config.h: Re-generate.
5
61999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7
8 From Christopher Faylor <cgf@cygnus.com>:
9
10 * event-loop.c (gdb_wait_for_event): Before going to wait for
11 another event with select or poll, flush the error and the output
12 streams.
13
14 * event-top.c (gdb_readline2): Do not buffer the input, because
15 doing so can interfere with select/poll in bad ways.
16
17Fri Aug 13 17:36:56 1999 Eli Zaretskii <eliz@is.elta.co.il>
18
19 * maint.c (maintenance_dump_me) [__DJGPP__]: Simulate a core dump
20 with SIGABRT.
21 * utils.c (quit) [__MSDOS__]: Don't mention SIGINT, since it's not
22 gonna happen.
23 (notice_quit): No need to define this function for the DJGPP port.
24
251999-08-13 James Ingham <jingham@leda.cygnus.com>
26
27 * arm-tdep.c (arm_frameless_function_invocation): SKIP_PROLOGUE
28 macro no longer modifies its argument. Update uses to accord.
29
30 * config/arm/arm.mt (TDEPFILES): Add the remote-rdi.o to the
31 TDEPFILES.
32 * configure.tgt: Add rdi-share to configdir for the Arm targets.
33
34Fri Aug 13 11:16:32 1999 Jeffrey A Law (law@cygnus.com)
35
36 * hppah-nat.c (store_inferior_registers): Revamp to be PA2.0W
37 aware.
38
39 * infttrace.c (ttrace_write_reg_64): New function.
40
41 * hp-symtab-read.c (is_in_import_list): Delete extern declaration.
42 * somread.c (is_in_import_list): Delete function.
43 * objfiles.c (is_in_import_list): New function.
44 * objfiles.h (is_in_import_list): Declare.
45
46 * config/pa/tm-hppa64.h (GDB_TARGET_IS_HPPA20W): Define before
47 including tm-hppah.h.
48 (PC_IN_CALL_DUMMY): Define.
49 (HPUX_1100): Similarly.
50 * config/pa/tm-hppa.h (somsolib.h, pa64solib.h): Conditionalize
51 includes on GDB_TARGET_IS_HPPA20W.
52
53 * configure.host: Distinguish between wide and narrow modes
54 for hpux11.
55 * config/pa/hpux1100w.mh, config/pa/hpux1100w.mt: New files.
56
57 * config/pa/tm-hppa64.h (STACK_ALIGN): Redefine.
58 (REG_PARM_STACK_SPACE): Likewise.
59
60 * config/pa/tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Handle 64bit
61 PA target correctly.
62 (REG_PARM_STACK_SPACE): Define.
63 (struct unwind_table_entry): region_start and region_end are
64 CORE_ADDRs.
65 (typedef opd_data): New.
66 (obj_private_data_t): Include pointer to opd_data structure.
67
681999-08-13 Keith Seitz <keiths@cygnus.com>
69
70 * stabsread.c (stabsread_clear_cache): New funciton which clears
71 an optimization cache of the reader.
72
73 * coffread.c (coff_symfile_finish): Give stabs reader a chance to
74 clean up.
75
76 * win32-nat.c (handle_load_dll): Don't suppress re-reading symbols
77 from a DLL if an objfile for it already exists. (Not that this should
78 happen anymore anyway...)
79
801999-08-13 Keith Seitz <keiths@cygnus.com>
81
82 * config/mcore/tm-mcore.h (SAVE_DUMMY_FRAME_TOS): Define for MCore,
83 which also requires that the stack pointer be saved for call
84 dummies BEFORE arguments get pushed onto it.
85
861999-08-12 Stan Shebs <shebs@andros.cygnus.com>
87
88 From Eli Zaretskii <eliz@is.elta.co.il>:
89 * source.c (mod_path) [_WIN32 || __DJGPP__]: Don't remove trailing
90 slash from "d:/". Don't overstep the beginning of name.
91 [_WIN32 || __MSDOS__]: Convert "d:" to "d:.", otherwise appending
92 a slash changes its meaning.
93 (openp): Use SLASH_P, not equality with SLASH_CHAR.
94 (print_source_lines_base) [CRLF_SOURCE_FILES]: Skip \r only before
95 a \n.
96 (forward_search_command) [CRLF_SOURCE_FILES]: Remove \r at the end
97 of all lines.
98 (reverse_search_command) [CRLF_SOURCE_FILES]: Likewise.
99
100 * gnu-regex.c (CHAR_CLASS_MAX_LENGTH): Don't use wide characters
101 unless HAVE_BTOWC is defined.
102
103Fri Aug 13 10:20:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
104
105 From J.T. Conklin <jtc@redback.com>:
106 * gdbinit.in: Change the template .gdbinit to match the recent
107 fatal error handling change.
108
1091999-08-11 Keith Seitz <keiths@cygnus.com>
110
111 * maint.c (maintenance_internal_error): Fix typo in prototype.
112
113Wed Aug 11 15:38:05 1999 Andrew Cagney <cagney@amy.cygnus.com>
114
115 * remote.c (remote_rcmd): Pass an empty command across to the
116 target. Check for and handle an ``Enn'' return status.
117
118Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
119
120 * maint.c (_initialize_maint_cmds): Add ``maintenance
121 internal-error'' command.
122 (maintenance_internal_error): New function.
123
1241999-08-10 James Ingham <jingham@leda.cygnus.com>
125
126 * top.c: Remove the disassembly_flavor_hook, use the new set_hook
127 instead.
128 * defs.h: Ditto.
129 * arm-tdep.c (set_disassembly_flavor_sfunc): Ditto.
130
1311999-08-10 Michael Snyder <msnyder@cleaver.cygnus.com>
132
133 * config/i386/nm-i386sol2.h (FIND_NEW_THREADS): remove, obsolete.
134 * config/sparc/nm-sun4sol2.h (FIND_NEW_THREADS): remove, obsolete.
135
1361999-08-10 J.T. Conklin <jtc@redback.com>
137
138 * configure.tgt (i[3456]86-*-aout*, i[3456]86-*-coff*,
139 i[3456]86-*-elf*): Use embed.mt.
140 * config/i386/embed.mt: New file.
141
1421999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
143
144 * remote.c (remote_async_open_1): Remove casting in call to
145 add_file_handler.
146 (extended_remote_async_create_inferior): Ditto.
147
148 * event-top.c (change_line_handler): Ditto.
149 (_initialize_event_loop): Ditto.
150
151 * infrun.c (complete_execution): Ditto.
152
153 * event-loop.c (add_file_handler): Change proc parameter to be ptr
154 to func with void parameter, rather than void*. Coerce second
155 paramter in calls to create_file_handler. Replace
156 async_handler_func and file_handler_func with handler_func.
157
158 * event-loop.h: Get rid of typedefs for file_handler_func and
159 async_handler_func, just have one, and call it handler_func.
160 Replace async_handler_func and file_handler_func occurrences with
161 handler_func.
162
163Tue Aug 10 03:13:03 1999 Jeffrey A Law (law@cygnus.com)
164
165 * hppa-tdep.c: Delete random #if 0 code.
166 (is_branch): Handle new branching opcodes from PA2.0
167 (inst_saves_gr, inst_saves_fr): Handle additional instructions
168 used to save general and floating point registers in the stack.
169 (skip_prologue_hard_way): Handle additional instructions to
170 save the return pointer in the stack.
171 (after_prologue): Fix mis-guided and incorrect code to find
172 the end of the prologue using debug symbols.
173 (hppa_skip_prologue): Generally clean up comments, lose code
174 which does not apply to the PA, etc.
175
176Sun Aug 8 17:53:41 1999 Andrew Cagney <cagney@amy.cygnus.com>
177
178 * MAINTAINERS: Make Andrew Cagney the mn10300 maintainer.
179 Transfer responsibility for the PowerPC from Andrew Cagney to
180 Elena Zannoni.
181
182Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
183
184 Based on code from J.T. Conklin <jtc@redback.com>:
185 * utils.c (internal_error): Make quit? and coredump? separate
186 questions so that the user can dump-core and not quit.
187 (internal_error): Cleanup error message.
188
1891999-08-09 Tom Tromey <tromey@cygnus.com>
190
191 * kod-cisco.c (cisco_kod_open): Removed incorrect `arg' argument.
192
96baa820
JM
193Sun Aug 8 12:06:47 1999 Fred Fish <fnf@cygnus.com>
194
195 * coffread.c (process_coff_symbol): Remove section_offsets from
196 prototype and function definition. Get section_offsets from the
197 passed objfile and pass it on to callees the same way.
198 (coff_symtab_read): Ditto.
199 (coff_symfile_read): Ditto.
200 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
201 (read_dbx_symtab): Ditto.
202 (dbx_symfile_read): Ditto.
203 (coffstab_build_psymtabs): Ditto.
204 (elfstab_build_psymtabs): Ditto.
205 (stabsect_build_psymtabs): Ditto.
206 * dstread.c (dst_symfile_read): Ditto.
207 * elfread.c (elf_symfile_read): Ditto.
208 * jv-class.c (jv_class_symfile_read): Ditto.
209 * mipsread.c (mipscoff_symfile_read): Ditto.
210 * nlmread.c (nlm_symfile_read): Ditto.
211 * os9kread.c (os9k_symfile_read): Ditto.
212 * somread.c (som_symfile_read): Ditto.
213 * stabsread.h (elfstab_build_psymtabs): Ditto.
214 * xcoffread.c (xcoff_initial_scan): Ditto.
215
216 * symfile.h (sym_read): Remove section_offsets from prototype.
217 * symfile.c (syms_from_objfile): Call sym_read without
218 section_offsets.
219 (reread_symbols): Ditto.
220
221 * elfread.c (elfstab_offset_sections): Use SIZEOF_SECTION_OFFSETS
222 to allocate sections offsets array.
223 * xcoffread.c (xcoff_symfile_offsets): Ditto.
224
225 * partial-stab.h (section_offsets): Get from objfile.
226 * dbxread.c (read_dbx_symtab): Fix typo that made -1 casted
227 to a CORE_ADDR look like an subtraction expression.
228 * objfiles.h: Add some comments.
229 * symfile.c: Add some comments.
230 * objfiles.c: Add some comments.
231 (objfile_relocated): Use ALL_OBJFILE_OSECTIONS to iterate over
232 sections.
233 (find_pc_sect_sections): Use ALL_OBJSECTIONS to iterate over all
234 sections in all objfiles.
235 * symfile.c (syms_from_objfile): Use ALL_OBJFILE_OSECTIONS.
236
237 * irix5-nat.c (symbol_add_stub): Fix typo that made taking the
238 address of lowest_sect with '&' look like a bitwise and op.
239 * osfsolib.c (symbol_add_stub): Ditto.
240 * solib.c (symbol_add_stub): Ditto.
241 * symfile.c (syms_from_objfile): Ditto.
242
243 * dwarf2read.c (dwarf2_build_psymtabs_hard): Minor format tweak.
244 * symfile.c (syms_from_objfile): Ditto, and fix typo.
245 * top.c (init_main): Fix typo in comment (DEFULAT_PROMPT).
246 * doc/gdbint.texinfo (find_sym_fns): This replaces symfile_init.
247
2481999-08-08 James Ingham <jingham@leda.cygnus.com>
249
250 * remote.c (remote_insert_breakpoint): Fix typo in Z packet support.
251 Also move Z packet support OUTSIDE of REMOTE_BREAKPOINT ifdef,
252 since this is not set for all targets that support the Z packet.
253
254Fri Aug 6 17:17:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
255
256 * defs.h (fatal): Delete declaration.
257 (internal_error): Declare.
258 * utils.c (nomem): Call internal_error instead of fatal.
259 (fatal_dump_core): Delete.
260 (malloc_botch): Print message direct to stderr.
261 (fatal): Delete definition.
262 * utils.c (internal_error): Define.
263
264 * gdbarch.h, gdbarch.c, hppah-nat.c, ch-exp.c, dsrec.c, sh-tdep.c,
265 infptrace.c, f-lang.c, symm-nat.c, top.c, m3-nat.c, v850-tdep.c,
266 remote-vx.c, remote-sim.c, remote-mips.c, source.c, infcmd.c,
267 findvar.c, remote.c: Replace fatal with call to internal_error.
268
269Sun Aug 8 15:28:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
270
271 * ser-pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Move
272 definition from here.
273 * defs.h: To here.
274
275Sat Aug 7 21:44:59 1999 Fred Fish <fnf@cygnus.com>
276
277 * remote.c (remote_insert_breakpoint): Fix typo, missing ';'.
278
279Sun Aug 8 11:26:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
280
281 * mips-tdep.c (mips_gdbarch_init): Add break; to the default case.
282
283Fri Aug 6 19:26:03 1999 Andrew Cagney <cagney@b1.cygnus.com>
284
285 * defs.h: Delete #if ANSI_PROTOTYPES code, GDB assumes ISO-C.
286 * remote-rdp.c (send_rdp), remote-os9k.c (printf_monitor),
287 remote-mips.c: (mips_error), remote-array.c: (printf_monitor,
288 debuglogs), complaints.c (complain), monitor.c:
289 (monitor_printf_noecho, monitor_printf), language.c (type_error,
290 range_error), remote-st.c: (printf_stdebug), remote-sim.c
291 (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
292 gdb_os_evprintf_filtered, gdb_os_error), serial.c (serial_printf),
293 utils.c (warning, error, fatal, fatal_dump_core, (query,
294 fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
295 printf_filtered, printf_unfiltered, printfi_filtered): Delete
296 legacy #ifndef ANSI_PROTOTYPES varargs code.
297
298 * defs.h: Don't #include <varargs.h>.
299 * remote-rdp.c, remote-os9k.c, remote-mips.c, remote-array.c,
300 monitor.c, remote-st.c: Don't include <varargs.h> or <stdarg.h>.
301
3021999-08-06 James Ingham <jingham@leda.cygnus.com>
303
304 * configure.in, configure: add the --enable-multi-ice to determine
305 whether to configure and build the multi-ice-gdb-server. Note,
306 for now this only builds on cygwin, so don't enable it for other
307 platforms...
308
3091999-08-06 Tom Tromey <tromey@cygnus.com>
310
311 * Makefile.in (SFILES): Added kod.c and kod-cisco.c.
312 (COMMON_OBS): Added kod.o and kod-cisco.o.
313 (kod-cisco.o): New target.
314 (kod.o): New target.
315 * kod-cisco.c: New file.
316 * kod.c: New file.
317
3181999-08-06 James Ingham <jingham@leda.cygnus.com>
319
320 These are some fixups for the Arm, and support for the
321 disassembly-flavor for the ARM.
322
323 * defs.h: Declare the disassembly_flavor_hook
324 * top.c: Define the disassembly_flavor_hook
325 * i386-tdep.c: Remove unnecessary declaration of the
326 disassembly_flavor_hook.
327
328 * config/arm/tm-arm.h: Change definition of
329 arm_init_extra_frame_info.
330 Add a few more comments.
331 * arm-tdep.c (arm_init_extra_frame_info): Listen to and use the
332 fromleaf parameter passed into init_extra_frame_info.
333 (set_disassembly_flavor_sfunc): New Function.
334 (set_disassembly_flavor): New Function.
335 (arm_othernames): Use the set_disassembly_flavor.
336 (_initialize_arm_tdep): Setup the disassembly flavor commands, and
337 initialize the flavor.
338 (arm_frameless_function_invocation): Adjust for
339 frameless functions that have 1 or 2 instructions that mimic the
340 standard APCS form.
341 (arm_scan_prologue): Be more careful about scanning the function
342 prologue. Don't match things that just have a few of the prologue
343 instructions out of order, and don't get thrown by the scheduler
344 migrating instructions into the prologue.
345
346 Add support for the "Z" and "z" packets to request the stub
347 to set a breakpoint.
348
349 * remote.c (set_remote_protocol_Z_packet_cmd): New function.
350 (show_remote_protocol_Z_packet_cmd): New Function.
351 (remote_open_1): Init the Z packet config.
352 (remote_async_open_1): Init the Z packet config.
353 (remote_insert_breakpoint): Use the "Z" packet if supported.
354 (remote_remove_breakpoint): Use the "z" packet if supported.
355 (remote_insert_watchpoint): New Function - currently wired to
356 nothing.
357 (remote_remove_watchpoint): Ditto.
358 (remote_insert_hw_breakpoint): Ditto.
359 (remote_remove_hw_breakpoint): Ditto.
360
3611999-08-06 Stan Shebs <shebs@andros.cygnus.com>
362
363 * infcmd.c: Include parser-defs.h.
364 (interrupt_target_command): Declare.
365 (stack_dummy_testing): Remove old funky flag.
366 (run_stack_dummy): Remove unused reference to old funky flag.
367
3681999-08-06 Tom Tromey <tromey@cygnus.com>
369
370 * command.c (do_setshow_command): Call set_hook if not NULL.
371 * top.c (set_hook): New hook definition.
372 * defs.h (set_hook): Declare.
373
3741999-08-05 Stan Shebs <shebs@andros.cygnus.com>
375
376 * infrun.c: Convert code to pure standard C, elim some warnings.
377 (stopped_for_shlib_catchpoint): Remove, never used.
378
3791999-08-05 Keith Seitz <keiths@cygnus.com>
380
381 * NEWS: Mention new Motorola MCore target.
382
383 * sparc-tdep.c (gdb_print_insn_sparc): Print insns of the current
384 architecture.
385
386Thu Aug 5 20:41:22 1999 Andrew Cagney <cagney@b1.cygnus.com>
387
388 * configure.in (configdirs): Add check for socketpair.
389 * configure, config.in: Re-generate.
390
391 From Mon Jul 19 10:46:18 1999 Philippe De Muyter <phdm@macqel.be>:
392 * ser-pipe.c (sys/wait.h): Include this file only #if HAVE_SYS_WAIT_H.
393 (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Macros defined if needed.
394
395Thu Aug 5 20:04:17 1999 Andrew Cagney <cagney@b1.cygnus.com>
396
397 * target.c (debug_to_open, debug_to_attach, debug_to_post_attach,
398 debug_to_require_attach, debug_to_detach, debug_to_require_detach,
399 debug_to_wait, debug_to_post_wait, debug_to_fetch_registers,
400 debug_to_store_registers, debug_to_prepare_to_store,
401 debug_to_xfer_memory, debug_to_files_info,
402 debug_to_insert_breakpoint, debug_to_remove_breakpoint,
403 debug_to_terminal_init, debug_to_terminal_inferior,
404 debug_to_terminal_ours_for_output, debug_to_terminal_ours,
405 debug_to_terminal_info, debug_to_kill, debug_to_load,
406 debug_to_lookup_symbol, debug_to_create_inferior,
407 debug_to_post_startup_inferior,
408 debug_to_acknowledge_created_inferior,
409 debug_to_clone_and_follow_inferior,
410 debug_to_post_follow_inferior_by_clone,
411 debug_to_insert_fork_catchpoint, debug_to_remove_fork_catchpoint,
412 debug_to_insert_vfork_catchpoint,
413 debug_to_remove_vfork_catchpoint, debug_to_has_forked,
414 debug_to_has_vforked, debug_to_can_follow_vfork_prior_to_exec,
415 debug_to_post_follow_vfork, debug_to_insert_exec_catchpoint,
416 debug_to_remove_exec_catchpoint, debug_to_has_execd,
417 debug_to_reported_exec_events_per_exec_call,
418 debug_to_has_syscall_event, debug_to_has_exited,
419 debug_to_mourn_inferior, debug_to_can_run,
420 debug_to_notice_signals, debug_to_thread_alive, debug_to_stop,
421 debug_to_query, debug_to_rcmd, debug_to_enable_exception_callback,
422 debug_to_get_current_exception_event, debug_to_pid_to_exec_file,
423 debug_to_core_file_to_sym_file, debug_to_close): Send trace output
424 to ``gdb_stdlog'' instead of ``gdb_stderr''.
425
426Thu Aug 5 16:22:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
427
428 * remote.c (init_remote_ops): Initialize remote_ops.to_rcmd.
429 (init_remote_async_ops): Initialize remote_async_ops.to_query.
430 (remote_rcmd): New function.
431
432 * monitor.c (monitor_rcmd): Rename monitor_command.
433 (init_base_monitor_ops): Initialize monitor_ops.to_rcmd.
434 (_initialize_remote_monitors): Move "monitor" command from here.
435 * target.c (initialize_targets): To here.
436 (monitor_command): New function. Implement "monitor" command.
437
438 * target.c (cleanup_target): de_fault to_rcmd.
439 (update_current_target): INHERIT to_rcmd.
440 (debug_to_rcmd): New function.
441 (setup_target_debug): Initialize current_target.to_rcmd.
442
443 * target.h (struct target_ops): Add field to_rcmd.
444 (target_rcmd): Define.
445
446Thu Aug 5 14:24:07 1999 Andrew Cagney <cagney@b1.cygnus.com>
447
448 * remote.c: Replace comment describing remote protocol with
449 pointer to official document.
450
451Thu Aug 5 11:59:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
452
453 * remote.c (remote_protocol_binary_download): New variable.
454 Replace ``remote_binary_download'' and ``remote_binary_checked''.
455 (set_remote_protocol_binary_download_cmd,
456 show_remote_protocol_binary_download_cmd): New functions.
457 (remote_open_1, remote_async_open_1, remote_cisco_open):
458 Initialize ``remote_protocol_binary_download'' instead of
459 ``remote_binary_download''.
460 (check_binary_download): Re-write.
461 (remote_write_bytes): Ditto.
462 (_initialize_remote): Add ``set remote X-packet'' and ``show
463 remote X-packet'' commands. Disable old ``set
464 remotebinarydownload'' command.
465
4661999-08-04 Keith Seitz <keiths@cygnus.com>
467
468 * remote-rdi.c (arm_rdi_close): Close the transport device, too.
469
470Wed Aug 4 10:42:58 1999 Fred Fish <fnf@cygnus.com>
471
472 * xcoffread.c (scan_xcoff_symtab): Change main_aux into
473 an array of 5 internal_auxent to leave room for bfd to
474 write n_numaux entries. Change code to use the first one.
475
4761999-08-02 Stan Shebs <shebs@andros.cygnus.com>
477
478 * c-valprint.c (c_val_print): When printing decimal equivalent
479 of a char, cast appropriately.
480
4811999-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
482
483 From Jonathan Larmour <jlarmour@cygnus.co.uk>:
484 * main.c (print_gdb_help): Use gdbinit variable to determine file
485 name used for --nx help
486
a0b3c4fd
JM
4871999-08-01 Jason Molenda (jsm@bugshack.cygnus.com)
488
489 * config/mips/tm-mips.h (BIG_ENDIAN): Don't define here.
490
4911999-08-01 Jim Blandy <jimb@zwingli.cygnus.com>
492
493 * stabsread.c (read_range_type): Handle an unsigned range type
494 whose length in bytes is any power of two, not just a few
495 common ones.
496
497 * monitor.c (monitor_expect): When we receive a character that
498 isn't part of the string we were expecting, don't just start
499 matching again at the beginning of the string --- some shorter
500 suffix of the input might be a prefix of the string too.
501
5021999-07-31 Fred Fish <fnf@cygnus.com>
503
504 * symfile.c (symbol_file_command): Fix typo that made -1 casted
505 to a CORE_ADDR look like an subtraction expression.
506 (add_symbol_file_command): Ditto.
507
5081999-07-30 Jim Blandy <jimb@cris.red-bean.com>
509
510 * hppa-tdep.c (pa_print_registers): Frob register output some more.
511
5121999-07-29 Jim Blandy <jimb@cris.red-bean.com>
513
514 * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): After more
515 consideration, make this a CORE_ADDR, like WDB did.
516
517 Rather than casting every single use of really_free_pendings to
518 make_cleanup_func, why not actually make it have that type? Golly!
519 * buildsym.c (really_free_pendings): Change argument type to PTR.
520 buildsym.h (really_free_pendings): Fix declaration.
521 * dbxread.c (dbx_symfile_read, dbx_psymtab_to_symtab_1),
522 dwarf2read.c (psymtab_to_symtab_1), dwarfread
523 (psymtab_to_symtab_1), hp-psymtab-read.c (hpread_build_psymtabs),
524 os9kread.c (os9k_symfile_read, os9k_psymtab_to_symtab_1),
525 xcoffread.c (xcoff_psymtab_to_symtab_1, xcoff_initial_scan):
526 Remove casts.
527
528 Pass a CORE_ADDR safely through catch_errors.
529 * hppa-tdep.c (args_for_find_stub): New member, return_val.
530 (cover_find_stub_with_shl_get): Change argument and return type to
531 match catch_errors. Save return value of find_stub_with_shl_get
532 in *args.
533 (initialize_hp_cxx_exception_support): Collect value of
534 eh_notify_callback_addr from args.
535
536 Get rid of some noise. It would be nice to get helpful warnings
537 from the compiler about lossy conversions.
538 * hppa-tdep.c (eh_notify_hook_addr, eh_notify_callback_addr,
539 eh_break_addr, eh_catch_catch_addr, eh_catch_throw_addr,
540 break_callback_sal): Initialize these to zero, not NULL, to shush
541 warnings.
542 * infttrace.c (thread_fake_step): Compare signal to
543 TARGET_SIGNAL_0, not NULL, to avoid warnings.
544 (_initialize_infttrace): Add sanity check.
545
546 * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Define this to be
547 long, so we can pass arguments properly to ptrace.
548
549 * hppah-nat.c (child_xfer_memory): Correctly compute mask to round
550 address to an int boundary.
551
5521999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
553
554 Change from Ian Lance Taylor <ian@zembu.com>. The
555 i386_linux_sigtramp* functions should be moved to
556 i386-linux-tdep.c, when that file is introduced.
557
558 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Define.
559 (LINUX_SIGCONTEXT_PC_OFFSET): Define.
560 (LINUX_SIGCONTEXT_SP_OFFSET): Define.
561 (SIGCONTEXT_PC_OFFSET): Don't define.
562 (I386_LINUX_SIGTRAMP): Define.
563 (IN_SIGTRAMP): Define.
564 (i386_linux_sigtramp): Declare.
565 (sigtramp_saved_pc): Define.
566 (i386_linux_sigtramp_saved_pc): Declare.
567 (FRAMELESS_SIGNAL): Define.
568 (FRAME_CHAIN, FRAME_SAVED_PC): Define after #undef.
569 * i386-tdep.c (i386_linux_sigtramp_start): New static function if
570 I386_LINUX_SIGTRAMP.
571 (i386_linux_sigtramp): New function if I386_LINUX_SIGTRAMP.
572 (i386_linux_sigtramp_saved_pc): Likewise.
573 (i386_linux_sigtramp_saved_sp): Likewise.
574
5751999-07-28 Jim Blandy <jimb@savonarola.red-bean.com>
576
577 * infrun.c (handle_inferior_event): Don't try to use the code for
578 stepping over a function call to also handle stepping out of a
579 sigtramp on HP-UX. That ends up trashing step-resume breakpoints.
580 This change reverts some of David Taylor's change of 31 Dec 1998.
581 The HP-UX maintainer needs to submit a new change for whatever
582 problem the original change was trying to fix.
583
5841999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
585
586 * event-top.c (command_line_handler): Don't treat an empty line
587 from readline the same way as a multiline command. This avoids
588 missing detecting when the user presses just 'enter'.
589
5901999-07-28 Jim Blandy <jimb@savonarola.red-bean.com>
591
592 Provide more sanity checking:
593 * infrun.c (handle_inferior_event): Before assigning a new
594 breakpoint to step_resume_breakpoint, make sure it's not already
595 pointing at one; if it is, that's a bug.
596 (check_for_old_step_resume_breakpoint): New function.
597
5981999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
599
600 From Eli Zaretskii <eliz@is.elta.co.il>:
601 * top.c (gdb_init) [__MSDOS__]: Arrange for GDB to return to the
602 original directory before exiting.
603 (cd_command) [_WIN32 || __MSDOS__]: Canonicalize the new directory
604 name explicitly. Handle "d:/" names correctly.
605 (init_history) [__MSDOS__]: Use _gdb_history as the default GDB
606 history file name.
607
5a2468f5
JM
608Mon Jul 26 17:13:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
609
610 * remote.c (enum packet_support, enum packet_detect, struct
611 packet_config): Define.
612 (set_packet_config_cmd, show_packet_config_cmd,
613 add_packet_config_cmd, init_packet_config): New functions.
614 Generic support for optional packets.
615 (remote_protocol_P): Replace stub_supports_P.
616 (set_remote_protocol_P_packet_cmd, show_remote_protocol_P_packet_cmd):
617 New functions.
618 (_initialize_remote): Add ``set remote-protocol-P-packet'' command.
619 (remote_open_1, remote_async_open_1, remote_cisco_open):
620 Initialize ``remote_protocol_P''.
621 (remote_store_registers): Re-write ``P'' probe logic.
622 (store_register_using_P): New function.
623
624 From Ian Lance Taylor <ian@airs.com>:
625 (remote_prepare_to_store): Only read registers when ``P'' packet
626 is in state unsupported or support-unknown.
627
6281999-07-24 Fred Fish <fnf@cygnus.com>
629
630 * symfile.c (default_symfile_offsets): Clear section_offsets
631 before filling it in.
632
adf40b2e
JM
6331999-07-16 Keith Seitz <keiths@cygnus.com>
634
635 * remote.c (_initialize_remote): "remotebreak" should be a var_boolean.
636
6371999-07-15 Jim Blandy <jimb@cris.red-bean.com>
638
639 Make the output from "info registers" fit withinin 80 columns.
a0b3c4fd
JM
640 * hppa-tdep.c (pa_print_registers): Make it easy to change row and
641 column counts. Switch to three columns, instead of four, and
642 adjust spacing.
adf40b2e
JM
643
644 First cut at supporting HPPA2.0 in "wide" (64-bit) mode.
645 * configure.tgt: Add hppa2.0w target.
646 * config/pa/hppa64.mt, config/pa/tm-hppa64.h: New files.
647 * hppa-tdep.c (hppa_fix_call_dummy): Dyke out code to tweak the
648 call dummy, if target is PA2.0w. This is temporary, until I get
649 function calls working.
650 * hppah-nat.c (fetch_register): Rewritten to handle both narrow
651 and wide register requests.
652 (HPPAH_OFFSETOF): New macro.
653
654 * gdbtypes.c (is_integral_type): New function.
655 * gdbtypes.h: Prototype for above.
656
6571999-07-15 J.T. Conklin <jtc@redback.com>
658
659 * configure.tgt (i[3456]86-*-vxworks*): New target.
660 * config/i386/vxworks.mt: New file, x86 VxWorks target
661 * config/i386/tm-vxworks.h: New file.
662
663 * configure.tgt (powerpc-*-vxworks*): New target.
664 * config/powerpc/vxworks.mt: New file, PowerPC VxWorks target
665 * config/powerpc/tm-vxworks.h: New file.
666
667 * NEWS: Mention the new configs.
668
6691999-07-15 Fernando Nasser <fnasser@cygnus.com>
670
671 * target.c (target_preopen): Prevent query when not from_tty.
672 * infcmd.c (run_command): Prevent query when not from_tty.
673
6741999-07-15 Fernando Nasser <fnasser@cygnus.com>
675
676 * event-loop.c: Fix typo in comment.
677
678Wed Jul 14 17:29:31 1999 Andrew Cagney <cagney@b1.cygnus.com>
679
680 * ser-pipe.c (struct pipe_state): Define.
681 (pipe_close): Retain the PID of the sub-process using ``struct
682 pipe_state''. Delete #ifdef code that used popen().
683 (pipe_close): Kill of the sub-process as part of the cleanup.
684
685 * serial.h (struct _serial_t): Add field ``state''.
686
6871999-07-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
688
689 * event-top.c (display_gdb_prompt): Don't display the prompt if we
690 are in the middle of an execution command. Also trick readline so
691 it doesn't try to display the prompt.
692 (command_line_handler): Get rid of change_prompt, unused variable.
693 Use {push, pop}_prompt mechanism in case of multiline commands.
694
695 * infrun.c (complete_execution): Set target_executing to 0 as
696 first thing, so that display_gdb_prompt does the right thing.
697
698Tue Jul 13 20:29:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
699
700 * parse.c (build_parse): Fix conditional increment of num_std_regs
701 for SP_REGNUM. Was conditional on FP_REGNUM.
702
703Tue Jul 13 16:44:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
704
705 * gdbarch.h, gdbarch.c: Revert 1999-07-07 Stan Shebs
706 <shebs@andros.cygnus.com> indentation change. Don't let indent
707 mess with these files.
708
43e526b9
JM
709Mon Jul 12 11:15:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
710
711 * config/mips/tm-mips.h (REGISTER_CONVERT_TO_RAW,
712 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERTIBLE): Define.
713 (REGISTER_RAW_SIZE): Re-define as mips_register_convert_to_raw.
714 * mips-tdep.c (mips_register_convert_to_raw,
715 mips_register_convert_to_virtual, ): New functions.
716 (mips_register_raw_size, mips_register_convertible): New
717 functions. Handle bug introduced by ``Wed Apr 1 23:13:23 1998
718 Andrew Cagney <cagney@b1.cygnus.com>'' where remote mips64 target
719 transfers SR as 64 bits yet GDB expected only 32 bits.
720 (mips64_transfers_32bit_regs): New static variable.
721 (_initialize_mips_tdep): Add obscure command ``set
722 remote-mips64-transfers-32bit-regs'' that provides backward
723 compatibility.
724 (do_gp_register_row): Extract register values from raw buffer.
725
726 * NEWS: Document protocol change.
727
adf40b2e
JM
7281999-07-12 Keith Seitz <keiths@cygnus.com>
729
730 * rdi-share/unixcomm.c (Unix_ResetSerial): Remove CYGWIN32
731 conditional. It's no longer needed.
732 (SERPORT1, SERPORT2): Linux serial ports are "/dev/ttyX", not
733 "/dev/cuaX" (X=0,1,2,3,...).
734
43e526b9
JM
735Mon Jul 12 02:02:00 1999 Andrew Cagney <cagney@amy.cygnus.com>
736
737 * defs.h, utils.c (fputstrn_filtered, fputstrn_unfiltered,
738 fputstrnn_unfiltered): New functions.
739 (gdb_printchar): Delete.
740
741 * remote.c (print_packet): Replace gdb_printchar with
742 fputstrn_filtered.
743 (getpkt): Use fputstrn_unfiltered to dump packet received.
744 (putpkt_binary): Use fputstrnn_unfiltered to dump packet sent.
745
7461999-07-09 Keith Seitz <keiths@cygnus.com>
747
748 * blockframe.c (blockvector_for_pc_sect): When looking for a block,
749 we want the one whose end is greater than our PC, not greater or equal.
750
7511999-07-08 Stan Shebs <shebs@andros.cygnus.com>
752
753 * sparcl-tdep.c (init_sparclite_ops): Fix doc strings, remove
754 useless inits.
755 (sparclite_ops): Remove redundant decl.
756
757Thu Jul 8 16:48:40 1999 Andrew Cagney <cagney@b1.cygnus.com>
758
759 * ser-pipe.c (pipe_open): Bi-directional popen found on both
760 NetBSD and OpenBSD.
761 * ser-pipe.c: New file. Implement popen() style serial interface.
762 * NEWS: Mention.
763 * Makefile.in (ALLDEPFILES): Add ser-pipe.c.
764 (ser-pipe.o): Add new target. Specify dependencies.
765 (SER_HARDWIRE): Add ser-pipe.o.
766 * serial.c (serial_open): Recognize a serial pipe ``|''.
767
9846de1b
JM
7681999-07-07 Stan Shebs <shebs@andros.cygnus.com>
769
c5aa993b
JM
770 * All C files except *-stub.c and *-share/*: Indent to GNU
771 standard, using indent 1.9.1.
772 * defs.h: Make indent ignore this file, macros confuse it.
773
9846de1b
JM
774 * gnu-regex.c, gnu-regex.h: Don't let indent mess with these.
775
776Wed Jul 7 13:06:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
777
778 * remote-mips.c (fputs_readable): Rename puts_readable, add struct
779 gdb_file argument.
780 (fputc_readable): Rename putc_readable, add struct gdb_file
781 argument.
782
783 * remote-mips.c (mips_expect_timeout, mips_receive_header,
784 mips_send_packet, mips_receive_packet), remote-rdp.c (put_byte,
785 get_byte, put_word, rdp_init, rdp_init), remote-sds.c
786 (sds_interrupt, sds_wait, readchar, putmessage, read_frame,
787 getmessage), remote-udi.c (udi_store_registers, fetch_register):
788 (store_register), xmodem.c (readchar), utils.c (puts_debug),
789 gnu-nat.h (debug), parse.c (parse_exp_1): Cleanup - send debug/log
790 messages to gdb_stdlog.
791
7921999-07-06 Stan Shebs <shebs@andros.cygnus.com>
793
794 * exec.c: Remove long-#ifed-out section of code that confuses
795 indent.
796 * gdbtypes.c (add_mangled_type): Add some braces to indicate
797 grouping better.
798 * gnu-nat.c: Remove literal newlines embedded in strings,
799 causes indent to weird out.
800 * language.c (binop_result_type): Remove extra paren.
801 * lynx-nat.c: Add a missing paren to fetch_core_registers decl.
802 * nec4102rom.c (vr4102_insert_step): Fix typos.
803 (_initialize_vr4102_rom): Remove literal newline in string.
804 * config/a29k/tm-a29k.h: Suppress formatting of pictures.
805 * config/m68k/xm-3b1.h: Remove excess #endif.
806
807 Declare Pyramid configuration obsolete.
808 * configure.host, configure.tgt: Comment out Pyramid configs.
809 * Makefile.in: Comment out Pyramid-related actions.
810 * pyr-xdep.c, pyr-tdep.c, config/pyr/*: Comment out.
811 * NEWS: Mention obsolete status.
812
8131999-07-06 Jason Molenda (jsm@bugshack.cygnus.com)
814
815 * remote.c: Include <sys/time.h> to pick up FD_SET et al defns on
816 some old Linux distributions.
817 * remote-os9k.c, remote-st.c, ser-tcp.c, ser-unix.c,
818 sparcl-tdep.c, remote.c: Back out inclusion of <sys/select.h>.
819 It isn't necessary after all.
820
8211999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
822
823 * infcmd.c (strip_bg_char): Remove assignment from 'if' condition.
824
43ff13b4
JM
8251999-07-05 Jason Molenda (jsm@bugshack.cygnus.com)
826
827 * remote.c: Include <sys/select.h> if it exists in order to pick up
828 FD_SET et al defns.
829 * remote-os9k.c: Same.
830 * remote-st.c: Same.
831 * ser-tcp.c: Same.
832 * ser-unix.c: Same.
833 * sparcl-tdep.c: Same.
834
835Fri Jul 2 19:38:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
836
837 * top.c (target_output_hook): Delete definition.
838 * defs.h (target_output_hook): Delete declaration.
839
840 * remote.c (remote_console_output): Delete call to
841 target_output_hook(). Send target output to gdb_stdtarg using an
842 unfiltered write. Make more robust.
843
844 * remote-sim.c (gdb_os_write_stdout, gdb_os_write_stderr):
845 Ditto. For moment, do not try to separate target stdout and stderr
846 streams.
847
848 * defs.h (gdb_stdtarg): New global. Output from target and
849 simulators.
850
8511999-07-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
852
853 * top.c (return_to_top_level): Do all the exec_cleanups too.
854
855 * event-top.c (command_handler): Set up for a continuation, if we
856 are in the middle of running an execution command which will
857 finish later on. Do cleanups, an display of time/space only if not
858 running with an async target or not running an execution command.
859 (command_line_handler_continuation): New function. Continuation
860 for command_line_handler.
861
862 * utils.c (exec_cleanup_chain): New cleanup chain to be used in
863 async mode for the execution commands.
864 (make_exec_cleanup): New function. Add a cleanup to the
865 exec_cleanup_chain.
866 (do_exec_cleanups): New Function. Do cleanups on the
867 exec_cleanup_chain.
868 (add_continuation): New function. Add a new continuation to the
869 cmd_continuation list.
870 (do_all_continuations): New function. Do all the continuations on
871 the cmd_continuation list.
872
873 * top.h (ALL_CLEANUPS): Move from here to defs.h.
874
875 * defs.h (struct continuation_arg): New structure. Arg to pass to
876 the call to a command continuation.
877 (struct continuation): New structure. Continuation for an
878 execution command.
879 (ALL_CLEANUPS): Move here from top.h.
880
881 * remote.c (remote_async_open_1): Set things up for telling the
882 target we are running the extended protocol, only after the target
883 has stopped.
884 (set_extended_protocol): New function. Tell the target we are
885 using the extended protocol.
886 (remote_async_resume): Set things up for sync execution only if
887 this is the first time we are called.
888
889 * breakpoint.c (until_break_command_continuation): New function.
890 Stuff to be done after the target stops during the 'until'
891 command.
892 (until_break_command): Set things up for completing the 'until'
893 command later on. Do the final cleanups only if not running
894 asynchronously or async execution is not supported by the target.
895
896 * infcmd.c (until_command): Recognize '&' at end of command and
897 handle it properly.
898 (finish_command_continuation): New function. Do whatever is needed
899 after the target has stopped.
900 (finish_command): Recognize '&' at end of command and handle it
901 properly. Don't do stuff needed after target has stopped if
902 running asynchronously and target has async. Use exec_cleanup_chain
903 if running asynchronously and target is asynchronous.
904
905 * infrun.c (cmd_continuation): New gloabl variable. Used to
906 coplete execution commands in async mode, after the target has
907 stoped.
908 (fetch_inferior_event): Use exec_cleanup_chain, instead of
909 cleanup_chain. Do all the exec cleanups at the end. Do all the
910 continuations at the end. Call complete_execution from here,
911 instead of normal_stop.
912 (complete_execution): Cleanup the signals handlers for SIGINT
913 before displaying the prompt.
914 (start_remote): Set target_executing to 1.
915 (normal_stop): Don't call complete_execution from here.
916
917Thu Jul 1 19:14:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
918
919 * blockframe.c (struct dummy_frame): Add member ``top''.
920 (generic_push_dummy_frame): Initialize top to sp.
921 (generic_save_dummy_frame_tos): New function. Initialize top.
922 (generic_find_dummy_frame): Check for the top of the frame.
923
924 * blockframe.c (generic_push_dummy_frame): Free the dummy_frame
925 registers.
926
927 * config/mn10300/tm-mn10300.h (SAVE_DUMMY_FRAME_TOS): Define.
928 (TARGET_READ_FP): Return the SP as a best guess.
929
930Wed Jun 30 15:45:48 1999 Jeffrey A Law (law@cygnus.com)
931
932 * configure.host (hppa*-*-hpux11*): Accept any version of hpux11
933 instead of hpux11.0*.
934
9351999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
936
937 * source.c (directory_command): Add missing test for from_tty.
938
9391999-06-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
940
941 * remote.c: Include event-loop.h.
942 (remote_async_ops, extended_async_remote_ops): Define new target
943 vector structures for asynchronous debugging.
944 (remote_async_open): New function. Asynchronous version of
945 remote_open.
946 (extended_remote_async_open): New function. Asynchronous version
947 of extended_remote_open.
948 (remote_async_open_1): New function. Async version of
949 remote_open_1.
950 (remote_async_detach): New function. Async version of
951 remote_detach.
952 (remote_async_resume): New function. Async version of
953 remote_resume.
954 (initialize_sigint_signal_handler, handle_remote_sigint,
955 handle_remote_sigint_twice, async_remote_interrupt,
956 async_remote_interrupt_twice, cleanup_sigint_signal_handler): New
957 functions. Used for handling ^C while target is running.
958 (remote_async_wait): New function. Async version of remote_wait.
959 (remote_async_kill): New function. Async version of remote_kill.
960 (extended_remote_async_create_inferior): New function. Async
961 version of extended_remote_create_inferior.
962 (init_remote_async_ops): New function. Initialize target vector
963 for target async.
964 (init_extended_async_remote_ops): New function. Initialize target
965 vector for target extended-async.
966 (_initialize_remote): Initialize remote_async_ops and
967 extended_async_remote_ops.
968
969 * infrun.c: Include "event-loop.h".
970 (sync_execution): new global variable.
971 (proceed): Invoke wait_for_inferior and normal_stop only if not
972 running in async mode or if target doesn't support async
973 execution.
974 (start_remote): Don't call wait_for_inferior and normal_stop if
975 not running in async mode or if target not async. If running async
976 and target is async, start the target in simulated synchronous
977 mode.
978 (async_ecss, async_ecs): New global vars, for inferior state.
979 (fetch_inferior_event): New function. Async version of
980 wait_for_inferior.
981 (complete_execution): New function. Reset of gdb prompt and stdin,
982 after inferior execution has completed.
983 (normal_stop): Call complete_execution at end of asynchronous
984 execution.
985
986 * infcmd.c (strip_bg_char): New function to detect the background
987 execution char '&'.
988 (run_command): Modify to support background and foreground
989 execution in async mode.
990 (continue_command): Ditto.
991 (step_1): Ditto.
992 (jump_command): Ditto.
993 (interrupt_target_command): New function. Interrupt the
994 target execution.
995 (_initialize_infcmd): Add new command 'interrupt'.
996
997 * top.c (target_executing): New global variable.
998 (execute_command): Reject commands that cannot be executed while
999 the target is running asynchronously.
1000
1001 * event-top.c (push_prompt): Make non static.
1002 (pop_prompt): Make non static. If the current prompt is empty,
1003 don't try to copy it over the previous one.
1004 (handle_sigint): Make non static.
1005 (command_handler): Do the cleanups only when not executing with an
1006 asynchronous target.
1007
1008 * event-loop.c (delete_async_signal_handler): Pass a pointer to a
1009 pointer to a signal handler, so that is can be freed at the end.
1010
1011 * target.c (update_current_target): Inherit to_has_async_exec.
1012
1013 * inferior.h: Add global variables target_executing, and
1014 sync_execution. Export function fetch_inferior_event.
1015
1016 * event-loop.h: Add push_prompt, pop_prompt, handle_sigint to the
1017 exported functions. Update prototype for delete_signal_handler.
1018
1019 * target.h (struct target_ops): New target op: to_has_async_exec.
1020 (target_has_async): New macro.
1021
1022 * Makefile.in (infrun.o): Add dependency on event-loop.h.
1023 (remote.o): Ditto.
1024
085dd6e6
JM
10251999-06-28 Jim Blandy <jimb@zwingli.cygnus.com>
1026
1027 * solib.c (clear_solib): Don't disable breakpoints if we're
1028 running an a.out executable (Solaris's SunOS emulation).
1029
10301999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1031
1032 * main.c (main): Remove intialization of command_loop_hook, it
1033 is now done in _initialize_event_loop().
1034 * event-loop.c (gdb_do_one_event): Make static.
1035 (start_event_loop): New function. Just start the event loop.
1036 * event-top.c (cli_command_loop): New name for start_event_loop().
1037 (gdb_readline2): Make non static.
1038 (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
1039 * event-loop.h: Adjust exported functions accordingly.
1040
1041 * top.c (init_main): Move setting of async_command_editing_p from
1042 here.
1043 * event-top.c (_initialize_event_loop): To here.
1044 (change_line_handler): Revert previous change. Add comment.
1045 (_initialize_event_loop): Revert previous change.
1046 (cli_command_loop): New name for start_event_loop().
1047 (start_event_loop): New function. This just starts up the event loop.
1048 (gdb_readline2): Make non static.
1049 (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
1050
10511999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1052
1053 * event-top.c (change_line_handler): Get rid of the global
1054 variable input_fd, use `fileno (instream)' instead.
1055 (_initialize_event_loop): Ditto
1056
1057 * event-loop.c (add_file_handler): New function. Wrapper for
1058 create_file_handler.
1059 (create_file_handler): Make static.
1060 * event-top.c (_initialize_event_loop): Call add_file_handler,
1061 instead of create_file_handler.
1062 (change_line_handler): Ditto.
1063 Remove poll.h include.
1064 * event-loop.h: Export add_file_handler instead of
1065 create_file_handler.
1066
10671999-06-24 Stan Shebs <shebs@andros.cygnus.com>
1068
1069 Declare Altos configuration obsolete.
1070 * configure.host, configure.tgt: Comment out Altos config.
1071 * Makefile.in: Comment out Altos-related actions.
1072 * altos-xdep.c, config/m68k/altos.mh, altos.mt, tm-altos.h,
1073 xm-altos.h: Comment out.
1074 * NEWS: Mention obsolete status.
1075
10761999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
1077
1078 * Makefile.in: Add MAKEHTML and MAKEHTMLFLAGS; pass them down;
1079 recognize html and install-html targets.
1080 * gdbserver/Makefile.in: Add empty html and install-html targets.
1081 * nlm/Makefile.in: Ditto.
1082 * rdi-share/Makefile.in: Ditto.
1083
10841999-06-24 Jim Blandy <jimb@zwingli.cygnus.com>
1085
1086 * ax-gdb.c (agent_command): Remove vestigial call to ax_reqs.
1087
10881999-06-24 James Ingham <jingham@leda.cygnus.com>
1089
1090 * arm-tdep.c (arm_othernames): Change both gdb's register display
1091 AND the opcode disassembly register naming if the othernames
1092 command. Fixes the gdb part of CR 101177.
1093
10941999-06-23 Stan Shebs <shebs@andros.cygnus.com>
1095
1096 Declare Convex configuration obsolete.
1097 * configure.host, configure.tgt: Comment out Convex configs.
1098 * Makefile.in: Comment out Convex-related actions.
1099 * convex-xdep.c, convex-tdep.c, config/convex/*: Comment out.
1100 * NEWS: Mention obsolete status.
1101
11021999-06-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1103
1104 * main.c: Turn on async by default by setting async_p to 1.
1105
1106Wed Jun 23 15:44:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
1107
1108 From Jimmy Guo <guo@cup.hp.com>:
1109 * frame.h (enum lval_type): Delcare when an __STDC__ compiler.
1110 Reverts Mon Aug 11 16:08:52 1997 Fred Fish <fnf@cygnus.com>
1111 change.
1112 * utils.c (gdb_file_rewind, gdb_file_put): Fix. A void function
1113 does not return a result.
1114
1115Wed Jun 23 15:30:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
1116
1117 * remote.c (set_thread, remote_get_threadinfo,
1118 remote_threads_info, remote_current_thread, remote_get_threadlist,
1119 extended_remote_restart, get_offsets, remote_open_1,
1120 remote_detach, remote_resume, remote_wait, remote_fetch_registers,
1121 remote_store_registers, check_binary_download, remote_write_bytes,
1122 remote_read_bytes, remote_search, putpkt_binary, putpkt_binary,
1123 read_frame, compare_sections_command, remote_query,
1124 packet_command, remote_info_process): Use alloca to create space
1125 for arrays of size PBUFSIZ.
1126
11271999-06-22 Jason Molenda (jsm@bugshack.cygnus.com)
1128
1129 * top.c: Update copyright years to include 1999.
1130
9e0b60a8
JM
11311999-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1132
1133 * top.c: Move include of event-loop.h, to avoid redefinition of
1134 NFDBITS.
1135
1136 * event-loop.c (create_file_handler): Do not do a realloc of the
1137 pollfd structure of the notifier, unless there is already one.
1138 Include <sys/types.h> for platforms that have no poll.
1139
1140 * event-top.c: Fix prototype for _initialize_event_loop.
1141 (_initialize_event_loop): Do something only if running in async
1142 mode.
1143
11441999-06-17 Jim Blandy <jimb@zwingli.cygnus.com>
1145
1146 Make the '/c' print format use a true character type. This is
1147 more appropriate than builtin_type_char for languages other than
1148 C, and C tolerates it.
1149 * gdbtypes.c (builtin_type_true_char): New variable.
1150 (build_gdbtypes): Initialize it.
1151 * gdbtypes.h (builtin_type_true_char): New declaration.
1152 * printcmd.c (print_scalar_formatted): When the format is 'c',
1153 extract the value as a builtin_type_true_char.
1154
1155 * jv-exp.y (yylex): Say character literals are java_char_type, not
1156 builtin_type_char. Java treats the latter like `byte'.
1157
11581999-06-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1159
1160 * Makefile.in (top_h): Define.
1161 (event-loop.o): Add dependencies on top.h and defs.h.
1162 (event-top.o): Add dependency on terminal.h.
43ff13b4 1163
9e0b60a8
JM
1164 * event-loop.c: Get rid of #include <readline.h>.
1165
1166 * event-loop.h: Get rid of nested #include's.
1167 * event-loop.c: Rearrange includes to accomodate change in
1168 event-loop.h. Include poll.h, not sys/poll.h.
1169 * event-top.c: Ditto.
1170 * main.c: Ditto.
1171
11721999-06-16 David Taylor <taylor@louisiana.cygnus.com>
1173
1174 * alpha-tdep.c (alpha_pop_frame): if frame->proc_desc
1175 is NULL, call find_proc_desc so we know how to restore
1176 the registers.
1177
11781999-06-15 Michael Snyder <msnyder@cleaver.cygnus.com>
1179
1180 * event-top.c (start_event_loop): call get_prompt.
1181 (display_gdb_prompt): call get_prompt.
1182 (async_stop_sig): call get_prompt.
1183
11841999-06-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1185
1186 * event-loop.c (delete_file_handler): When positioning prev_ptr,
1187 keep looping while the one after is not equal to file_ptr, instead
1188 of equal.
1189
0f71a2f6
JM
11901999-06-14 Stan Shebs <shebs@andros.cygnus.com>
1191
1192 * MAINTAINERS: Add Jimmy Guo and Jim Blandy as HP testsuite and
1193 SVR4 solib maintainers, respectively.
1194
11951999-06-14 Michael Snyder <msnyder@cleaver.cygnus.com>
1196
1197 Add parameters to the gdb prompt.
1198 * top.c (prompt): Rename to gdb_prompt_string for clarity.
1199 (command_line_input): rename "prrompt" to prompt_arg for clarity.
1200 (gdb_readline): rename "prrompt" to prompt_arg for clarity.
1201 (read_command_lines): rename "prompt" to prompt_arg for clarity.
1202 (stop_sig): call get_prompt instead of reading prompt string directly.
1203 (command_loop): ditto.
0f71a2f6
JM
1204 (gdb_prompt_escape): New variable. Esc char for prompt parameters.
1205 (get_prompt_1): New function, workhorse for get_prompt.
1206 (get_prompt): Completely rewrite. Add functionality for a
1207 parameterized prompt, ie. the displayed prompt can change according
1208 to the value of one or more expressions given as parameters in the
1209 prompt string.
1210 (init_main): use renamed variable gdb_prompt_string. Add new
1211 command "set prompt-escape-char" to set gdb_prompt_escape.
1212
1213Sun Jun 13 10:44:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
1214
1215 * defs.h (gdb_stdlog), main.c: Declare.
1216 * main.c (main): Initialize.
1217 * gdbarch.c: Write trace messages to the log file.
1218 * remote.c: Update any debug/log prints.
1219
12201999-06-11 Michael Snyder <msnyder@cleaver.cygnus.com>
1221
1222 * remote.c (remote_wait): Clean up new thread handling.
1223 (record_currthread): Announce new threads.
1224
12251999-06-11 Jim Blandy <jimb@zwingli.cygnus.com>
1226
1227 * partial-stab.h (case N_LSYM, 'T' descriptor): Don't create
1228 partial symbol table entries for nameless enums, even if the type
1229 name is " ". (We still pick up the enum elements, though.)
1230
1231 * partial-stab.h: Remove #if 0'd sections, dating back to 1992,
1232 which set a variable which exists nowhere else in the source.
1233 Please examine your test suite output carefully, and report any
1234 problems to me.
1235
12361999-06-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1237
1238 * event-top.c (setup_event_loop): Change name to start_event_loop.
1239 Move the intialization of event-loop variables to
1240 _initialize_event_loop.
1241 (_initialize_event_loop): New function. Called at init time, to
1242 set up important event-loop variables.
1243
1244 * event-loop.h: setup_event_loop is now start_event_loop.
1245 * main.c (main): Ditto.
1246
1247Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
1248
1249 * defs.h (gdb_file_rewind_ftype, gdb_file_rewind,
1250 set_gdb_file_rewind, gdb_file_put_ftype, gdb_file_put,
1251 set_gdb_file_put): Declare.
1252
1253 * utils.c (gdb_file_new): Initialize ``rewind'' and ``put''.
1254 (struct gdb_file): Add to_rewind and to_put.
1255 (null_file_put, null_file_rewind, gdb_file_put, gdb_file_rewind,
1256 set_gdb_file_put, set_gdb_file_rewind): New functions.
1257 (tui_file_rewind, tui_file_put): New functions.
1258 (tui_file_new): Add rewind and put.
1259
1260Fri Jun 11 15:10:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
1261
1262 * d10v-tdep.c (d10v_push_arguments): Fix order of arguments passed
1263 to store_address.
1264
1265Fri Jun 11 10:31:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
1266
1267 * remote.c (tty_input): Change array to pointer.
1268 (_initialize_remote): Call build_remote_gdbarch_data.
1269 (build_remote_gdbarch_data): New function. Allocate space for
1270 tty_input.
1271 (readsocket, readtty): Delete extern declaration of tty_input.
1272
12731999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1274
1275 * event-top.c (gdb_readline2): Call the command handling function
1276 via the input_handler pointer.
1277 (change_line_handler): When turning off editing, set input_handler
1278 as well.
1279
1280 * utils.c (prompt_for_continue): If running asynchronously, call
1281 async_request_quit, instead of request_quit.
1282
1283 * tracepoint.c (read_actions): If running asynchronously, set the
1284 signal handler for STOP_SIGNAL to handle_stop_sig.
1285
1286 * top.h: (source_line_number, source_file_name, source_error,
1287 source_pre_error, history_expansion_p, server_command): export for
1288 use of event-top.c.
1289
1290 * event-top.c: Include top.h and terminal.h.
1291 (instream): Remove extern declaration.
1292 (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
1293 handle_sigwinch, async_do_nothing, async_disconnect,
1294 async_float_handler, async_stop_sig): Make static.
1295 (async_request_quit, async_do_nothing, async_disconnect,
1296 async_float_handler, async_stop_sig): Add gdb_glient_data
1297 argument.
1298 (handle_stop_sig): New function.
1299 (sigtstp_token): New variable.
1300 (sigint_token, sigquit_token, sigfpe_token, sigwinch_token):
1301 Change their type tp PTR.
1302 (mark_async_signal_handler_wrapper): New function.
1303 (setup_event_loop): Initialize all the variables used by readline
1304 only if not already done while reading the .gdbinit file. Display
1305 the initial gdb prompt, if .gdbinit took care of setting things up
1306 for readline.
1307 (change_line_handler): When turning on the use of readline,
1308 initialize input_handler as well.
1309 (command_line_handler): Set up the signal handler for STOP_SIGNAL
1310 to be handle_stop_sig.
1311 (async_init_signals): Remove coercion of signal handlers in calls
1312 to create_async_signal_handler. Initialize token for stop signal.
1313 (handle_sigint): Call async_request_quit using one argument.
1314 (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
1315 handle_sigwinch): Call mark_async_signal_handler_wrapper instead
1316 of mark_async_signal_handler.
1317
1318 * event-loop.h: Add extern declarations for handle_stop_sig,
1319 async_command_editing_p, async_annotation_suffix,
1320 new_async_prompt, the_prompts.
1321
1322 * top.c (command_line_input): Set the signal handler to be
1323 handle_stop_sig, in case gdb is running asynchronously.
1324 (get_prompt): Return the top of the prompt stack if running
1325 asynchronously.
1326 (set_prompt): Set the top of the prompt stack if running
1327 asynchronously.
1328 (init_main): Move ``extern'' vars from here to event-loop.h.
1329
13301999-06-10 Michael Snyder <msnyder@cleaver.cygnus.com>
1331
1332 * values.c (value_from_string): new function. Make a value_ptr
1333 from a string, with storage in local GDB memory (not in inferior).
1334 * value.h (value_from_string): add prototype.
1335 * remote.c (remote_cisco_ops): New remote target, "target cisco".
1336 (init_remote_cisco_ops): New function, initialize new target.
1337 (remote_cisco_mourn, remote_cisco_wait, remote_cisco_open,
1338 remote_cisco_close): New functions, implement new target cisco.
1339 (minitelnet, readtty, readsocket) New functions, implement the
1340 I/O pass-through mode for target cisco.
1341 (remote_wait): Detect special enhanced version of the 'S' packet
1342 for target cisco.
1343 (remote_cisco_expand): Perform Cisco variant of RLL decoding.
1344
13451999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1346
1347 * event-loop.c (gdb_wait_for_event): Initialize num_found to 0.
1348
1349 * top.c (print_prompt): Delete this function.
1350
1351 From: Andrew Cagney <cagney@b1.cygnus.com>
1352
1353 * event-top.c (async_hook): Delete extern declaration.
1354
1355 * defs.h: Replace ``async_hook'' with ``async_p''.
1356 * top.c (gdb_init, init_main, init_main, init_main, init_main):
1357 Replace ``async_hook'' with ``async_p''.
1358
1359 * main.c: Rename ``async'' to ``async_p''.
1360 (main): Add --noasync option.
1361 (main): Hook in the asynchronous event-loop based CLI using
1362 command_loop_hook instead of async_hook. Delete call to
1363 async_hook().
1364
1365Thu Jun 10 21:14:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
1366
1367 * mn10300-tdep.c (mn10300_store_return_value,
1368 mn10300_extract_struct_value_address,
1369 mn10300_extract_return_value), config/mn10300/tm-mn10300.h: New
1370 functions.
1371 * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS,
1372 STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): Update.
1373 (TARGET_MN10300): Delete macro. Not used.
1374
1375Thu Jun 10 20:04:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
1376
1377 * mn10300-tdep.c (mn10300_register_names): Make static.
1378 (STORE_STRUCT_RETURN): Do not modify SP.
1379
1380 * config/mn10300/tm-mn10300.h(mn10300_register_name),
1381 mn10300-tdep.c : New function.
1382 * config/mn10300/tm-mn10300.h (REGISTER_NAME): Update.
1383 * config/mn10300/tm-mn10300.h (mn10300_saved_pc_after_call),
1384 mn10300-tdep.c: New function.
1385 * config/mn10300/tm-mn10300.h (SAVED_PC_AFTER_CALL): Update.
1386
96baa820
JM
13871999-06-10 Keith Seitz <keiths@cygnus.com>
1388
1389 * mcore-rom.c (picobug_dumpregs): Return a value. Any value, it
1390 doesn't matter.
1391 * mcore-tdep.c (mcore_analyze_prologue): Set NO_MORE_FRAMES
1392 if the start of the function is the entry point.
1393 (mcore_analyze_prologue): rotli takes an immediate, not an
1394 offset immediate.
1395 (mcore_push_arguments): Fix compiler warning.
1396
0f71a2f6
JM
13971999-06-09 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1398
1399 * rs6000-tdep.c (skip_prologue): Don't mistake a branch for a
1400 subroutine call.
1401
14021999-06-08 Michael Snyder <msnyder@cleaver.cygnus.com>
1403
1404 * remote.c (remote_wait): Add 'N' response packet, which is a
1405 stop with signal number plus section offsets for .text, .data and
1406 .bss. This is used by Cisco to indicate relocation offsets.
1407 (remote_cisco_section_offsets, remote_cisco_objfile_relocate):
1408 new files to support 'N' packet.
1409 (remote_info_process): New function. Implements the
1410 "info remote-process" command, by means of which the remote target
1411 can report anything it wants to about the remote process/app being
1412 debugged.
1413 (_initialize_remote): add info remote-proc command.
1414 (remote_threads_info): New function for "info threads" command.
1415 Attempts to use new query "qfThreadInfo" instead of the old
1416 undocumented query.
1417 * exec.c (exec_set_section_offsets) new files to support 'N' packet.
1418
1419Tue Jun 8 13:33:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
1420
1421 * inferior.h (generic_target_read_pc, generic_target_write_pc,
1422 generic_target_read_fp, generic_target_write_fp,
1423 generic_target_read_sp, generic_target_write_sp): Declare new
1424 functions.
1425 * findvar.c (generic_target_read_pc, generic_target_write_pc,
1426 generic_target_read_fp, generic_target_write_fp,
1427 generic_target_read_sp, generic_target_write_sp): New functions.
1428 (TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP,
1429 TARGET_READ_SP, TARGET_WRITE_SP): Default to corresponding generic
1430 function.
1431 (write_pc_pid, write_pc_pid, read_sp, write_sp, read_fp,
1432 write_fp): Simplify.
1433
1434 * gdbarch.c (verify_gdbarch): Always verify TARGET_PTR_BIT,
1435 TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT,
1436 TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT,
1437 TARGET_LONG_DOUBLE_BIT, TARGET_READ_PC, TARGET_WRITE_PC,
1438 TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP,
1439 USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY_BREAKPOINT_OFFSET_P,
1440 CALL_DUMMY_P, CALL_DUMMY_STACK_ADJUST_P, GET_SAVED_REGISTER,
1441 REGISTER_CONVERTIBLE, PUSH_ARGUMENTS, PUSH_RETURN_ADDRESS,
1442 FRAME_CHAIN_VALID.
1443 (GET_GDBARCH, SET_GDBARCH): Delete macros. Implement functions
1444 directly.
1445 * gdbarch.h, gdbarch.c: Call fatal() instead of abort(). Identify
1446 the function / macro with a problem. Always verify a architecture
1447 attribute before returning it.
1448 * gdbarch.h, gdbarch.c (generic_register_convertible_not): New
1449 function.
1450
1451 * mips-tdep.c (mips_push_return_address): New function.
1452 * config/mips/tm-mips.h (PUSH_RETURN_ADDRESS): Define.
1453
1454 * mips-tdep.c (mips_gdbarch_init): Initialize short_bit,
1455 double_bit, long_double_bit, read_pc, write_pc, read_fp, write_fp,
1456 read_sp, write_sp, frame_chain_valid, get_saved_register,
1457 push_arguments, push_return_address, register_convertible,
1458 call_dummy_p, use_generic_dummy_frames,
1459 call_dummy_breakpoint_offset_p, call_dummy_stack_adjust_p,
1460 call_dummy_words and sizeof_call_dummy_words.
1461 * config/mips/tm-mips.h: Don't define CALL_DUMMY when multi-arch.
1462
cce74817
JM
14631999-06-07 Keith Seitz <keiths@cygnus.com>
1464
1465 * v850ice.c (init_hidden_window): Do not rely on the existence of
1466 a gui for window creation. Return boolean status.
1467 (v850ice_open): Use boolean status of init_hidden_window.
1468 Allow any ICE execution command to run under CLI. Maybe one
1469 day gdb will use a real event loop and allow this code to run.
1470 * configure.tgt: Configure the v850 ice for all cygwin-hosted
1471 toolchains.
1472
1473Mon Jun 7 23:37:26 1999 Andrew Cagney <cagney@amy.cygnus.com>
1474
1475 * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Delete.
1476 * mips-tdep.c (mips_init_extra_frame_info): Allocate saved_regs.
1477 (temp_saved_regs): Replace struct with a simple pointer.
1478 (set_reg_offset, mips32_heuristic_proc_desc, heuristic_proc_desc,
1479 mips_init_extra_frame_info): Update.
1480
1481Mon Jun 7 21:40:12 1999 Andrew Cagney <cagney@amy.cygnus.com>
1482
1483 * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Move elements from here.
1484 * mips-tdep.c (struct frame_extra_info): To here.
1485
1486 * mips-tdep.c (mips_print_extra_frame_info, mips_find_saved_regs,
1487 mips_init_extra_frame_info, mips_pop_frame): Update
1488 (mips_init_extra_frame_info): Allocate space for the extra info.
1489
1490Mon Jun 7 21:08:50 1999 Andrew Cagney <cagney@amy.cygnus.com>
1491
1492 * config/mips/tm-mips.h (mips_init_extra_frame_info), mips-tdep.c:
1493 Rename init_extra_frame_info. Add argument ``fromleaf''.
1494
1495 * config/mips/tm-mips.h (mips_print_extra_frame_info),
1496 mips-tdep.c: New function.
1497 (PRINT_EXTRA_FRAME_INFO): Update definition.
1498
1499Mon Jun 7 20:11:07 1999 Andrew Cagney <cagney@amy.cygnus.com>
1500
1501 * config/mips/tm-mips.h, config/mips/tm-irix3.h,
1502 config/mips/tm-tx19.h, config/mips/tm-tx19l.h,
1503 config/mips/tm-tx39.h, config/mips/tm-tx39l.h: Rename macro
1504 REGISTER_NAMES to MIPS_REGISTER_NAMES.
1505
1506 * config/mips/tm-mips.h (REGISTER_NAME): Define.
1507 * mips-tdep.c (mips_processor_reg_names): New static variable.
1508 (mips_register_name): New function.
1509 (mips_set_processor_type): Update mips_processor_reg_names.
1510 (mips_generic_reg_names): Initialize using MIPS_REGISTER_NAMES.
1511
1512Sun Jun 6 11:09:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
1513
1514 * remote.c (PBUFSIZ): Re-define so that value is computed at
1515 run-time.
1516 (MAXBUFBYTES): Re-define as a macro function.
0f71a2f6
JM
1517 * gdbarch.h, gdbarch.c: Add multi-arch support for REGISTER_BYTES.
1518 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
1519
15201999-06-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
1521
1522 * symtab.c (decode_line_1): Accept filenames with spaces in
1523 'linespecs' when enclosed in double quotation marks and handle
1524 drive specification is DOS format (D:).
1525
15261999-06-04 Jim Blandy <jimb@zwingli.cygnus.com>
1527
1528 * parse.c: Don't include <ctype.h> twice.
1529
15301999-06-04 David Taylor <taylor@louisiana.cygnus.com>
1531
1532 Sat May 15 12:16:09 1999 Per Bothner <bothner@deneb.cygnus.com>
1533
1534 * eval.c (evaluate_subexp_standard): Remove Gilmore rant.
1535 (Of course C has "expected types", at least if you allow
1536 brace-initializer expressions - as in Gcc.)
1537 Remove NULLing out expect_type. Do pass NULL_TYPE in place
1538 the incoming expect_type where appropriate.
1539
1540Fri Jun 4 10:56:23 1999 Jeffrey A Law (law@cygnus.com)
1541
1542 * hppa-tdep.c (hppa_fix_call_dummy): Make it work for GCC compiled
1543 executables without end.o. Clean up lots of mis-guided comments.
1544
1545Fri Jun 4 17:10:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
1546
1547 * parser-defs.h (std_regs): Replace array with pointer.
1548 * parse.c (build_parse): Build the std_regs table according to the
1549 standard registers available.
0f71a2f6
JM
1550 (_initialize_parse): Register std_regs and num_std_regs as
1551 architecture specific.
1552 * gdbarch.h, gdbarch.c: Add multi-arch support for SP_REGNUM,
1553 FP_REGNUM, PC_REGNUM, NUM_REGS, REGISTER_NAME.
1554 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
1555
15561999-06-03 Michael Snyder <msnyder@cleaver.cygnus.com>
1557
1558 * thread.c: eliminate the target_thread_vector (functionality
1559 moved into the standard target vector).
1560 * gdbthread.h: eliminate target_thread_vector. Move all related
1561 defines into remote.c, since they are no longer shared with thread.c.
1562 * remote.c: eliminate the target_thread_vector.
1563 (remote_find_new_threads): change return type to void, consistent
1564 with the target vector table. (cont_thread): rename continue_thread.
1565 (record_currthread): remove dead code. (remote_thread_alive):
1566 clean up and simplify. (threadref etc.): move definitions to here
1567 from gdbthread.h.
1568
15691999-06-02 Jason Molenda (jsm@bugshack.cygnus.com)
1570
1571 * inftarg.c (child_create_inferior): Remove dead HPUX specific code
1572 which tries to find csh.
1573 * fork-child.c: Remove DEBUGGING predefine and conditionalized
1574 printfs.
1575 (fork_inferior): Remove dead HPUX specific code which assumes shell
1576 is csh.
1577
1578 * hppa-tdep.c: Remove DEBUGGING and #if 0 debugging printfs.
1579 * parse.c: Ditto.
1580 * somread.c: Ditto.
1581
0f71a2f6
JM
1582 * gdbarch.h: Forward decl of struct value.
1583
cce74817
JM
1584Thu Jun 3 10:12:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
1585
1586 * d10v-tdep.c (do_d10v_pop_frame): Rename d10v_pop_frame. Make
1587 static.
1588 * d10v-tdep.c (d10v_pop_frame), config/d10v/tm-d10v.h: New
1589 function. Call generic_pop_current_frame.
1590 * config/d10v/tm-d10v.h (POP_FRAME): Update.
1591 * gdbarch.h, gdbarch.c (frame_num_args_unknown): New function.
0f71a2f6
JM
1592 * gdbarch.h, gdbarch.c: Add multi-arch support for POP_FRAME,
1593 SKIP_PROLOGUE, INNER_THAN, DECR_PC_AFTER_BREAK,
1594 FUNCTION_START_OFFSET, REMOTE_TRANSLATE_XFER_ADDRESS, FRAME_CHAIN,
1595 FRAME_CHAIN_VALID, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS,
1596 FRAME_LOCALS_ADDRESS, FRAME_ARGS_SKIP,
1597 FRAMELESS_FUNCTION_INVOCATION, REGISTER_BYTE, REGISTER_RAW_SIZE,
1598 REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, SAVED_PC_AFTER_CALL,
1599 FRAME_NUM_ARGS, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
1600 REGISTER_SIZE.
1601 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
1602 * config/d10v/tm-d10v.h (DMEM_START, IMEM_START, STACK_START,
1603 ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): Move definitions from
1604 here.
1605 * d10v-tdep.c: To here.
1606 * config/d10v/tm-d10v.h (struct type): Move declaration from here.
1607 * gdbarch.h: To here.
1608 * config/d10v/tm-d10v.h (struct frame_info, struct
1609 frame_saved_regs, struct type): Delete declarations.
1610
16111999-06-02 Robert Hoehne <robert.hoehne@gmx.net>
1612
1613 * go32-nat.c: go32_terminal_init, go32_terminal_inferior and
1614 go32_terminal_ours are new functions to save/restore the inferior`s
1615 stdin/stdout filemodes
1616
16171999-06-02 Stan Shebs <shebs@andros.cygnus.com>
1618
1619 * MAINTAINERS: Add Mark Kettenis, Jeff Law, and Philippe De Muyter
1620 as maintainers for Hurd, HP/UX, and COFF, respectively.
1621
16221999-06-02 Mark Kettenis <kettenis@gnu.org>
1623
1624 * gnu-nat.c (inf_continue): New function.
1625 (struct inf): Use `unsigned int' instead of `int' for bit-fields.
1626 Add new bit-field named `nomsg'.
1627 (inf_validate_procinfo): Renamed from inf_validate_stopped, all
1628 callers changed. Also update the `nomsg' and `traced' fields of
1629 INF.
1630 (make_inf): Initialize INF->nomsg.
1631 (inf_cleanup): Reset INF->nomsg.
1632 (inf_detach): Call `inf_validate_procinfo'. Call `inf_continue'
1633 instead of `inf_signal' if the inferior does not have a message
1634 port.
1635 (gnu_resume): Likewise.
1636 (gnu_create_inferior): Reset INF->nomsg in `attach_to_child'.
1637 Call `inf_validate_procinfo' after returning from `fork_inferior'.
1638 (gnu_attach): Update signal thread and tracing state.
1639
1640 * config/i386/tm-i386gnu.h: Include "i386/tm-i386.h" instead of
1641 "i386/tm-i386v.h".
1642 (STACK_END_ADDR): Remove.
1643 (SIGCONTEXT_PC_OFFSET): New define.
1644 Include "tm-sysv4.h".
1645
16461999-06-02 J.T. Conklin <jtc@redback.com>
1647
1648 * config/tm-vxworks.h: New file, header for definitions common to
1649 all vxWorks targets.
1650 * config/a29k/tm-vx29k.h, config/i960/tm-vx960.h,
1651 config/m68k/tm-vx68.h, config/mips/tm-vxmips.h,
1652 config/sparc/tm-vxsparc.h: Include tm-vxworks.h.
1653
1654Wed Jun 2 17:37:03 1999 Jeffrey A Law (law@cygnus.com)
1655
1656 * config/pa/tm-hppa.h (IMPORT_SHLIB): New unwind stub type.
1657
16581999-06-02 Christopher Faylor <cgf@cygnus.com>
1659
1660 * configure.tgt: Alphabetically reorder some targets.
1661
16621999-06-02 Keith Seitz <keiths@cygnus.com>
1663
1664 * v850ice.c (v850ice_xfer_memory): Insert lost "break".
1665
16661999-06-02 Jim Blandy <jimb@zwingli.cygnus.com>
1667
1668 * rs6000-tdep.c (variants): Fix description of 750 register set.
1669 (Thanks to J. T. Conklin.)
1670
1671Wed Jun 2 16:10:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
1672
0f71a2f6
JM
1673 * gdbarch.h, gdbarch.c: Add multi-arch support for
1674 STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
1675 EXTRACT_STRUCT_VALUE_ADDRESS, USE_STRUCT_CONVENTION,
1676 FRAME_INIT_SAVED_REGS and INIT_EXTRA_FRAME_INFO.
1677 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
1678
cce74817
JM
1679 * config/d10v/tm-d10v.h (FRAME_INIT_SAVED_REGS): Replace
1680 FRAME_FIND_SAVED_REGS.
1681 (d10v_frame_init_saved_regs): Replace d10v_frame_find_saved_regs.
1682 * d10v-tdep.c (d10v_pop_frame, d10v_frame_chain,
1683 d10v_frame_init_saved_regs): Update.
0f71a2f6
JM
1684 * gdbarch.h: Disallow FRAME_FIND_SAVED_REGS when multi-arch.
1685
1686 * gdbarch.h, gdbarch.c: Add multi-arch support for
1687 D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
1688 D10V_CONVERT_DADDR_TO_RAW and D10V_CONVERT_IADDR_TO_RAW.
1689 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
1690
1691 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete.
1692 * d10v-tdep.c (struct frame_extra_info): Define.
1693 (d10v_init_extra_frame_info, d10v_pop_frame, d10v_frame_chain,
1694 d10v_frame_find_saved_regs): Update.
0f71a2f6 1695 * gdbarch.h: Disallow EXTRA_FRAME_INFO when multi-arch.
cce74817
JM
1696
1697Tue Jun 1 13:36:31 1999 Philippe De Muyter <phdm@macqel.be>
1698
1699 * config/m68k/tm-delta68.h (FRAME_NUM_ARGS): Macro prototype fixed.
1700 * config/m68k/tm-news.h, config/ns32k/tm-merlin.h: Ditto.
1701 * config/ns32k/tm-umax.h (FRAME_NUM_ARGS): Old macro definition
1702 removed; new macro prototype fixed.
1703
1704Wed Jun 2 11:18:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
1705
0f71a2f6
JM
1706 * gdbarch.h, gdbarch.c: Add multi-arch support for
1707 EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS, PUSH_DUMMY_FRAME,
1708 PUSH_RETURN_ADDRESS, POP_FRAME, FRAME_FIND_SAVED_REGS.
1709 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
1710
1711 * gdbarch.h, gdbarch.c: Add multi-arch support for
1712 REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
1713 REGISTER_CONVERT_TO_RAW.
1714 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
1715
cce74817
JM
1716 * defs.h (REGISTER_NAME): Move compatibility definition from here.
1717 * gdbarch.h: To here.
1718
1719 * frame.h, blockframe.c (generic_fix_call_dummy): New
1720 stub function.
0f71a2f6
JM
1721 * gdbarch.h, gdbarch.c: Add multi-arch support for FIX_CALL_DUMMY.
1722 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
1723
1724Tue Jun 1 20:06:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
1725
1726 * d10v-tdep.c (d10v_gdbarch_init): Set get_saved_register.
1727 * config/d10v/tm-d10v.h: Update.
1728
1729Tue Jun 1 19:50:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
1730
1731 * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_READ_PC,
1732 TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP
1733 and TARGET_WRITE_SP.
1734 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
1735
1736Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
1737
1738 * gdbarch.c (default_gdbarch): Set field GET_SAVED_REGISTER to
1739 generic_get_saved_register.
1740 * gdbarch.c: Change update dispatch functions so that they check
1741 for a NULL function pointer.
1742
1743Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
cce74817 1744
0f71a2f6
JM
1745 * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_INT_BIT,
1746 TARGET_CHAR_BIT, TARGET_SHORT_BIT, TARGET_FLOAT_BIT,
1747 TARGET_DOUBLE_BIT and TARGET_LONG_DOUBLE_BIT.
1748 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
1749
ac9a91a7
JM
1750Tue Jun 1 18:47:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
1751
1752 * parse.c (build_parse): New function. Initialize
1753 msym_text_symbol_type, msym_data_symbol_type and
1754 msym_unknown_symbol_type.
1755 (_initialize_parse): Call build_parse.
0f71a2f6
JM
1756 (_initialize_parse): Register variables msym_text_symbol_type,
1757 msym_data_symbol_type as msym_unknown_symbol_type as
1758 per-architecture.
1759
1760Tue Jun 1 11:30:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
1761
1762 * d10v-tdep.c (_initialize_d10v_tdep): Register d10v as an
1763 architecture.
1764 (d10v_gdbarch_init): New function.
1765 * confg/d10v/tm-d10v.h (GDB_MULTI_ARCH): Define.
ac9a91a7
JM
1766
1767Tue Jun 1 10:45:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
1768
1769 * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE,
1770 REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert
1771 macros into functions.
1772 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable,
1773 d10v_register_convert_to_virtual, d10v_register_convert_to_raw):
1774 The new functions.
1775
17761999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
1777
1778 * stack.c (print_args_stub): Add missing stream parameter.
1779
1780Mon May 31 15:50:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
1781
1782 Fri May 28 16:51:00 1999 Martin Dorey <martin.dorey@madge.com>:
1783 * valops.c, value.h (default_push_arguments): Fix order of
1784 parameters to match PUSH_ARGUMENTS arguments.
1785
1786Thu May 27 11:42:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
1787
1788 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0.
1789
1790 * valops.c (value_assign): Delete redundant test of
1791 REGISTER_CONVERTIBLE.
1792
1793Thu May 27 11:33:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
1794
1795 * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h,
1796 config/i386/tm-i386m3.h, config/i386/tm-go32.h,
1797 config/i386/tm-cygwin.h, config/h8500/tm-h8500.h,
1798 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of
1799 macro NAMES_HAVE_UNDERSCORE.
1800
1801Thu May 27 09:31:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
1802
1803 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS,
1804 EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions.
1805 * values.c (value_being_returned): Use
1806 EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P.
1807
1808Wed May 26 13:51:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
1809
1810 * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New
1811 functions.
1812 (tui_file_isatty): Rename gdb_file_isatty.
1813 (gdb_file_init_astring): Use tui_file_new to create stream.
1814 (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data
1815 to access the tui_stream.
1816 (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access
1817 the tui_stream. Pass FILE and not STREAM down.
1818
1819 * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs,
1820 stdio_file_isatty, stdio_file_delete, stdio_file_new,
1821 stdio_fileopen): Define type and functions. Implement a simple
1822 STDIO based gdb_file.
1823 (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty,
1824 null_file_flush, null_file_fputs, null_file_delete, gdb_file_data,
1825 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs,
1826 set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty):
1827 Define type and functions. Implement virtual functions for
1828 gdb_file.
1829
1830 * defs.h (struct gdb_file): Declare.
1831 (GDB_FILE): Change type to struct gdb_file. Deprecate.
1832 (gdb_file_flush_ftype, gdb_file_fputs_ftype,
1833 gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type
1834 declarations.
1835
1836 * defs.h (set_gdb_file_flush, set_gdb_file_fputs,
1837 set_gdb_file_isatty, set_gdb_file_data, gdb_file_new,
1838 gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add
1839 function declarations.
1840 (gdb_fopen): Re-implement. Call stdio_file_new.
1841 (gdb_fclose): Re-implement. Call gdb_file_delete.
1842
1843 * main.c (tui_file_fputs): Rename fputs_unfiltered. Use
1844 gdb_file_data to gain access to the tui_stream data. Use FILE
1845 instead of STREAM where applicable.
1846 (main): Create gdb_stdout and gdb_stderr using tui_fileopen.
1847
1848 * defs.h (struct tui_stream): Add field ts_magic.
1849 * utils.c (tui_file_magic): Local variable.
1850 (tui_file_new): Set field ts_magic.
1851 (tui_file_delete, tui_file_isatty, gdb_file_init_astring,
1852 gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush):
1853 Verify ts_magic.
1854
18551999-05-25 Jim Blandy <jimb@zwingli.cygnus.com>
1856
1857 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1858 breakpoint_1): Add a 'default' case, which prints a warning
1859 message, to remove EGCS warnings.
1860
392a587b
JM
18611999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
1862
1863 * utils.c (gdb_file_adjust_strbuf): Take into account the
1864 possibility that the buffer has not been allocated yet.
1865
1866Tue May 25 16:05:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
1867
1868 * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
1869 REGISTER_CONVERT_TO_RAW): Provide default definition.
1870
1871 * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c
1872 (value_from_register, value_of_register): Remove #ifdef
1873 REGISTER_CONVERTIBLE. Assume REGISTER_CONVERTIBLE etc defined.
1874
96baa820
JM
18751999-05-25 Keith Seitz <keiths@cygnus.com>
1876
1877 * config/mcore/tm-mcore.h (FRAME_NUM_ARGS): Re-write definition of
1878 FRAME_NUM_ARGS so that it returns NUM_ARGS as a result instead of
1879 setting a variable as a side effect.
1880
392a587b
JM
1881Tue May 25 16:18:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
1882
1883 * remote-d10v.c (d10v_eva_prepare_to_trace,
1884 d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim):
1885 Add declaraton. Make static.
1886
1887 * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c
1888 (_initialize_d10v_tdep): Add declaration.
1889 * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration.
1890
1891Tue May 25 15:20:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
1892
1893 * main.c (init_proc, proc_remove_foreign): Delete function.
1894 * inftarg.c (child_mourn_inferior): Update. Delete call to
1895 proc_remove_foreign().
1896 * top.c (gdb_init): Update. Delete call to init_proc().
1897
1898 * utils.c (pollquit, fmthex, hexlate): Delete function.
1899
1900Tue May 25 13:01:43 1999 Andrew Cagney <cagney@amy.cygnus.com>
1901
1902 * main.c (gdb_init): Move declaration from here.
1903 * top.h: To here.
1904
1905 * defs.h (init_page_info): Add declaration.
1906
1907 * top.c (initialize_utils): Move declaration from here.
1908 * defs.h: To here.
1909
1910 * infcmd.c (target_map_name_to_register): Move declaration from
1911 here.
1912 * parser-defs.h: To here.
1913
1914 * c-typeprint.c (cp_type_print_method_args), target.c
1915 (nosupport_runtime, normal_target_post_startup_inferior): Add
1916 declaration. Make static.
1917
1918Tue May 25 13:53:23 1999 Andrew Cagney <cagney@amy.cygnus.com>
1919
1920 * main.c: Include "event-loop.h".
1921 * Makefile.in (main.o): Add dependency.
1922
1923 * top.h (setup_event_loop, async_init_signals), top.c
1924 (set_async_editing_command, set_async_annotation_level,
1925 set_async_prompt), event-loop.c (display_gdb_prompt): Move
1926 declarations from here.
1927 * event-loop.h: To here.
1928
1929 * event-loop.h (delete_async_signal_handler): Add function
1930 declaration.
1931
1932 * event-top.c (change_annotation_level, command_handler): Add
1933 declaration. Make static.
1934
1935Tue May 25 12:44:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
1936
1937 * tracepoint.c (free_actions_list, add_register): Add declaration.
1938 Make static.
1939 (free_actions_list_cleanup_wrapper): New function. Wraps
1940 free_actions_list for make_cleanup.
1941 (trace_start_command): Pass free_actions_list_cleanup_wrapper
1942 instead of free_actions_list to make_cleanup.
1943 (_initialize_tracepoint): Add extern declaration.
1944
1945Tue May 25 12:23:39 1999 Andrew Cagney <cagney@amy.cygnus.com>
1946
1947 * jv-typeprint.c (java_type_print_base, jv-valprint.c
1948 (java_print_value_fields): Add static declaration.
1949
1950 * jv-lang.c (java_lookup_type, get_java_utf8_name,
1951 java_lookup_type): Add static declaration.
1952 (get_java_class_symtab, java_class_is_primitive,
1953 java_value_string): Add declaration. Make static.
1954 (java_rerun_cleanup): Add extern declaration for this stub
1955 function.
1956
0f71a2f6
JM
1957Tue May 25 12:06:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
1958
1959 * gdbarch.h: When multi-arch, check that REGISTER_NAMES was not
1960 defined.
1961
392a587b
JM
1962Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com>
1963
1964 * inflow.c (_initialize_inflow), annotate.c
1965 (_initialize_annotate), os9kread.c (_initialize_os9kread),
1966 serial.c (_initialize_serial), nlmread.c (_initialize_nlmread),
1967 f-valprint.c (_initialize_f_valprint), cp-valprint.c
1968 (_initialize_cp_valprint), typeprint.c (_initialize_typeprint),
1969 complaints.c (_initialize_complaints), scm-lang.c
1970 (_initialize_scheme_language), m2-lang.c
1971 (_initialize_m2_language), dbxread.c (_initialize_dbxread),
1972 f-lang.c (_initialize_f_language), ch-lang.c
1973 (_initialize_chill_language), c-lang.c (_initialize_c_language),
1974 corefile.c (_initialize_core), stabsread.c
1975 (_initialize_stabsread), mipsread.c (_initialize_mipsread),
1976 elfread.c (_initialize_elfread), coffread.c
1977 (_initialize_coffread), maint.c (_initialize_maint_cmds),
1978 demangle.c (_initialize_demangler), maint.c
1979 (_initialize_maint_cmds), language.c (_initialize_language): Add
1980 external declaration.
1981
1982Mon May 24 10:04:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
1983
1984 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h,
1985 config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h,
1986 config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h,
1987 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
1988 config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h,
1989 config/mn10200/tm-mn10200.h, config/mips/tm-mips.h,
1990 config/m88k/tm-m88k.h, config/m68k/tm-news.h,
1991 config/m68k/tm-delta68.h, config/m68k/tm-isi.h,
1992 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
1993 config/i960/tm-i960.h, config/i386/tm-i386v.h,
1994 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
1995 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
1996 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
1997 config/convex/tm-convex.h, config/arc/tm-arc.h,
1998 config/arm/tm-arm.h, config/alpha/tm-alpha.h,
1999 config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so
2000 that it returns NUM_ARGS as a result instead of setting a variable
2001 as a side effect.
2002
2003 * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c
2004 (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args),
2005 m68k-tdep.c (news_frame_num_args, delta68_frame_num_args,
2006 isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New
2007 functions.
2008
2009 * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS.
2010
2011Mon May 24 11:57:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
2012
2013 * remote.c (remote_xfer_memory): Re-write with assumption that
2014 REMOTE_TRANSLATE_XFER_ADDRESS is defined. Pass targ_addr and
2015 targ_len by reference.
2016 (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition.
2017
2018 * remote-d10v.c (remote_d10v_translate_xfer_address): Update.
2019 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update.
2020
2021Mon May 24 12:10:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
2022
2023 * value.h (default_push_arguments): Add function declaration.
2024
2025 * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch,
2026 arch_ok, set_arch), command.c (find_cmd), infrun.c
2027 (follow_inferior_fork, follow_fork, follow_vfork,
2028 set_schedlock_func, is_internal_shlib_eventpoint,
2029 stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint,
2030 xdb_handle_command), infcmd.c (run_no_args_command, go_command),
2031 symfile.c (add_filename_language, set_ext_lang_command,
2032 info_ext_lang_command, init_filename_language_table), symtab.c
2033 (overload_list_add_symbol), defs.h (default_get_saved_register),
2034 ax-general.c (grow_expr, append_const, read_const, generic_ext):
2035 Ditto.
2036
2037 * infrun.c (currently_stepping): Ditto. Make static.
2038
2039 * valops.c (hand_function_call): Explictly type static variable
2040 ``checked''.
2041
2042Mon May 24 08:36:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2043
2044 * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name,
2045 d10v_register_byte, d10v_register_raw_size,
2046 d10v_register_virtual_size, d10v_register_virtual_type,
2047 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2048 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
2049 d10v_store_struct_return, d10v_store_return_value,
2050 d10v_extract_struct_value_address, d10v_frame_saved_pc,
2051 d10v_frame_args_address, d10v_frame_locals_address,
2052 d10v_saved_pc_after_call): New functions.
2053
2054 * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE,
2055 REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN,
2056 D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
2057 D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW,
2058 STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
2059 EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC,
2060 FRAME_ARGS_ADDRESS): Re-define using new functions.
2061
2062 * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT.
2063 (REGISTER_NAME): Replace REGISTER_NAMES.
2064
2065 * utils.c (core_addr_lessthan, core_addr_greaterthan): New
2066 functions.
2067 * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare.
2068
2069Sat May 22 16:44:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2070
2071 * utils.c (n_spaces): Handle case where first call has N equal to
2072 zero.
2073 (print_spaces): Use n_spaces.
2074
2075Fri May 21 11:23:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
2076
2077 * valops.c (value_push): Remove conditional definition based on
2078 absense of macro PUSH_ARGUMENTS. Pass SP and STRUCT_ADDR by
2079 reference.
2080 (default_push_arguments): New function.
2081
2082 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
2083 config/sparc/tm-sparc.h, config/sparc/tm-sp64.h,
2084 config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
2085 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
2086 config/mips/tm-mips.h, config/m32r/tm-m32r.h,
2087 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
2088 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h,
2089 config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS.
2090 Return updated SP.
2091
2092 * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments.
2093
2094Thu May 20 12:18:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2095
2096 * blockframe.c (get_prev_frame): Remove #ifdef around test for
2097 FRAMELESS_FUNCTION_INVOCATION.
2098 (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a
2099 function invocation.
2100 * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto.
2101 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h,
2102 config/sparc/tm-sparc.h, config/sh/tm-sh.h,
2103 config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
2104 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
2105 config/m68k/tm-m68k.h, config/i960/tm-i960.h,
2106 config/i386/tm-sun386.h, config/i386/tm-i386v.h,
2107 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
2108 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
2109 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
2110 config/convex/tm-convex.h, config/arm/tm-arm.h,
2111 config/arc/tm-arc.h, config/alpha/tm-alpha.h,
2112 config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION.
2113 * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c
2114 (convex_frameless_function_invocation), arm-tdep.c
2115 (arm_frameless_function_invocation): New functions.
2116
21171999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2118
2119 * top.c: Change dates in comments to ISO format.
2120
2121 * event-top.c: Ditto.
2122 * event-loop.c: Ditto.
2123 * main.c: Ditto.
2124
9e086581
JM
21251999-05-19 Keith Seitz <keiths@cygnus.com>
2126
96baa820
JM
2127 * config/mcore/tm-mcore.h (BELIEVE_PCC_PROMOTION): Define. We
2128 really do want to believe what gcc tells us about types...
2129
21301999-05-19 Keith Seitz <keiths@cygnus.com>
2131
2132 * config/mcore/tm-mcore.h (FRAME_ARGS_ADDRESS): Define to a function.
2133 (FRAME_LOCALS_ADDRESS): Ditto.
2134 * mcore-tdep.c (mcore_frame_args_addcress): New function.
2135 (mcore_frame_locals_address): New function.
2136
9e086581
JM
2137 * monitor.c (monitor_open): Only assume we have eight
2138 breakpoints if the monitor implementation does not tell
2139 us how many there really are. Alloc memory for these
2140 dynamically.
2141 (monitor_close): Free memory associated with breakpoint
2142 storage.
2143 (monitor_insert_breakpoint): Don't rely on a hardcoded
2144 number of breakpoints.
2145 (monitor_remove_breakpoint): Ditto.
2146 (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops
2147 specification.
2148 * monitor.h (struct monitor_ops): Add new member so that the
2149 individual monitor implementations can tell us how many
2150 breakpoints the monitor supports.
2151
96baa820
JM
2152 * mcore-rom.c (init_picobug_cmds): Add number of breakpoints supported
2153 by picobug monitor.
2154
9e086581
JM
21551999-05-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2156
2157 From Philippe De Muyter <phdm@macqel.be>:
2158 * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H.
2159
96baa820
JM
21601999-05-17 Keith Seitz <keiths@cygnus.com>
2161
2162 * configure.tgt: Add MCore target.
2163 * Makefile.in: Add mcore-tdep.c and mcore-rom.c
2164 * config/mcore/tm-mcore.h: New file.
2165 * config/mcore/mcore.mt: New file.
2166 * mcore-rom.c: New file.
2167 * mcore-tdep.c: New file.
2168
9e086581
JM
21691999-05-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2170
392a587b
JM
2171 * top.c (print_command_line): Added the missing stream argument.
2172 * gdbcmd.h: Added argument to prototype.
2173 * command.c: Fixed call to include extra argument.
2174 * breakpoint.c: Same.
9e086581
JM
2175
21761999-05-14 Jim Blandy <jimb@zwingli.cygnus.com>
2177
2178 Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers
2179 of arguments. Since the Mach 3 target needs an argument, we'll
2180 make things consistent by adding an argument everywhere.
2181 * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED.
2182 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument
2183 to definition.
2184
21851999-05-11 Stan Shebs <shebs@andros.cygnus.com>
2186
2187 Fri Apr 23 13:27:34 PDT 1999 Toshiyasu Morita (tm@netcom.com)
2188 * sh-stub.c: Mostly localize processor dependencies.
2189
cd0fc7c3
SS
21901999-05-10 Martin Hunt <hunt@cygnus.com>
2191
2192 * debugify.c, debugify.h: Removed because they are no
2193 longer used.
2194
21951999-05-08 Jim Blandy <jimb@zwingli.cygnus.com>
2196
2197 * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP,
2198 TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or
2199 SIGIO --- pass them through to the inferior silently.
2200 * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for
2201 Solaris's SIGCANCEL.
2202 * target.c (target_signal_from_host, target_signal_to_host): Add
2203 mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL.
2204 (signals): Add entry for SIGCANCEL.
2205
22061999-05-07 Stan Shebs <shebs@andros.cygnus.com>
2207
2208 After years of talking about it, finally break up the
2209 wait_for_inferior loop.
2210 * infrun.c (struct execution_control_state): New struct,
2211 holds what used to be local vars governing wfi behavior.
2212 (init_execution_control_state): New function, was code in
2213 wfi that set up execution control state.
2214 (handle_inferior_event): New function, was body of main
2215 wfi loop. Rewrite all local var references to go through
2216 the ecs structure passed into this function.
2217 (wait_for_inferior): Rewrite to set up and use execution control
2218 state, and to call the new functions.
2219 (currently_stepping): New function, was the macro
2220 CURRENTLY_STEPPING.
2221 (enum infwait_states): Rename from wfi_states.
2222 (infwait_normal_state, etc): Similarly.
2223
2224Thu May 6 15:25:32 1999 Philippe De Muyter <phdm@macqel.be>
2225
2226 * coffread.c (coff_symtab_read): Call `record_line' with the line
2227 number of the ".bf" symbol only for one-line functions.
2228
22291999-05-06 Michael Snyder <msnyder@cleaver.cygnus.com>
2230
2231 * Makefile.in: thread.o depends on target.h.
2232
22331999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2234
2235 * event-top.c (change_line_handler): Use POLLIN instead of
2236 POLLRDNORM, for compatibility with Linux.
2237 (setup_event_loop): Ditto.
2238
22391999-05-06 Jim Blandy <jimb@zwingli.cygnus.com>
2240
2241 * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error
2242 message about hitting the "heuristic fence post" with something
2243 that actually gives the user a fighting chance of figuring out
2244 why GDB is unhappy.
2245
22461999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2247
2248 * top.c: Include event-loop.h.
2249 (init_main): Add async version of 'set prompt' command.
2250 If in async mode define the editing and annotate set
2251 commands in a different way.
2252 Initialize new variable asyn_command_editing_p to 1.
2253 Initialize the gdb prompt for async mode.
2254 (quit_cover): Make not static, for use by the event loop.
2255 (gdb_init): Call async_init_signals for the asynchronous case.
2256 (source_line_number, source_file_name, source_error,
2257 source_pre_error, history_expansion_p): Make non-static, so
2258 event-top.c can use them.
2259 (command_loop_marker): Make non-static, for use in event-top.c.
2260 Include event-loop.h.
2261
2262 * top.h: Add prototype for async_init_signals.
2263 (SET_TOP_LEVEL): Move here from main.c.
2264 Add setup_event_loop to exported functions.
2265
2266 * defs.h: Add async_hook to exported variables.
2267
2268 * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in
2269 event-loop.c. Add new global variable async to determine whether
2270 we are running in async mode or not.
2271 (main): Add support for --async switch. Use async_hook to call
2272 setup_event_loop, when running in async mode.
2273
2274 * event-top.c: New file. Gdb input line handler and command line
2275 handler for the event loop. Initialization of signal handlers.
2276 All the handled signals have handlers called handle_<signalname>.
2277 Set up all the appropriate tokens for asynchronous signal
2278 handling.
2279
2280 * event-loop.h: New file. Data structures and definitions for the
2281 event loop.
2282
2283 * event-loop.c: New file. Functions for the event loop
2284 implementation.
2285
2286 * config.in: Regenerate with autoheader.
2287
2288 * configure.in (AC_CHECK_FUNCS): Add poll to list of functions
2289 to be checked for.
2290
2291 * configure: Regenerate.
2292
2293 * Makefile.in (SFILES): Add new source files.
2294 (eventloop_h): Define.
2295 (COMMON_OBS): Add new object files.
2296 (event-loop.o): Add rule for target object.
2297 (event-top.o): Ditto.
2298
22991999-05-05 Stan Shebs <shebs@andros.cygnus.com>
2300
2301 * infrun.c (wait_for_inferior): Transform breaks and continues
2302 into gotos, move the target_wait to the very top of the loop.
2303
23041999-05-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
2305
2306 * configure.in: Ensure that GDB links with libuser32.a under
2307 cygwin because libreadline requires it.
2308 * Makefile.in (WIN32LIBS): Substitute in result from configure
2309 * configure: regenerate
2310
23111999-05-04 Jim Blandy <jimb@zwingli.cygnus.com>
2312
2313 Fix from John Rigby. Richard Henderson says it seems okay.
2314 * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields
2315 of (proc)->pdr, we ought to at least abuse one large enough to
2316 hold the value we're trying to store in it. iopt is only 32 bits
2317 wide; cbLineOffset is a bfd_vma.
2318
b83266a0
SS
23191999-05-04 DJ Delorie <dj@cygnus.com>
2320
2321 DJGPP changes from Robert Hoehne <robert.hoehne@gmx.net>
2322
2323 * ser-go32.c: correct includes
2324 * source.c (openp): use ROOTED_P instead of SLASH_P
2325 * go32-nat.c: enhance exception and NPX handling
2326 (go32_kill_inferior): fix small bug killing inferior
2327 * configure.in: don't look for termcap with djgpp
2328 * configure: rebuild
2329
23301999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2331
2332 * main.c (main): Comment out unused and undocumented command line
2333 option '-'.
2334
23351999-04-30 Jim Blandy <jimb@zwingli.cygnus.com>
2336
2337 Cleanup from Philippe De Muyter:
2338 * configure.in (BFD_NEED_DECLARATION): Check also for strstr.
2339 * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC,
2340 NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots
2341 removed; they are now generated automatically.
2342 * gdb_string.h (strstr): Provide function prototype if
2343 NEED_DECLARATION_STRSTR.
2344 * configure, config.in: Regenerated.
2345
2346Fri Apr 30 11:16:09 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2347
2348 * target.h (to_find_new_threads): new target ops vector.
2349 (target_find_new_threads): define.
2350 * target.c (update_current_target): inherit new target ops vector.
2351 * remote.c: Setup to_find_new_threads vector.
2352 * sol-thread.c: ditto.
2353 * thread.c (target_find_new_threads): rename: local_find_new_threads.
2354 (info_threads_command): call target_find_new_threads by new method,
2355 as a target ops vector, rather than previous macro definition method.
2356 * infcmd.c (go_command): define only if in xdb mode.
2357 * procfs.c: fix typo in comment.
2358
2359Fri Apr 30 01:02:05 1999 Jeffrey A Law (law@cygnus.com)
2360
2361 * hppah-nat.c: Fix various coding convention violations introduced
2362 by HP.
2363 (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK
2364 is not defined.
2365
23661999-04-28 Stan Shebs <shebs@andros.cygnus.com>
2367
2368 * TODO: Add some items inspired by review of the manual.
2369
2370Tue Apr 27 17:38:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
2371
2372 * config/z8k/tm-z8k.h, config/v850/tm-v850.h,
2373 config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
2374 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
2375 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
2376 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
2377 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
2378 config/i960/tm-i960.h, config/i386/tm-i386.h,
2379 config/h8500/tm-h8500.h, config/h8300/tm-h8300.h,
2380 config/fr30/tm-fr30.h, config/d30v/tm-d30v.h,
2381 config/d10v/tm-d10v.h, config/alpha/tm-alpha.h,
2382 config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h:
2383 Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that
2384 they return the new address.
2385
2386 * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c
2387 (hppa_skip_prologue), m88k-tdep.c
2388 (m88k_skip_prologue), i960-tdep.c
2389 (i960_skip_prologue), arc-tdep.c
2390 (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename
2391 skip_prologue function.
2392
2393 * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new
2394 function.
2395 * m68k-tdep.c (isi_skip_prologue): That new function.
2396 * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto.
2397 * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto.
2398 * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h:
2399 Ditto.
2400 * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto.
2401 * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue):
2402 Ditto.
2403 * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto.
2404 * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue):
2405 Ditto.
2406
2407 * symtab.c (in_prologue, find_function_start_sal, decode_line_1),
2408 infrun.c (wait_for_inferior), blockframe.c
2409 (frameless_look_for_prologue): Update.
2410 * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update.
2411
24121999-04-27 Stan Shebs <shebs@andros.cygnus.com>
2413
2414 * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful.
2415
2416 * infrun.c (enum wfi_state): New enum.
2417 (wait_for_inferior): Merge all but one of the target_wait calls
2418 into a single call, add a wfi_state variable to encode which of
2419 the calls is being made.
2420
24211999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
2422
2423 Fix from Dave Holcomb.
2424 * hpux-thread.c (init_hpux_thread_ops): Use the right function
2425 name when initializing hpux_thread_ops.to_thread_alive.
2426
2427 * coffread.c (coff_symfile_read): If we have a `.stab' section,
2428 but no `.stabstr' section, then print an error message; don't
2429 crash.
2430
24311999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
2432
2433 1999-04-25 Mark Kettenis <kettenis@gnu.org>
2434
2435 * gnu-nat.c (gnu_attach): Call target_terminal_init before calling
2436 inf_set_traced, since that function calls code that might try to
2437 restore the terminal settings.
2438
2439Mon Apr 26 08:55:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
2440
2441 * gdbarch.h, gdbarch.c: More format cleanups.
2442
0f71a2f6
JM
2443Sun Apr 25 18:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
2444
2445 * gdbarch.h (CALL_DUMMY_STACK_ADJUST_P): Replace
2446 SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
2447 (CALL_DUMMY_STACK_ADJUST): Replace
2448 SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
2449 * gdbarch.c (gdbarch_call_dummy_stack_adjust,
2450 set_gdbarch_call_dummy_stack_adjust): Define.
2451
b83266a0
SS
2452Fri Apr 23 15:00:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
2453
2454 * gdbarch.c (arch_ok): New function. Fix logic test for a valid
2455 architecture.
2456 (set_arch): Use.
2457
7a292a7a
SS
24581999-04-22 Jason Molenda (jsm@bugshack.cygnus.com)
2459
2460 * README: Note that readline is not installed as a part of
2461 make install.
2462
2463Thu Apr 22 21:02:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2464
0f71a2f6
JM
2465 * gdbarch.h, gdbarch.c (GET_SAVED_REGISTER, get_saved_register):
2466 Add.
2467 (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
2468 default_gdbarch): Update.
2469
7a292a7a
SS
2470 * value.h (get_saved_register): Cleanup prototype.
2471 * findvar.c (default_get_saved_register): Rename function
2472 get_saved_register.
2473 (GET_SAVED_REGISTER): Define as default_get_saved_register when
2474 undefined.
2475 (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
2476
2477 * sparc-tdep.c (sparc_get_saved_register): Rename function
2478 get_saved_register.
2479 * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
2480 * a29k-tdep.c (a29k_get_saved_register): Rename function
2481 get_saved_register.
2482 * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
2483
2484 * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
2485 config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
2486 config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
2487 config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
2488 Update macro GET_SAVED_REGISTER so that it calls
2489 generic_get_saved_register.
2490 * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
2491 mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
2492 function get_saved_register.
2493
0f71a2f6
JM
2494Thu Apr 22 13:32:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
2495
2496 * gdbarch.c: Cleanup. Re-order the definition of the ``struct
2497 gdbarch'' initialization functions so that maintenance is more
2498 straightforward.
2499
7a292a7a
SS
2500Thu Apr 22 11:07:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
2501
0f71a2f6
JM
2502 * gdbarch.h, gdbarch.c (use_generic_dummy_frames,
2503 USE_GENERIC_DUMMY_FRAMES): Add.
2504 (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
2505 default_gdbarch): Update.
2506
7a292a7a
SS
2507 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
2508 config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
2509 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
2510 config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
2511 config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
2512 USE_GENERIC_DUMMY_FRAMES macro the value one.
2513 * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
2514 zero.
2515
2516 * blockframe.c (generic_find_dummy_frame,
2517 generic_pc_in_call_dummy, generic_read_register_dummy,
2518 generic_push_dummy_frame, generic_pop_current_frame,
2519 generic_pop_dummy_frame, generic_frame_chain_valid,
2520 generic_get_saved_register): Always define.
2521
2522 * breakpoint.c (frame_in_dummy): Convert #ifdef
2523 USE_GENERIC_DUMMY_FRAMES to runtime test.
2524
2525 * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
2526 push_arguments, frame_saved_pc, rs6000_frame_chain,
2527 rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
2528 runtime test.
2529 (get_saved_register): Always define.
2530
0f71a2f6
JM
2531Wed Apr 21 17:15:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
2532
2533 * gdbarch.c (gdbarch_dump): Fix robustness check on
2534 BELIEVE_PCC_PROMOTION_TYPE.
2535
2536Wed Apr 21 15:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
2537
2538 * gdbarch.h (TARGET_BYTE_ORDER_SELECTABLE_P): When multi-arch,
2539 force selectable byte order.
2540 (CALL_DUMMY): Check for CALL_DUMMY definition when multi-arch. Are
2541 incompatible.
2542 * gdbarch.c (verify_gdbarch): Check call_dummy_stack_adjust.
2543
7a292a7a
SS
2544Wed Apr 21 14:45:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
2545
0f71a2f6
JM
2546 * gdbarch.c (gdbarch_update): Move dump-arch code from here.
2547 (gdbarch_dump): To here. Make more robust.
2548 * gdbarch.h (gdbarch_dump): Add prototype.
2549
7a292a7a
SS
2550 * gdbarch.c (enum set_arch): Declare.
2551 (set_arch): Add type parameter. Only disable
2552 ``target_architecture_auto'' when set_arch_manual.
2553 (set_architecture, set_architecture_from_arch_mach,
2554 set_architecture_from_file): Update.
0f71a2f6
JM
2555 (set_arch): When ``gdbarch_debug'', gdbarch_dump() the current
2556 architecture.
7a292a7a
SS
2557
2558Wed Apr 21 10:48:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
2559
2560 * frame.h (generic_pc_in_call_dummy): Make signature consistent
2561 with other pc_in_call_dummy functions by adding SP parameter.
2562 * blockframe.c (generic_pc_in_call_dummy): Update. Pass SP and
2563 not FP to generic_find_dummy_frame().
2564 * breakpoint.c (frame_in_dummy): Update.
2565 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
2566 config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
2567 config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
2568 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
2569 config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
2570
2571Tue Apr 20 12:15:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
2572
2573 * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
2574 * gdbarch.h (GDB_TARGET_IS_D10V): To here. Implement using
2575 TARGET_ARCHITECTURE.
2576 (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
2577 definitions.
2578
2579 * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
2580 runtime test.
2581 (value_fetch_lazy): Ditto.
2582 * values.c (unpack_long): Ditto.
2583 * printcmd.c (print_frame_args): Ditto.
2584
0f71a2f6
JM
2585Sat Apr 17 15:39:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
2586
2587 * gdbarch.h: Cleanup multi-arch comments.
2588
2589Fri Apr 16 15:39:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
2590
2591 * gdbarch.h: Provide definition if GDB_MULTI_ARCH > 1 or
2592 GDB_MULTI_ARCH > 0 and no previous definition.
2593 * gdbarch.c (verify_gdbarch): Only verify a full multi-arch
2594 target.
2595
7a292a7a
SS
25961999-04-15 Stan Shebs <shebs@andros.cygnus.com>
2597
2598 * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
2599 HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
2600 at runtime instead of compile time.
2601
26021999-04-14 Philippe De Muyter <phdm@macqel.be>
2603
2604 * breakpoint.c (maintenance_info_breakpoints): Function made
2605 static to match previous prototype.
2606
2607 * coffread.c (coff_record_line): Static function removed.
2608 (enter_linenos): Call `record_line' instead of `coff_record_line'.
2609 (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
2610 -related stuff removed.
2611 (coff_symfile_read): Redundant statement removed.
2612 (coff_symtab_read): `record_line' is now called with the first line
2613 number of each function, given by the ".bf" symbol. This solves
2614 the line-number bug for one-line functions.
2615
2616Wed Apr 14 11:09:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
2617
0f71a2f6
JM
2618 * gdbarch.h (BELIEVE_PCC_PROMOTION_TYPE, BELIEVE_PCC_PROMOTION):
2619 Add multi-arch definitions.
2620 * gdbarch.c (gdbarch_believe_pcc_promotion,
2621 gdbarch_believe_pcc_promotion_type): New functions.
2622 (gdbarch_update): Update
2623 (struct gdbarch default_gdbarch): Update.
2624
7a292a7a
SS
2625 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
2626 (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
2627 BELIEVE_PCC_PROMOTION to if().
2628
26291999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
2630
2631 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
2632 on a Solaris host (of any architecture).
2633 * configure: Regenerated.
2634
0f71a2f6
JM
2635Wed Apr 14 08:23:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
2636
2637 * gdbarch.c (SET_GDBARCH, GET_GDBARCH, FSET_GDBARCH): New macros.
2638 (gdbarch_byte_order, gdbarch_long_bit, gdbarch_long_long_bit,
2639 gdbarch_ptr_bit, gdbarch_call_dummy_location,
2640 gdbarch_call_dummy_address, gdbarch_call_dummy_address,
2641 gdbarch_call_dummy_breakpoint_offset,
2642 gdbarch_call_dummy_breakpoint_offset, gdbarch_call_dummy_length,
2643 gdbarch_pc_in_call_dummy, dbarch_call_dummy_breakpoint_offset_p,
2644 dbarch_call_dummy_p, dbarch_call_dummy_words,
2645 dbarch_sizeof_call_dummy_words, dbarch_call_dummy_stack_adjust,
2646 dbarch_call_dummy_stack_adjust_p): Define using new macros.
2647
7a292a7a
SS
26481999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
2649
2650 * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
2651 in monitor command strings, fix some formatting mistakes.
2652
26531999-04-13 Stan Shebs <shebs@andros.cygnus.com>
2654
2655 * configure.tgt (arm-*-*): Whack another vestige of wingdb.
2656
26571999-04-12 James Ingham <jingham@cygnus.com>
2658
2659 * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
2660 stack pointer (stored in frame->framereg's register) BEFORE
2661 reading it. This was causing "return" to behave very oddly.
2662
26631999-04-12 Stan Shebs <shebs@andros.cygnus.com>
2664
2665 * NEWS: Mention tic80.
2666
26671999-04-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2668
2669 * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
2670 * altos-xdep.c: Ditto.
2671 * arm-xdep.c: Ditto.
2672 * convex-xdep.c: Ditto.
2673 * cxux-nat.c: Ditto.
2674 * hp300ux-nat.c: Ditto.
2675 * hppab-nat.c: Ditto.
2676 * i386aix-nat.c: Ditto.
2677 * i386mach-nat.c: Ditto.
2678 * m88k-nat.c: Ditto.
2679 * ptx4-nat.c: Ditto.
2680 * pyr-xdep.c: Ditto.
2681 * rs6000-nat.c: Ditto.
2682 * sun3-nat.c: Ditto.
2683 * sun386-nat.c: Ditto.
2684 * symm-nat.c: Ditto.
2685 * umax-xdep.c: Ditto.
2686 * i386v4-nat.c: Ditto. Also include inferior.h.
2687 * m68k-tdep.c: Ditto. Also include inferior.h.
2688
2689Mon Apr 12 15:57:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2690
2691 * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
2692 Provide default definitions.
2693 * valops.c (hand_function_call): Replace #ifdef
2694 CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
2695
0f71a2f6
JM
2696 * gdbarch.h (SIZEOF_CALL_DUMMY_STACK_ADJUST,
2697 (SIZEOF_CALL_DUMMY_STACK_ADJUST_P): Define
2698 * gdbarch.c (struct gdbarch): Add call_dummy_stack_adjust,
2699 call_dummy_stack_adjust_p.
2700 (gdbarch_call_dummy_stack_adjust,
2701 set_gdbarch_call_dummy_stack_adjust,
2702 gdbarch_call_dummy_stack_adjust_p,
2703 set_gdbarch_call_dummy_stack_adjust_p): New functions.
2704 (default_gdbarch): Update.
2705
7a292a7a
SS
27061999-04-09 Jim Blandy <jimb@zwingli.cygnus.com>
2707
2708 * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
2709 They're a pain.
c906108c
SS
2710
2711 * GDB 4.18 released.
7a292a7a 2712 * Makefile.in (VERSION): Bump to 4.18.1.
c906108c 2713
7a292a7a
SS
2714Thu Apr 8 16:04:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
2715
2716 * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
2717 SIZEOF_CALL_DUMMY_WORDS): Define macros.
2718 (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
2719 fatal default.
2720
2721 * inferior.h, gdbarch.c (call_dummy_words,
2722 sizeof_call_dummy_words): Declare/Define variables.
2723 * valops.c (value_arg_coerce, find_function_addr,
2724 call_function_by_hand): Always define.
2725 (hand_function_call): Rename CALL_DUMMY version of
2726 call_function_by_hand. Make static. Add prototype.
2727 (hand_function_call): Update. Allocate space for *dummy and
2728 *dummy1 using alloca.
2729 * breakpoint.c (frame_in_dummy): Update.
c906108c 2730
0f71a2f6
JM
2731 * gdbarch.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
2732 SIZEOF_CALL_DUMMY_WORDS): Define.
2733 * gdbarch.c (gdbarch_call_dummy_p, set_gdbarch_call_dummy_p,
2734 gdbarch_call_dummy_words, set_gdbarch_call_dummy_words,
2735 gdbarch_sizeof_call_dummy_words,
2736 set_gdbarch_sizeof_call_dummy_words): New functions.
2737 (gdbarch_alloc, verify_gdbarch, gdbarch_update, struct
2738 default_gdbarch): Update.
2739
7a292a7a
SS
27401999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
2741
2742 * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE
2743 monitor, increase the end address by one byte.
2744
27451999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
2746
2747 * dbug-rom.c (init_dbug_cmds): Fix strings in
2748 dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
2749 commands to the monitor.
2750
27511999-04-08 Keith Seitz <keiths@cygnus.com>
2752
2753 * m32r-stub.c (branchDestination): Undo overly ambitious
2754 sed script's conversion of cast from "char" to "unsigned char".
2755 Return offset should now be properly computed.
2756
2757Thu Apr 8 14:13:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
2758
2759 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
2760 Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
2761
2762 * infcmd.c (breakpoint_auto_delete_contents): Always define.
2763 (run_stack_dummy): Update.
2764 * infrun.c (wait_for_inferior): Update
2765
0f71a2f6
JM
2766 * gdbarch.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
2767 * gdbarch.c (set_gdbarch_call_dummy_breakpoint_offset_p,
2768 gdbarch_call_dummy_breakpoint_offset_p): New functions.
2769 (struct gdbarch, gdbarch_alloc, default_gdbarch, gdbarch_update):
2770 Update.
2771
7a292a7a
SS
27721999-04-07 Stan Shebs <shebs@andros.cygnus.com>
2773
2774 * MAINTAINERS: Mark Alexander can no longer maintain
2775 h8300 and other embedded targets, sniff.
c906108c
SS
2776
27771999-04-06 Stan Shebs <shebs@andros.cygnus.com>
2778
7a292a7a
SS
2779 * inftarg.c (child_wait): Initialize execd_pathname.
2780 * target.c (debug_to_has_execd): Handle NULL execd_pathname.
2781
c906108c
SS
2782 * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
2783 this breaks rerunning on sun4 native.
2784
7a292a7a 27851999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c 2786
7a292a7a
SS
2787 * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
2788 deprecated PTRACE_SUNATTACH compatibility commands. The
2789 definitions from <sys/ptrace.h> are fine.
2790
27911999-04-06 Martin Hunt <hunt@cygnus.com>
2792
2793 * annotate.h: Declare annotate_signal_hook.
2794
2795 * annotate.c (annotate_signal): Add a call to
2796 annotate_signal_hook().
2797
27981999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2799
2800 * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
2801 we hit a DW_LNE_end_sequence instruction.
c906108c
SS
2802
2803 * README: Note that GDB requires an ANSI C compiler, and explain
2804 how to get GCC.
2805
2806 * README: Update.
c906108c 2807
7a292a7a 28081999-04-05 Stan Shebs <shebs@andros.cygnus.com>
c906108c
SS
2809
2810 * NEWS: Add more notes about user-visible changes.
2811
7a292a7a
SS
2812Mon Apr 5 14:56:59 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2813
2814 * target.c (target_signal_to_string): check for signal
2815 number in range; otherwise if the target board returns
2816 a bogus signal number we might core dump (per David Taylor).
2817
28181999-04-05 David Taylor <taylor@ryobi.cygnus.com>
2819
2820 * utils.c (fputs_maybe_filtered): test value of
2821 pagination_enabled before paginating.
2822
28231999-04-02 James Ingham <jingham@cygnus.com>
2824
2825 * blockframe.c (get_prev_frame): Remove the redundant
2826 get_prev_frame_info. It is now exactly the same as
2827 get_prev_frame, so there is no reason to have both functions.
2828
2829 * rs6000-tdep.c (rs6000_init_extra_frame_info):
2830 frame.h:
2831 a29k-tdep.c (init_extra_frame_info):
2832 config/a29k/tm-a29k.h:
2833 i386-tdep.c:
2834 Change all references to get_prev_frame_info to get_prev_frame.
2835
28361999-04-02 Stan Shebs <shebs@andros.cygnus.com>
2837
2838 * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
2839 expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
2840 gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
2841 remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
2842 symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
2843 the unused MAINTENANCE_CMDS conditional.
2844
28451999-04-02 James Ingham <jingham@cygnus.com>
2846
2847 * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
2848 to call extract_address, not just cast the first 4 bytes, since
2849 the result will be passed to value_at which expects host-byte
2850 order.
2851
2852 * arm-tdep.c (arm_scan_prologue): The prologue_start address was
2853 directly &'ed with 0x03fffffc, rather than using
2854 ADDR_BITS_REMOVE. This would cause inferior function calls to
2855 report the stack incorrectly on return.
2856
2857
28581999-04-02 Keith Seitz <keiths@cygnus.com>
2859
2860 * top.c (ui_loop_hook): Change declaration. Now returns an int.
2861 * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
2862 the ui_loop_hook if there was no debug event.
2863 * top.c (ui_loop_hook): Change to return an int and include
2864 on all non-Cygwin builds.
2865 * v850ice.c: Change prototype of ui_loop_hook.
2866 (v850ice_wait): Update call to ui_loop_hook.
2867 * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
2868 for non-Cygwin builds. Check return status of ui_loop_hook and
2869 return a timeout if told to detach. Add more documentation.
2870 * ser-tcp.c (tcp_readchar): Break up timeouts into one second
2871 intervals and call ui_loop_hook so that other UIs can
2872 keep up to date. If ui_loop_hook returns non-zero, then
2873 return SERIAL_TIMEOUT to facilitate detaching from the
2874 target.
2875 * remote.c (remote_interrupted_already): Remove.
2876 (remote_interrupt_twice): Revive.
2877 (remote_interrupt): Call remote_stop to interrupt the target
2878 and install remote_interrupt_twice to take more severe
2879 actions if this fails.
2880 (remote_stop): Only attempt to stop the target. This separates
2881 the command line from other UIs.
2882 * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
2883 if it is defined.
2884
c906108c
SS
28851999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2886
2887 Fix for cross-debugging on an AIX host from Johanna Svenningsson:
2888 * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
7a292a7a 2889 * ax.h (enum agent_op): Same.
c906108c
SS
2890 * tracepoint.h (enum actionline_type): Same.
2891 * config/xm-aix4.h: Add declaration for termdef.
2892
28931999-03-31 Stan Shebs <shebs@andros.cygnus.com>
2894
2895 * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
2896 decl in jv-lang.c.
2897
7a292a7a
SS
2898 * infrun.c (follow_inferior_fork): Add ifdefs around
2899 SOLIB_REMOVE_INFERIOR_HOOK.
c906108c 2900
7a292a7a 2901Wed Mar 31 11:39:49 1999 David Taylor <taylor@ryobi.cygnus.com>
c906108c
SS
2902
2903 * valops.c (search_struct_field): revert HP merge change
2904 to this function -- it causes messages to be printed about
2905 member class ambiguity when the compiler is happy.
2906 (search_struct_field_aux): delete -- added as part of HP merge
2907 change; with aforementioned change it is no longer called.
2908
7a292a7a 29091999-03-30 Stan Shebs <shebs@andros.cygnus.com>
c906108c 2910
7a292a7a
SS
2911 Make more HPUX-specific code generic.
2912 * infrun.c: Include top.h.
2913 (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
2914 USE_THREAD_STEP_NEEDED): New native macros.
2915 (may_switch_from_inferior_pid, may_follow_exec,
2916 use_thread_step_needed): New globals.
2917 (follow_inferior_fork): Remove HPUXHPPA ifdef.
2918 (follow_exec): Ditto, also save run target and re-push instead of
2919 always pushing child_ops, add ifdefs around SOLIB_RESTART and
2920 SOLIB_CREATE_INFERIOR_HOOK.
2921 (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
2922 always use printf_filtered to report new threads.
2923 (normal_stop): Ditto.
2924 * target.h, target.c (find_run_target): New function.
2925 * config/pa/nm-hppah.h: Define new macros.
c906108c 2926
7a292a7a 29271999-03-29 Stan Shebs <shebs@andros.cygnus.com>
c906108c 2928
7a292a7a
SS
2929 * top.h: Include setjmp.h here.
2930 * main.c, top.c: Don't include it here.
c906108c 2931
7a292a7a 29321999-03-29 Keith Seitz <keiths@cygnus.com>
c906108c 2933
7a292a7a
SS
2934 * symtab.c (decode_line_1): Take out change which breaks symbols
2935 which include class names and methods, e.g., "Foo::bar".
2936
29371999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2938
2939 * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
2940 Recognize both, as i[3456]86-*-sysv4.2*.
2941 (i[3456]86-*-sysv5*): Recognize.
2942
2943 * infrun.c (wait_for_inferior): Remove most #if 0 segments.
2944
2945Fri Mar 26 17:27:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
2946
2947 * blockframe.c (pc_in_call_dummy_on_stack): Fix. Had copied code
2948 from at_entry_point.
2949
2950Thu Mar 25 19:30:02 1999 Andrew Cagney <cagney@amy.cygnus.com>
2951
2952 * gdbarch.c: Include all headers.
0f71a2f6
JM
2953 (struct gdbarch), gdbarch.h (CALL_DUMMY_LOCATION,
2954 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
2955 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH,
2956 PC_IN_CALL_DUMMY): Add ``call_dummy_location'',
2957 ``call_dummy_length'', ``pc_in_call_dummy'',
2958 ``call_dummy_start_offset'', ``call_dummy_breakpoint_offset'' to
2959 multi-arch framework.
7a292a7a
SS
2960
2961 * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
2962 pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
2963 pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
2964 into functions.
2965
2966Tue Mar 23 17:22:57 1999 Philippe De Muyter <phdm@macqel.be>
2967
2968 * remote.c, parse.c: Include ctype.h.
c906108c
SS
2969
29701999-03-24 Stan Shebs <shebs@andros.cygnus.com>
2971
7a292a7a 2972 * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
c906108c
SS
2973
2974 Attempt to sort out SCO-related configs.
2975 * configure.host (i[3456]86-*-sysv4.2*): Use instead of
2976 i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
2977 (i[3456]86-*-sysv5*): Recognize.
2978 * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
2979 Recognize.
2980
7a292a7a
SS
2981Wed Mar 24 16:19:01 1999 Christopher Faylor <cgf@cygnus.com>
2982
2983 * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
2984 maintainer.
2985
2986Wed Mar 24 21:19:57 1999 Andrew Cagney <cagney@amy.cygnus.com>
2987
2988 * target.h (enum target_signal): Do not hardwire values of MACH
2989 signals.
2990
29911999-03-14 Ken Raeburn <raeburn@raeburn.org>
2992
2993 * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
2994 * target.c (signals): Add SIGINFO description.
2995 (target_signal_from_host, target_signal_to_host): Translate
2996 SIGINFO to/from TARGET_SIGNAL_INFO.
2997
c906108c
SS
2998Wed Mar 24 01:01:27 1999 Andrew Cagney <cagney@sludge.cygnus.com>
2999
3000 * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
3001 unsigned int.
3002
7a292a7a 3003 From Rodney Brown <rodneybrown@pmsc.com>
c906108c
SS
3004 * target.h (enum thread_control_capabilities), breakpoint.h (enum
3005 bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
3006 doesn't allow trailing comma in enum definition.
3007
7a292a7a 3008Mon Mar 22 15:56:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
c906108c 3009
7a292a7a
SS
3010 * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
3011 CALL_DUMMY_LOCATION to if.
3012 * valops.c (call_function_by_hand): Ditto.
3013 * infcmd.c (run_stack_dummy): Ditto.
3014 * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
3015 CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
c906108c 3016
7a292a7a 30171999-03-23 Jason Molenda (jsm@bugshack.cygnus.com)
c906108c 3018
7a292a7a
SS
3019 * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
3020 check, test for presence of struct save_state_t and the ss_wide
3021 member directly.
3022 * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for
3023 HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
3024 * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
3025 * configure, config.in: Regenerated.
c906108c
SS
3026
3027Mon Mar 22 13:25:13 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3028
3029 * infttrace.c (proc_wait): rename to ptrace_wait.
3030
7a292a7a
SS
30311999-03-18 Jim Blandy <jimb@zwingli.cygnus.com>
3032
3033 * dwarf2read.c: Correctly recognize location expressions that
3034 designate LOC_REF_ARG arguments. Doc fixes.
3035 (isderef): New global. (Yuck.)
3036 (dwarf2_complex_location_expr): New complaint.
3037 (read_func_scope): Reject frame_base attributes that use the
3038 `deref' opcode as too complex.
3039 (new_symbol): If both regoff and isderef are set, and the base
3040 register is the frame pointer, then it's a LOC_REF_ARG argument.
3041 (decode_locdesc): Recognize the `deref' opcode in location
3042 expressions. Complain if it's not the last op in the expression.
3043
3044 * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
3045 be true, or else value_arg_coere won't respect the (accurate)
3046 information we have about whether a function is prototyped.
3047
30481999-03-17 Jim Blandy <jimb@zwingli.cygnus.com>
3049
3050 * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
3051 calling functions by hand with odd-sized arguments doesn't munge
3052 the stack.
3053
c906108c
SS
30541999-03-17 Jason Molenda (jsm@bugshack.cygnus.com)
3055
3056 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
3057 hosts--gdb doesn't support this yet.
3058 * configure: Regenerated.
3059
7a292a7a
SS
30601999-03-16 Keith Seitz <keiths@cygnus.com>
3061
3062 * remote.c (remote_binary_checked): New file global.
3063 (check_binary_download): New function to check if
3064 stub supports binary downloading that works with
3065 stubs that are not eight bit clean.
3066 (remote_write_bytes): Check for binary download capability
3067 and use it if available.
3068 Remove references to global remote_binary_length. What a hack.
3069 (putpkt_binary): New function.
3070 (putpkt): Call putpkt_binary.
3071 Use xor to escape trouble characters.
3072 * m32r-stub.c (bin2mem): Follow escape char convention change.
3073
c906108c
SS
3074Tue Mar 16 01:11:33 1999 Andrew Cagney <cagney@rhino.cygnus.com>
3075
3076 * target.h (struct target_ops), target.c (debug_to_query),
3077 remote.c (pack_hex_byte, remote_query): Promote char parameters to
3078 int. Stops compile problems with pedantic ISO-C compilers.
7a292a7a 3079
c906108c
SS
3080Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com>
3081
7a292a7a
SS
3082 * go32-xdep.c: Remove, no longer used by anything.
3083 * Makefile.in: Remove references.
3084
c906108c
SS
3085 * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
3086 as int instead of char.
3087
7a292a7a 3088Mon Mar 15 11:42:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
c906108c 3089
7a292a7a
SS
3090 * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
3091 (d10v_push_arguments): Use.
c906108c 3092
7a292a7a
SS
3093 From Martin M. Hunt <hunt@cygnus.com>:
3094 * d10v-tdep.c (d10v_push_arguments): When arguments
3095 must be pushed onto the stack, they go on in
3096 reverse order.
c906108c 3097
7a292a7a
SS
30981999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3099
3100 * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
3101 or partial symbols into the overload list; we don't know their
3102 types. (Thanks to Rajiv Mirani.)
3103
31041999-03-15 Jason Molenda (jsm@bugshack.cygnus.com)
3105
3106 * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
3107 Fix whitespace so --help messages line up.
3108 * configure.in (--with-cpu): Fix capitalization for --help messages.
3109 * configure, aclocal.m4: Regenerated.
3110
3111Mon Mar 15 11:39:03 1999 Ian Carmichael <iancarm@cygnus.com>
3112
3113 Support building gdb w/o simulator:
3114 * configure.in: Support --disable-sim. Check for sim directory.
3115 * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
3116 * acconfig.h (WITH_SIM): Define.
3117 * configure, config.in: Regenerate.
3118
3119Mon Mar 15 08:01:33 1999 Elena Zannoni <ezannoni@cygnus.com>
3120
3121 Patch from Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3122
3123 * top.c (read_command_lines): Reset control_level to 0.
3124 (define_command): Don't do it here.
3125
3126Sun Mar 14 16:12:15 1999 Andrew Cagney <cagney@rhino.cygnus.com>
3127
3128 * hppah-nat.c (store_inferior_registers): Delete extern
3129 registers[] declaration.
3130
3131Sun Mar 14 19:17:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
3132
3133 * infrun.c (write_inferior_status_register): New function. Provide
3134 update access to an inf_status register buffer. Only used by HP.
3135 * inferior.h (write_inferior_status_register): Add prototype.
3136
3137 * hppa-tdep.c (push_dummy_frame): Use
3138 write_inferior_status_register when hacking around a sleeping
3139 inferior. Accidently fix byte-order problem.
3140
3141Sun Mar 14 16:40:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
3142
3143 * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
3144 not needed.
3145
3146Fri Mar 12 13:11:48 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3147
3148 * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
3149 can't overwrite the end of its buffer with escaped characters.
c906108c
SS
3150
31511999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3152
7a292a7a 3153 Alpha patches from Richard Henderson:
c906108c 3154
7a292a7a 3155 * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
c906108c 3156
7a292a7a
SS
3157 * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
3158 (FPCR_REGNUM): New.
3159 (REGISTER_CONVERTIBLE): Don't convert fpcr.
3160 (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
c906108c 3161
7a292a7a
SS
3162 * stabsread.c (define_symbol): Only consider live range extension
3163 if we have an open parenthesis.
c906108c 3164
7a292a7a
SS
31651999-03-11 Jim Blandy <jimb@zwingli.cygnus.com>
3166
3167 * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
3168 when the register name is null.
3169
3170Thu Mar 11 19:33:07 1999 Stan Shebs <shebs@andros.cygnus.com>
3171
3172 * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
3173 uses to expressions, remove redundant extern decls.
3174
3175Thu Mar 11 18:05:11 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
c906108c
SS
3176
3177 * infptrace.c (proc_wait): Rename to ptrace_wait.
3178 * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
3179 * inferior.h: Declare ptrace_wait instead of proc_wait.
3180
7a292a7a
SS
3181Thu Mar 11 11:46:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
3182
3183 * breakpoint.c (create_solib_load_unload_event_breakpoint,
3184 create_fork_vfork_event_catchpoint, tcatch_command,
3185 create_exception_catchpoint, break_at_finish_at_depth_command_1,
3186 catch_fork_command_1, ep_skip_leading_whitespace,
3187 break_at_finish_command_1, catch_exec_command_1,
3188 catch_exception_command_1, stop_command, stopin_command,
3189 stopat_command, ep_parse_optional_filename,
3190 ep_find_event_name_end, ep_parse_optional_if_clause,
3191 catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
3192 print_stack_frame_stub, print_only_stack_frame_stub,
3193 backtrace_command_1, backtrace_full_command, func_command),
3194 valprint.c (print_decimal), source.c (print_source_lines_base):
3195 Add prototype.
3196
3197 * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
3198 print_only_stack_frame_stub): Make param void*.
3199
3200Wed Mar 10 19:33:28 1999 Geoffrey Noer <noer@cygnus.com>
3201
3202 * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
3203 define some gdb-specific defines that shouldn't have been in the
3204 global headers.
3205
3206Wed Mar 10 21:20:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
3207
3208 * findvar.c (registers, register_valid): Replace array with pointer.
3209 (build_findvar): New function. Allocate space for REGISTERS and
3210 REGISTER_VALID.
3211 (_initialize_findvar): Call build_findvar.
0f71a2f6
JM
3212 (_initialize_findvar): Register REGISTERS and REGISTER_VALID as
3213 arch dependant.
7a292a7a
SS
3214
3215 * inferior.h (registers, register_valid): Replace array with
3216 pointer.
3217
3218 * inferior.h (struct inferior_status): Move definition from here.
3219
3220 * infrun.c (struct inferior_status): To here.
3221 (struct inferior_status): Change ``stop_registers'' and
3222 ``registers'' to pointers.
3223 (xmalloc_inferior_status, free_inferior_status): New functions.
3224 (restore_inferior_status): Call free_inferior_status.
3225 (save_inferior_status): Call xmalloc_inferior_status.
3226 (discard_inferior_status): New function, discard inf_status
3227 buffer. Call free_inferior_status.
3228
3229 * inferior.h (stop_registers): Replace array with pointer.
3230 * infrun.c (stop_registers): Update.
3231 (build_infrun): Initialize stop_registers.
3232 (_initialize_infrun): Call build_infrun.
0f71a2f6 3233 (_initialize_infrun): Register ``stop_registers'' as arch dependant.
7a292a7a
SS
3234
3235Wed Mar 10 14:50:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
3236
3237 * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
3238 LINUXALPHA target. Hack.
3239
3240 * infrun.c (set_follow_fork_mode_command): Make static. Add
3241 prototype.
3242 * tracepoint.c (add_register): Ditto.
3243 * valprint.c (strcat_longest): Comment out. Does not appear to be
3244 used.
3245 * valops.c (find_method_list): Make static. Add prototype.
3246 * thread.c (target_find_new_threads): Make static. Add prototype.
3247 * stack.c (stack_publish_stopped_with_no_frame,
3248 select_and_maybe_print_frame): Comment out. Does not appear to be
3249 used.
3250 (current_frame_command): Add prototype.
3251 * breakpoint.c (break_at_finish_command,
3252 break_at_finish_at_depth_command, tbreak_at_finish_command): Make
3253 static. Add prototype.
3254 * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
3255
3256Wed Mar 10 23:38:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
3257
3258 * corefile.c (registers): Delete redundant variable declaration.
3259 * inferior.h (run_stack_dummy): Change array argument to pointer.
3260 * infcmd.c (run_stack_dummy): Update.
3261 * value.h (value_being_returned): Change RETBUF to a pointer.
3262 * values.c (value_being_returned): Update.
3263
3264Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
3265
3266 * source.c (list_command): GCC suggested explicit braces to avoid
3267 ambiguous `else'.
3268
3269 * jv-typeprint.c: Include "c-lang.h".
3270 * Makefile.in (jv-typeprint.o): Add dependency.
3271 * jv-valprint.c: Include "gdbcore.h", "annotate.h".
3272 * Makefile.in (jv-valprint.o): Add dependencies.
3273 * objfiles.c: Include "breakpoint.h".
3274 * Makefile.in (objfiles.o): Add dependency.
3275 * main.c: Include <unistd.h>.
3276 * parse.c: Include <ctype.h>.
3277 * remote.c: Include <ctype.h>.
3278 * ser-tcp.c: Include <unistd.h>.
3279 * ax-general.c: Include "value.h".
3280 * Makefile.in (ax-general.o): Add dependency.
3281
3282 * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
3283 of a register.
3284 * frame.h (show_and_print_stack_frame): Add function prototype.
3285 * language.h (language_enum): Add function prototype.
3286 * value.h (find_overload_match): Add function prototype.
3287
3288 * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
3289 prototype.
3290 * stack.c (backtrace_command): Update.
3291
3292Wed Mar 10 13:58:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
3293
3294 * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
3295 * configure, config.in: Re-generate.
3296 * inflow.c: Conditionally include <sys/select.h>.
3297
3298Wed Mar 10 13:44:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
3299
3300 * frame.h (struct dummy_frame): Move from here.
3301 * blockframe.c (struct dummy_frame): To here.
3302
3303 * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
3304 ``registers''.
3305 (generic_pop_dummy_frame): Free it.
3306 (generic_push_dummy_frame): Allocate dummy frame register buffer.
3307
3308Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
3309
3310 * thread.c (_initialize_thread): Delete redundant ``extern struct
3311 cmd_list_element *cmdlist''.
3312 * printcmd.c (print_command_1): Ditto for ``objectprint'';
3313
33141999-03-09 Stan Shebs <shebs@andros.cygnus.com>
3315
3316 * MAINTAINERS: New file, list of maintainers and areas they
3317 maintain.
c906108c
SS
3318
33191999-03-09 Rodney Brown <RodneyBrown@pmsc.com>
3320
3321 Get working on UnixWare 2.1.1.
3322 * acconfig.h: Update for defines for procfs.c.
3323 * configure.in: Identify defines for procfs.c.
3324 * configure.host: i386-*-sysv4.2uw2* => i386v42mp
3325 * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp
3326 * configure, config.in: Regenerate.
3327 * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
3328 standard), wrap UNIXWARE difference in THE_PR_LWP macro for
3329 legibility.
3330 * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
3331 HAVE_NO_PRRUN_T; now set by configure.
3332
7a292a7a
SS
3333Tue Mar 9 16:29:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
3334
3335 * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
3336 undefined..
3337
3338 * fr30-tdep.c (_initialize_fr30_tdep): Add prototype. Fix
3339 coding style.
3340
3341 * target.c (debug_to_enable_exception_callback,
3342 debug_to_get_current_exception_event): Return result of call to
3343 debug_target().
3344
33451999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
3346
3347 Another HURD fix from Mark Kettenis:
3348 * gnu-nat.c: Include <string.h>. Remove declaration of strerror.
3349 Include <bits/waitflags.h> instead of <waitflags.h> and define
3350 _SYS_WAIT_H to prevent the warning that we should not include it.
3351 (gnu_create_inferior): Change return type of attach_to_child to
3352 void. Do not return INFERIOR_PID.
3353 (gnu_pid_to_exec_file): Change return type to char *.
3354 Return NULL.
3355
3356 Fix for the HURD from Mark Kettenis:
3357 * configure.in: Add AC_PROG_AWK. Needed by the machine-dependent
3358 makefile fragments for the Hurd.
3359 * Makefile.in (AWK): Add. Set by configure.
3360 * configure: Regenerated.
3361
33621999-03-08 Jason Molenda (jsm@bugshack.cygnus.com)
3363
3364 * infttrace.c (hppa_get_process_events): Removed. Function only
3365 usable on HPUX 10 and above. It is not called by any other part
3366 of GDB.
3367 * hppah-nat.c (hppa_get_process_events): Ditto.
3368 (child_pid_to_exec_file): Only call ptrace with
3369 PT_GET_PROCESS_PATHNAME if that symbol has been defined.
3370 * config/pa/nm-hppah.h: Don't set up prototypes et al for
3371 hppa_get_process_events.
3372
3373 * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
3374 determine best library automatically.
3375 * config/pa/hpux1020.mh: Ditto.
3376 * config/pa/hpux1100.mh: Ditto.
3377 * configure.in (TERM_LIB): Also check for libHcurses.
3378 * configure: Regenerated.
3379
3380Thu Mar 4 17:16:04 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3381
3382 * m32r-stub.c: add support for crc "Compare" command.
3383
c906108c
SS
33841999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3385
7a292a7a
SS
3386 * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
3387 dynamically, to save BSS space, and to remove assumptions about
3388 the size of the largest value we'll return.
3389
3390 * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
3391 prototype.
3392
3393Thu Mar 4 08:37:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
3394
3395 * sh3-rom.c (sh3_supply_register, sh3_supply_register),
3396 mips-tdep.c (mips_push_arguments), m32r-rom.c
3397 (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
3398 (longlong_hexchars), tracepoint.c (validate_actionline,
3399 read_actions), mdebugread.c
3400 (parse_symbol), jv-typeprint.c
3401 (java_type_print_base, java_type_print_base), mdebugread.c
3402 (parse_symbol), top.c (source_command), utils.c
3403 (floatformat_to_doublest): GCC suggest explicit braces to avoid
3404 ambiguous `else'.
c906108c 3405
7a292a7a
SS
3406 * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
3407 m32r-rom.c (m32r_supply_register), win32-nat.c
3408 (handle_output_debug_string, child_continue), i960-tdep.c
3409 (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
3410 parentheses around assignment used as truth value.
3411
3412 * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
3413 ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
3414 GCC suggested parentheses around operands.
3415
3416 * c-typeprint.c (c_type_print_base): GCC suggested enclosing
3417 "while" expression in paren.
3418
3419Wed Mar 3 18:14:33 1999 Andrew Cagney <cagney@chook.cygnus.com>
3420
3421 * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
3422 (restore_inferior_pid): Takes void* as required by make_cleanup.
3423 Casts pid back to an int.
3424
3425 * procfs.c (make_cleanup_close_proc_file,
3426 close_proc_file_cleanup): Create a proc_file cleanup.
3427 (info_proc): Use.
3428
3429 * defs.h (make_cleanup_freeargv): Helper function. Establish
3430 cleanup using freeargv. Can not just typecast/pass freeargv as it
3431 violates ISO-C.
3432 * utils.c (do_freeargv): Helper.
3433 (make_cleanup_freeargv): New function.
3434
3435 * symmisc.c (maintenance_print_symbols,
3436 maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
3437 (symbol_file_command), stack.c (backtrace_command), remote-sim.c
3438 (gdbsim_create_inferior, gdbsim_open), remote-mips.c
3439 (common_open), procfs.c (info_proc), infrun.c (handle_command,
3440 xdb_handle_command), exec.c (exec_file_attach): Call
3441 make_cleanup_freeargv.
3442
34431999-03-03 James Ingham <jingham@cygnus.com>
3444
3445 * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
3446 disassembly flavor at startup, rather than hardcoding it.
3447
34481999-03-03 Jim Blandy <jimb@zwingli.cygnus.com>
3449
3450 Put return values in the right place.
3451 * fr30-tdep.c (fr30_store_return_value): New function.
3452 * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
3453 fr30_store_return_value.
3454
3455Wed Mar 3 18:10:55 1999 Andrew Cagney <cagney@chook.cygnus.com>
3456
3457 * gdbtypes.c (virtual_base_list_aux): Return void. Add prototype.
3458
3459 * breakpoint.c (map_catch_names): Comment out unused function.
3460
34611999-03-02 Jason Molenda (jsm@bugshack.cygnus.com)
3462
3463 * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
3464 structure on PA 2.0 systems.
3465
34661999-03-02 Stan Shebs <shebs@andros.cygnus.com>
3467
3468 From Gary Thomas <gthomas@cygnus.co.uk>:
3469 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
3470 THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
3471 instead of SWI 24.
3472 * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
3473 (IN_SIGTRAMP): Define.
3474
34751999-03-02 Nick Clifton <nickc@cygnus.com>
3476
3477 * findvar.c (store_address): Delete incorrect big endian
3478 code.
3479
3480Tue Mar 2 18:02:42 1999 Andrew Cagney <cagney@chook>
3481
3482 * configure.in (gdb_cv_os_cygwin): Compat. Continue to reconize
3483 __CYGWIN32__.
3484
34851999-03-01 Jason Molenda (jsm@bugshack.cygnus.com)
3486
3487 * configure.in: Move setting of gdb_cv_os_cygwin to before
3488 setting of TERM_LIB. Check for __CYGWIN__ instead of __CYGWIN32__.
3489 * configure: Regenerated.
3490
34911999-03-01 DJ Delorie <dj@cygnus.com>
3492
3493 * configure.in: Change -cygwin32* to -cygwin*.
3494 * configure: Ditto.
3495
34961999-02-25 Stan Shebs <shebs@andros.cygnus.com>
3497
3498 * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
3499 SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
3500 SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
3501 * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
3502
35031999-02-25 Keith Seitz <keiths@cygnus.com>
3504
3505 * corelow.c (core_close): Clear out solib state before
3506 closing the bfd associated with the core file.
3507 * solib.c (clear_solib): Mention that clear_solib requires
3508 an open BFD in order for disable_breakpoints_in_shlibs to
3509 determine whether breakpoints live in shared libraries.
3510
35111999-02-24 Jason Molenda (jsm@bugshack.cygnus.com)
c906108c
SS
3512
3513 * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0
3514 processor.
3515 * acconfig.h: Add CPU_HPPA_RISC_20
3516 * config.in, configure: Regenerated.
3517 * hppa-tdep.c (pa_register_look_aside): Only refer to new
3518 structure elements if we are on a PA2.0 system.
3519 * defs.h: Include limits.h.
3520
7a292a7a
SS
3521Tue Feb 23 14:37:08 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3522
3523 * infrun.c (wait_for_inferior): Check scheduler_locking state
3524 before resuming after a thread-specific breakpoint.
3525
35261999-02-23 Jim Blandy <jimb@zwingli.cygnus.com>
3527
3528 * aclocal.m4, config.in, configure: Regenerated with latest
3529 autotools.
3530
3531Mon Feb 22 12:32:19 1999 Per Bothner <bothner@cygnus.com>
3532
3533 * jv-valprint.c (java_val_print): Restore line that somehow got lost.
3534
3535 * jv-valprint.c (java_print_value_fields): Check for NULL type.
3536
35371999-02-21 Jim Blandy <jimb@zwingli.cygnus.com>
3538
3539 * tm-h8500.h, i386lynx-nat.c: Removed. These files are long
3540 dead; it seems that they only appeared due to some CVS weirdness.
3541 If they appear again, we may need to distribute garlic and holy
3542 water.
3543
35441999-02-19 Jason Molenda (jsm@bugshack.cygnus.com)
3545
3546 * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
3547 * configure: Regenerated.
3548
35491999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
3550
3551 * configure.host (i[3456]86-*-msdosdjgpp*): New host.
3552 * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
3553 * go32-nat.c: New file, native DJGPP support.
3554 * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
3555 * config/i386/go32.mt: New file, DJGPP (go32) target.
3556 * config/i386/nm-go32.h: New file.
3557 * config/i386/tm-go32.h: New file.
3558 * config/i386/xm-go32.h: Rewritten for current DJGPP.
3559
35601999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
3561
3562 * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
3563 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
3564 config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
3565 config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
3566 config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
3567 config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch
3568 testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp:
3569 Update FSF address in copyright notices.
3570
35711999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
3572
3573 * configure.in: Quote "$GCC" correctly.
3574 * configure: Regenerated.
3575
35761999-02-18 Jim Blandy <jimb@zwingli.cygnus.com>
3577
3578 * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
3579 section named ".text", which has all the code in it. Instead, look
3580 at all the sections in the file with the `code' flag set.
3581 (find_text_range): New function, that does all the work.
3582
3583Thu Feb 18 17:50:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
3584
3585 * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
3586
3587Fri Jan 29 16:51:11 1999 Andrew Cagney <cagney@chook.cygnus.com>
3588
3589 * mips-tdep.c (return_value_location): New function. Merge/rewrite
3590 of return-value code in mips_extract_return_value,
3591 mips_store_return_value. Stop buffer overflow when 64 bit value
3592 in 32 bit registers. Extract 64bit float from 32 bit register
3593 pair of correct order.
3594 (mips_extract_return_value, mips_store_return_value): Call
3595 return_value_location. For store, ensure that remainder of
3596 register is zero.
c906108c 3597
7a292a7a 3598Wed Feb 17 10:10:27 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
3599
3600 * gdbtypes.h (get_discrete_bounds): Remove duplicate decl.
3601
3602 * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered.
3603
7a292a7a 3604Mon Jan 25 18:30:57 1999 Per Bothner <bothner@cygnus.com>
c906108c
SS
3605
3606 * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant.
3607 (java_primitive_type_from_name, get_java_object_header_size): Declare.
3608 * jv-lang.c (java_class_from_object): Use get_java_object_type.
3609 * jv-lang.c: Update Class field names: dtable->vtable,
3610 msize->method_count, nfields->field_count, bfsize->size_in_bytes,
3611 nmethods->method_count.
3612 (type_from_class): Demangle array type names.
3613 (java_link_class_type): Array type names are now demangled.
3614 (get_java_object_type): If not defined yet, try looking it up.
3615 (get_java_object_header_size): New function.
3616 (java_primitive_type_from_name): New function.
3617 (java_demangled_signature_length, java_demangled_signature_copy): New.
3618 (java_demangle_type_signature): Re-implement using above functions.
3619 (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java
3620 to evaluate subexp (not evaluate_subexp_standard).
3621 For BINOP_SUBSCRIPT update for new array type naming scheme.
3622 * jv-valprint.c (java_value_print): Use java_class_from_object.
3623 Update array printing to new array type naming convention.
3624 (java_val_print): Doing check_typedef when printing a pointer is
3625 is a waste of effort. Also, handle TYPE_CODE_INT, to make sure
3626 Java bytes as not printed as C chars.
3627
7a292a7a 3628Fri Jan 8 16:58:22 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
3629
3630 * blockframe.c (find_pc_sect_partial_function): Search full symtabs as
3631 a last ditch effort (after the partial & minimal symtabs).
3632 * defs.h utils.c: Fixup prototypes for vprintf_filtered,
3633 vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
3634 ints to match their standard equivalents.
3635 * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to
3636 control the prologue skipping process.
3637 * jv-typeprint.c (java_type_print_base): Remove extern for
3638 jv_class_demangle, add new arg for objfile (NULL).
3639 * symtab.h: Remove struct sourcevector and struct source. Definately
3640 not needed.
3641 * values.c (value_virtual_fn_field): Fixes code to handle new vtable
3642 debug info format. Patch from marka.
3643
7a292a7a 3644Wed Dec 16 23:11:25 1998 Stu Grossman <grossman@fencer.cygnus.com>
c906108c
SS
3645
3646 * jv-lang.c (java_class_from_object java_class_is_primitive
3647 is_object_type): Change dtable to vtable.
3648 * (java_primitive_type): Change arg to type char.
3649 * (_initialize_java_language): Make java_char_type be unsigned.
3650 * jv-lang.h: Fixup prototypes.
3651
7a292a7a 3652Mon Dec 7 19:02:15 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
3653
3654 * jv-valprint.c (java_value_print): Fix printing of values where
3655 run time type != compile time type.
3656
7a292a7a
SS
3657Fri Dec 4 15:23:38 1998 Stu Grossman <grossman@fencer.cygnus.com>
3658
c906108c
SS
3659 * Makefile.in: Whack out m2-typeprint.c.
3660 * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this
3661 global. It's needed by Java.
3662 * (c_type_print_base): Whack prefix off of qualified method names
3663 (names with name spaces).
3664 * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes.
3665 Shrink voffset
3666 to 16 bits to compensate for added bits above (hopefully this is still
3667 enough).
3668 * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
3669 attribute bits.
3670 * jv-typeprint.c (java_type_print_base): Fix printing of method
3671 attributes. Handle JVM style manglings.
3672 * (java_print_type): Enable code type print varspec_suffix to allow
3673 array indices to print out.
3674 * jv-valprint.c (java_val_print): Minor formatting.
3675 * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type.
3676 * stabsread.c (read_member_functions): Save public and static attributes.
7a292a7a
SS
3677
3678Wed Feb 17 15:32:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
c906108c 3679
c906108c
SS
3680 * breakpoint.c (watch_command_1): Reformat comment.
3681
c906108c
SS
3682 * c-typeprint.c (c_type_print_base): Reformat comments.
3683
7a292a7a
SS
36841999-02-17 Jim Blandy <jimb@zwingli.cygnus.com>
3685
3686 * Makefile.in (VERSION): Bump version to 4.17.2.
3687
3688Tue Feb 16 15:48:20 1999 Edith Epstein <eepstein@sophia.cygnus.com>
3689
c906108c
SS
3690 * config/pa/nm-hppah.h: Added prototype declarations for
3691 hppa_enable_page_protection_events and
3692 hppa_disable_page_protection_events.
7a292a7a 3693
c906108c
SS
3694 * inftarg.c (child_wait): Fixed code that checks whether
3695 or not the target program has done a fork/vfork.
3696 related_pid does not have a value unless the target
3697 program has forked/vforked.
7a292a7a
SS
3698
3699 * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
3700 function always returns a value.
3701 (hppa_remove_hw_watchpoint): Make sure that function always
3702 returns a value.
c906108c 3703
7a292a7a 3704Tue Feb 16 06:31:58 1999 Keith Seitz <keiths@cygnus.com>
c906108c 3705
7a292a7a
SS
3706 * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
3707 let the generic call dummy infrastructure do it.
c906108c
SS
3708
3709Sun Feb 14 18:21:08 1999 Mark Alexander <marka@cygnus.com>
3710
3711 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
3712 coffread.c will correctly handle char or short function parameters.
3713
37141999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
3715
3716 * configure, aclocal.m4: Regenerate with correct version of aclocal.
3717
37181999-02-10 Syd Polk <spolk@cygnus.com>
3719
3720 * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
3721 * aclocal.m4: Regnerate.
3722 * configure: Regenerate.
3723
37241999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3725
3726 * demangle.c: Fix comments to mention "set demangle-style"
3727 instead of "set demangle".
3728 Run through indent to fix minor indenting problems.
3729
3730Wed Feb 10 17:53:09 1999 Bob Manson <manson@charmed.cygnus.com>
3731
3732 * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
3733
3734Wed Feb 10 13:17:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3735
3736 Declare Gould configuration obsolete:
3737 * configure.host, configure.tgt: Comment out Gould configs.
3738 * Makefile.in: Comment out Gould-related actions.
3739 * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
3740 * NEWS: Mention obsolete status.
3741
37421999-02-09 DJ Delorie <dj@cygnus.com>
3743
3744 * sparcl-tdep.c: UDP download works in cygwin
3745
37461999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
3747
3748 * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
3749 * configure.in: Don't check for libintl.h.
3750 * configure, config.in: Regenerated.
3751
3752Mon Feb 8 18:10:50 1999 Stan Shebs <shebs@andros.cygnus.com>
3753
3754 * NEWS: Mention new X packet and PowerPC variant support.
3755
37561999-02-08 Nick Clifton <nickc@cygnus.com>
3757
3758 * configure.host: Add support for StrongARM host.
3759 * configure.tgt: Add support for StrongARM target.
3760
3761Mon Feb 8 12:05:05 1999 David Taylor <taylor@texas.cygnus.com>
3762
3763 * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
3764 otherwise on big endian machine with a bfd_vma of 64 bits,
3765 *everything* gets loaded at location 0.
3766
3767Mon Feb 7 10:05:43 1999 Frank Ch. Eigler <fche@cygnus.com>
3768
3769 * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
3770 to target program.
3771
3772Fri Feb 5 16:46:14 1999 Stan Shebs <shebs@andros.cygnus.com>
3773
3774 * NEWS: Add mentions of various new things.
3775
3776Thu Feb 4 00:19:14 1999 Christopher Faylor <cgf@cygnus.com>
3777
3778 * configure.in: Move termcap determination later in the
3779 file to catch setting of cygwin flag.
3780 * configure: Regenerate.
3781
3782Wed Feb 3 14:16:38 1999 Christopher Faylor <cgf@cygnus.com>
3783
3784 * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
3785 * configure.in: Treat libtermcap.a detection as a special case
3786 when hosting on cygwin.
3787 * configure: Regenerate.
3788
37891999-02-03 Keith Seitz <keiths@cygnus.com>
3790
3791 * remote.c (remote_binary_download, remote_binary_length): New
3792 static globals for dealing with binary transmissions.
3793 (remote_write_bytes): Add support for binary downloads
3794 by shadowing the "M" packet with a new "X" packet. This
3795 defaults to ON; if the stub does not understand this, it
3796 will fall back to using "M".
3797 (putpkt): Add support for binary downloading.
3798 * monitor.c (monitor_expect): The mon2000 monitor
3799 on the MSA2000 will also emit random DC1/DC3 chars.
3800 * m32r-stub.c: Change all char's to unsigned char's
3801 to support binary downloading.
3802 (handle_exception): Add support for binary downloading
3803 via a new "X" packet.
3804 (getpacket): Do NOT strip eighth bit of incoming chars.
3805 Watch out for escaped characters in the incoming stream.
3806 (putpacket): Do NOT strip eighth bit of incoming chars.
3807 (bin2mem): New function to write binary data directly to
3808 memory.
3809 * m32r-rom.c: Add new "mon2000" target.
3810
3811Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3812
3813 * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
3814 passed to make_cleanup to the correct type.
3815 (hpread_quick_traverse): Change fifth arg to call to
3816 hpread_end_psymtab to be 0.
3817 Compare CURR_MODULE_END to 0 rather than NULL.
3818 Get rid of ifdef'ed out code.
3819 (scan_procs): Get rid of ifdef'ed out code.
3820
3821 * somread.c (som_symfile_read): Coerce first argument passed to
3822 make_cleanup to the correct type.
3823
3824Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3825
3826 * hp-psymtab-read.c (do_pxdb): New function. Check whether the
3827 file needs to be processed by pxdb (an HP debug info massaging
3828 tool), if so call it.
3829 (hpread_build_psymtabs): Initialize scan_start to 0 and
3830 simplify flow of control.
3831
3832 * somread.c (som_symfile_read): Add call to do_pxdb (),
3833 in hp-psymtab-read.c.
3834
3835 * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
3836 code.
3837 (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
3838 in hp-psymtab-read.c.
3839
38401999-02-02 Martin Hunt <hunt@cygnus.com>
3841
3842 * printcmd.c (print_scalar_formatted): Use strcat to concat all
3843 the output together before calling fprintf_filtered().
3844
38451999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
3846
3847 * configure.in: Require autoconf 2.13.
3848 (AM_EXEEXT): Replace with new AC_EXEEXT.
3849 * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
3850 * aclocal.m4: Regenerated.
3851 * configure: Regenerated.
3852
38531999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
3854
3855 Allow PPC users to select which PPC/RS6000 variant they're
3856 debugging at run-time. At the moment, the only thing this affects
3857 is the set of registers visible.
3858 * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
3859 to the function rs6000_register_name.
3860 (rs6000_register_name): Include extern decl.
3861 (NUM_REGS): Bump to 183. What's the right way to do this?
3862 (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
3863 FIRST_SP_REGNUM, LAST_SP_REGNUM.
3864 (REGISTER_BYTES): Recompute this.
3865 * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
3866 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
3867 some concomitant formatting changes.
3868 #include "gdbcmd.h", so we can define commands here.
3869 (struct variant): New structure.
3870 (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
3871 PPC_32_OEA_SPR_NAMES, num_registers): New macros.
3872 (register_names_rs6000, register_names_uisa, register_names_403,
3873 register_names_403GC, register_names_505, register_names_860,
3874 register_names_601, register_names_602, register_names_603,
3875 register_names_604, register_names_750, variants): New variables.
3876 (rs6000_register_name, install_variant, find_variant_by_name,
3877 install_variant_by_name, list_variants, show_current_variant,
3878 set_processor, show_processor): New functions.
3879 (_initialize_rs6000_tdep): Define new commands `set processor' and
3880 `show processor', and call install_variant_by_name to set the
3881 default variant.
3882 * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
3883 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
3884 some concomitant formatting changes.
3885 * configure.in: Accept the `--with-cpu' flag, to specify a default
3886 processor variant.
3887 * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
3888 by configure's `--with-cpu' flag.
3889 * config.in, configure: Regenerated.
3890
3891Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com>
3892
3893 * buildsym.h, buildsym.c: Convert to ANSI-only.
3894
3895 * buildsym.h, buildsym.c: Reformat to standard.
3896
3897 * buildsym.c (merge_symbol_lists): Remove unused variable.
3898 (_initialize_buildsym): Remove, does nothing.
3899
39001999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
3901
3902 * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
3903 sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
3904 to include explicit void return type as per documentation. Fix up
3905 occasions where stubs erroneously checked return type.
3906
3907Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com>
3908
3909 From J.T. Conklin <jtc@redbacknetworks.com>:
3910 * remote.c (remote_query): Fix tipo.
3911
3912Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com>
3913
3914 * configure.tgt (v850): Add wildcard to match.
3915
3916Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
3917
3918 * inferior.h: Ran indent.
3919
3920 * fork-child.c: Ran indent.
3921
3922 * infrun.c : Ran indent.
3923
3924Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3925
3926 * infrun.c (_initialize_infrun): Do not stop or print anything
3927 when a SIGWINCH is received.
3928
3929 * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
3930 (f-exp.tab.c): Ditto.
3931 (jv-exp.tab.c): Ditto.
3932 (c-exp.tab.c): Ditto.
3933 (YACC): Define as @YACC@.
3934
39351999-01-29 Martin Hunt <hunt@cygnus.com>
3936
3937 Changes from Keith Seitz <keiths@cygnus.com>
3938 * valops.c (value_assign): Add calls to register_changed_hook and
3939 memory_changed_hook to inform UIs that the user has changed
3940 the target's registers/memory.
3941 * findvar.c (write_register_gen): Remove call to pc_changed_hook.
3942 * defs.h: Remove declaration for pc_changed_hook and
3943 add declarations for register_changed_hook and
3944 memory_changed_hook.
3945 * top.c: Ditto.
3946
39471999-01-29 Mark Alexander <marka@cygnus.com>
3948
3949 * procfs.c (wait_fd): Handle deleted threads correctly.
3950
39511999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
3952
3953 * utils.c (init_page_info): Force window size if running under emacs.
3954
39551999-01-27 James Ingham <jingham@cygnus.com>
3956
3957 * typeprint.c (whatis_exp): Remove static declaration.
3958
3959Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3960
3961 * hp-psymtab-read.c: Reformat using indent.
3962
3963Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3964
3965 * hp-psymtab-read.c: Reformat comments, update copyright.
3966
3967Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
3968
3969 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
3970 v850_register_names, v850_processor_type_table): Declare tables
3971 and structures for handling differences in register names for
3972 v850 and v850e.
3973 (struct reg_list): Define new structure for creating tables
3974 of register bit masks in v850e instrutions.
3975 (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
3976 (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
3977 and pushm.
3978 (v850_target_architecture_hook): New function to set register
3979 names based on current machine.
3980 (_initialize_v850_tdep): Set up target_architecture_hook.
3981 * config/v850/tm-v850.h (v850_register_names): Declare.
3982 (REGISTER_NAME): Define to refer to v850_register_names.
3983 (SR0_REGNUM, CTBP_REGNUM): Define.
3984 (PS_REGNUM): Redefine in terms of SR0_REGNUM.
3985
3986Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3987
3988 * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
3989 the correct value from configure output.
3990 (jv-exp.tab.c): Ditto.
3991 (f-exp.tab.c): Ditto.
3992 (m2-exp.tab.c): Ditto.
3993
39941999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
3995
3996 * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
3997 * frame.h (select_and_print_frame): Add prototype.
3998 * stack.c (func_command): Call select_and_print_frame with correct
3999 number of arguments. Reformat whitespace.
4000
4001Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
4002
4003 * remote.c (remote_query): fix maximum packet size to account for
4004 remote_debug use.
4005 (putpkt): add comment to alert about extra byte need.
4006
4007Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
4008
4009 * sh-tdep.c (sh_target_architecture_hook): Return immediately
4010 when a matching machine is found.
4011
4012Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
4013
4014 * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
4015 (common_breakpoint): Restore support for instruction breakpoints
4016 on non-LSI targets.
4017
4018Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
4019
4020 * stack.c: Close open comment.
4021 * symtab.c (find_pc_sect_line): Ditto.
4022
4023Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
4024
4025 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
4026 init only nonzero fields, leave to_require_attach and
4027 to_require_detach empty, not needed for /proc systems yet.
4028 (_initialize_procfs): Call init_procfs_ops.
4029
4030 From J.T. Conklin <jtc@redbacknetworks.com>:
4031 * top.c (init_main): Fix tipo in description of the remotetimeout
4032 variable.
4033 * breakpoint.c (bpstat_stop_status): Handle systems where
4034 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
4035
4036Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
4037
4038 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
4039 to fill in mon960_cmds structure properly.
4040
4041Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
4042
4043 * remote-sds.c (sds_ops): Define only once.
4044 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
4045 (init_sds_ops): Init only non-zero fields.
4046
4047Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
4048
4049 * h8300-tdep.c (original_register_names, h8300h_register_names,
4050 h8300_register_names): Define new variables.
4051 (set_register_names): New function to set register names based on
4052 current CPU type.
4053 (h8300_command, h8300h_command, h8300s_command): Call
4054 set_register_names.
4055 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
4056 (REGISTER_NAME): Define to refer to h8300_register_names.
4057
40581999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
4059
4060 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
4061 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
4062 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
4063 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
4064 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
4065 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
4066 v850ice.c win32-nat.c: cosmetic changes to conform to coding
4067 standards.
4068
40691999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
4070
4071 Use aclocal to generate GDB's aclocal.m4 script.
4072 * acinclude.m4: New file, containing the hand-written local macro
4073 definitions that used to be in aclocal.m4. Don't sinclude
4074 ../bfd/aclocal.m4 any more; running aclocal in this directory will
4075 get us the definitions we need. HOWEVER: Do sinclude
4076 ../bfd/acinclude.m4, because we need the definition of
4077 BFD_NEED_DECLARATION.
4078 * aclocal.m4: Regenerated by aclocal.
4079 * configure: Regenerated by autoconf.
4080
4081Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
4082
4083 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
4084 silent, controls whether to print message about removal of shared
4085 library breakpoints.
4086 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
4087 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
4088 * osfsolib.c (clear_solib): ditto.
4089 * solib.c (clear_solib): ditto.
4090 * somsolib.c (som_solib_restart): update call to
4091 disable_breakpoints_in_shlibs.
4092
4093 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
4094 is define.
4095
4096Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
4097
4098 * corelow.c (solib_add_stub): Ditto.
4099 (core_file_to_sym_file): Cast make_cleanup parameter.
4100
4101 * solib.c (symbol_add_stub, solib_map_sections): Change argument
4102 to PTR insted of a char*. Matches catch_errors interface.
4103
4104Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
4105
4106 * remote-array.c (array_open): Don't use fprintf_filtered to send
4107 data to the log file.
4108
4109 * remote-array.c (handle_load_dll): Change argument type to PTR so
4110 that it is compatible with catch_errors.
4111 * ocd.c (ocd_start_remote): Ditto.
4112 * remote-sds.c (sds_start_remote): Ditto.
4113
4114 * win32-nat.c (win32_child_thread_alive): Namespace proof
4115 child_thread_alive.
4116 (init_child_ops): Update.
4117
4118Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
4119
4120 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
4121 gdb_hostif.dbgarg to NULL instead of stdout.
4122 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
4123
4124Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
4125
4126 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
4127
4128 * target.c (dummy_target): Don't initialize statically.
4129 (init_dummy_target): New function, fills in dummy_target.
4130 (initialize_targets): Use it.
4131 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
4132 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
4133 (_initialize_hpux_thread): Use it.
4134 * m3-nat.c (m3_ops): Don't initialize statically.
4135 (init_m3_ops): New function, fills in m3_ops.
4136 (_initialize_m3): Use it.
4137
41381999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
4139
4140 * sol-thread.c: delete compile time initialization of target_ops
4141 (_initialize_sol_thread): initialize target_ops at run time.
4142 * hpux-thread.c: added target_ops entry.
4143 * m3-nat.c: ditto.
4144
4145Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
4146
4147 * procfs.c (procfs_ops): delete compile time initialization.
4148 (_initialize_procfs): initialize procfs_ops at run time.
4149
4150Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
4151
4152 * configure.in: Ensure that -luser32 is always linked in
4153 for cygwin build.
4154 * configure: Regenerated.
4155
4156Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
4157
4158 * values.c (value_virtual_fn_field): Clear the pointed-to
4159 offset when casting to the base class.
4160
4161Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
4162
4163 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
4164 udi_ops; delete NULL initializers.
4165
4166Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
4167
4168 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
4169 gdb_file*.
4170
4171 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
4172
4173Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
4174
4175 * stack.c (print_frame_info_base): Don't cast call to
4176 catch_errors.
4177 (print_args_stub): Change char* arg to PTR.
4178 * symmisc.c (print_symbol): Ditto.
4179 * top.c (quit_cover): Ditto.
4180 * remote.c (remote_open_1, remote_start_remote): Ditto.
4181 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
4182 Ditto.
4183
4184 * stack.c (backtrace_command): Cast first arg of make_cleanup to
4185 make_cleanup_func.
4186 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
4187
4188Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
4189
4190 * defs.h (catch_errors_ftype): Define.
4191 (catch_errors): Replace char* arg with PTR arg.
4192 * top.c (catch_errors): Update
4193
4194 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
4195 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
4196 catch_errors.
4197 (breakpoint_cond_eval, watchpoint_check,
4198 cover_target_enable_exception_callback, breakpoint_re_set_one):
4199 Arg is PTR not char*.
4200
4201 * breakpoint.c (cover_target_enable_exception_callback): Change
4202 type to int. Check for cast values of 0 and -1. Return a result!
4203 (insert_breakpoints): Move declaration of SAL and ARGS to where
4204 they are used.
4205
42061999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4207
4208 * remote.c (remote_query): new function - creates proper interface
4209 to the remote protocol "q" command.
4210
4211Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
4212
4213 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
4214 (always use pointer for structs passed by value).
4215
42161999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
4217
4218 * target.h: added entry for target queries (to_query)
4219 target.c: ditto.
4220
4221Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
4222
4223 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
4224 * remote-udi.c (udi_wait): fix stream arg to fwrite.
4225 * symmisc.c (maintenance_check_symtabs): fix stream argument to
4226 print_address_numeric.
4227
4228Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
4229
4230 * breakpoint.c (insert_breakpoints): insert cast to eliminate
4231 warning.
4232
4233Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
4234
4235 * infrun.c (set/show scheduler-locking) New command. Set a
4236 mode bit that will control how GDB attempts to control thread
4237 scheduling for step, continue, etc. (resume): make use of
4238 the schedule-locking mode.
4239 * target.h (struct target_ops): new field to_has_thread_control.
4240 * sol-thread.c: initialize target_ops to_has_thread_control.
4241 * procfs.c: ditto.
4242 * target.c: ditto.
4243 * m3-nat.c: ditto.
4244 * remote.c: ditto.
4245 * hpux-thread.c: ditto.
4246 * thread.c: cull duplicate prototypes. Move prototypes to top.
4247 * serial.c: indentation cleanup.
4248 * breakpoint.c: add casts to eliminate compiler warnings.
4249
4250Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
4251
4252 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
4253 call to fork_inferior. The shell param is now NULL.
4254
42551999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
4256
4257 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
4258 (_initialize_remote_monitors): Same.
4259
42601999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
4261
4262 * monitor.c (init_monitor_ops): Initialize the monitor_ops
4263 structure if it hasn't already been done.
4264
4265Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
4266
4267 * inftarg.c (child_ops): Don't initialize statically.
4268 (init_child_ops): New function, fills in child_ops.
4269 (_initialize_inftarg): Use it.
4270 (child_post_attach): Declare extern.
4271 (child_wait): Fix ambiguous parens.
4272 (child_attach_to_process): Remove unused local wstatus.
4273 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
4274 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
4275 child_has_forked, child_insert_exec_catchpoint,
4276 child_remove_exec_catchpoint): Return a value.
4277
4278Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
4279
4280 * remote.c (remote_wait): Add inferior_pid to thread list only
4281 if it is not already there.
4282
42831999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
4284
4285 * scm-tags.h: Update FSF's address on copyright notice.
4286 * ser-e7kpc.c: Same.
4287 * gnu-nat.h: Same.
4288
4289Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
4290
4291 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
4292 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
4293 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
4294 * stack.c (struct function_bounds): Remove superfluous `typedef'.
4295 * symfile.c (list_overlays_command): stdout => gdb_stdout.
4296 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
4297 * utils.c (print_spaces): Make more efficient.
4298
4299Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
4300
4301 * utils (print_spaces): fix arg to strcat; fix formatting.
4302
4303Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
4304
4305 * exec.c (exec_ops): Don't initialize statically.
4306 (init_exec_ops): New function, fills in exec_ops.
4307 (_initialize_exec): Use it.
4308
4309Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
4310
4311 Beta FR30 port.
4312 * fr30-tdep.c
4313 * config/fr30/tm-fr30.h
4314
4315Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
4316
4317 * configure.in: Add an --enable-tui argument. Construct
4318 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
4319 have the GUI, then we need this to process libgui.h.
4320 (ENABLE_CFLAGS): define and export BUILD_TUI.
4321 (AC_CHECK_HEADERS): Add check for term.h.
4322
4323 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
4324
4325 * config.in, configure : regenerated.
4326
4327 * Makefile.in: Allow the TUI code to be conditionally enabled.
4328 (TUI_LIBRARY): New variable, value are set by the configuration
4329 script. Set to the empty string when the TUI isn't enabled.
4330 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
4331 tui/libtui.a directly.
4332 (BUILD_TUI): build the tui -- only when configured with
4333 --enable-tui.
4334 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
4335 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
4336 (all-tui): remove dependency from phony target.
4337 (c-exp.tab.c): use ylwrap instead of bison.
4338 (jv-exp.tab.c): ditto.
4339 (f-exp.tab.c): ditto.
4340 (m2-exp.tab.c): ditto.
4341 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
4342 (SFILES): remove the above files
4343 (COMMON_OBS): remove somread.o
4344 (SFILES): Add the tui files to this, so they get included in etags
4345 tables.
4346 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
4347 tui/libtui.a to the link list.
4348 (all-tui): New rule, which does a recursive make in the tui
4349 subdir.
4350 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
4351 don't echo the make command. This is closer to what the other
4352 recursions do.
4353 (HFILES_NO_SRCDIR): add hpread.h
4354 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
4355 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
4356 the new files. Remove hpread.c, hpread.o
4357 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
4358 fictitious target. Since the fictitious target never existed,
4359 make would always relink.
4360 (tui/libtui.a): Always recurse to make sure the library is up to
4361 date.
4362
4363Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
4364
4365 * remote.c: Pacify --enable-build-warnings, reformat code
4366 to conform to standards, fix spelling errors.
4367 (ishex, stubhex, record_currthread, etc): Declare.
4368 (ishex, stubhex): Declare char arg as int.
4369 (pack_string): Comment out, never used but possibly useful.
4370 (threadref_to_int, remote_get_threadinfo, etc): Make static.
4371
4372Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
4373
4374 The following changes were made by Elena Zannoni
4375 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
4376 part of a project to merge in changes made by HP.
4377
4378 * c-exp.y: use external flag hp_som_som_object_present to decide
4379 whether code was compiled by HP's compilers. Add two new C++
4380 tokens for true and false.
4381 (yylex): check for template name is done differently for the
4382 HP/aCC compiler case. Change some of the template processing code
4383 for handling HP aCC templates. Handle true and false tokens.
4384
4385Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
4386
4387 * remote.c (record_curthread): Must not modify inferior_pid when
4388 called from wait_for_inferior. Instead, if a new thread-id is
4389 detected, call add_thread.
4390 (MAGIC_NULL_PID): new macro, use instead of the magic number
4391 "42000".
4392 (remote_find_new_threads): if inferior_pid is unknown, get and use
4393 the current thread id.
4394 (remote_start_remote): on connecting, attempt to get the current
4395 thread id for inferior_pid.
4396 (remote_resume): If pid == -1, then resume any-thread (not the
4397 current thread specifically). Also some cosmetic fixups.
4398
4399 * thread.c (info_threads_command): don't initialize current_pid
4400 until after call to FIND_NEW_THREADS (which may change inferior_pid).
4401 Also some cosmetic fixups.
4402 * infrun.c: cosmetic fixups and casts to avoid warnings.
4403 * infcmd.c: cosmetic fixups, mainly long lines.
4404
4405Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
4406
4407 * target.c (noprocess): terminate sentence with a period.
4408 * breakpoint.c (catch_command_1): ditto.
4409
4410 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
4411 testsuite losses with no real gain.
4412
4413 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
4414 if tm-*.h hasn't overridden default value.
4415
44161999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
4417
4418 * configure.in: Fix whitespace indentation for --help.
4419 * configure: Regenerated.
4420
44211999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
4422
4423 * main.c: Add --write command line option, document -w.
4424 * gdb.1: Document --write.
4425
44261999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
4427
4428 * configure.in: Require autoconf 2.12.1 or higher.
4429 * doc/configure.in: Ditto.
4430 * nlm/configure.in: Ditto.
4431 * rdi-share/configure.in: Ditto.
4432 * testsuite/configure.in: Ditto.
4433 * doc/Makefile.in: Don't hardcode $(SHELL).
4434 * nlm/Makefile.in: Ditto.
4435 * rdi-share/Makefile.in: Ditto.
4436 * testsuite/Makefile.in: Ditto.
4437
4438Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
4439
4440 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
4441 inits of new fields, including ref to bogus field.
4442 (vx_ops, vx_run_ops): Make static.
4443
4444Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
4445
4446 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
4447 already defined in tm.h.
4448
4449 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
4450 conditionalize its inclusion.
4451 * infttrace.c: ditto.
4452
4453For older changes see ChangeLog-98
4454\f
4455Local Variables:
4456mode: change-log
4457left-margin: 8
4458fill-column: 74
4459version-control: never
4460End:
This page took 0.309996 seconds and 4 git commands to generate.