1 Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
3 * stack.c (print_frame_info_base): Don't cast call to
5 (print_args_stub): Change char* arg to PTR.
6 * symmisc.c (print_symbol): Ditto.
7 * top.c (quit_cover): Ditto.
8 * remote.c (remote_open_1, remote_start_remote): Ditto.
9 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
12 * stack.c (backtrace_command): Cast first arg of make_cleanup to
14 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
16 Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
18 * defs.h (catch_errors_ftype): Define.
19 (catch_errors): Replace char* arg with PTR arg.
20 * top.c (catch_errors): Update
22 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
23 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
25 (breakpoint_cond_eval, watchpoint_check,
26 cover_target_enable_exception_callback, breakpoint_re_set_one):
29 * breakpoint.c (cover_target_enable_exception_callback): Change
30 type to int. Check for cast values of 0 and -1. Return a result!
31 (insert_breakpoints): Move declaration of SAL and ARGS to where
34 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
36 * remote.c (remote_query): new function - creates proper interface
37 to the remote protocol "q" command.
39 Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
41 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
42 (always use pointer for structs passed by value).
44 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
46 * target.h: added entry for target queries (to_query)
49 Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
51 start-sanitize-carp start-sanitize-vr4xxx
52 * mips-tdep.c (mips_gdbarch_init): fix stream arg in
53 fprintf_unfiltered calls.
54 end-sanitize-carp end-sanitize-vr4xxx
55 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
56 * remote-udi.c (udi_wait): fix stream arg to fwrite.
57 * symmisc.c (maintenance_check_symtabs): fix stream argument to
58 print_address_numeric.
60 Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
62 * breakpoint.c (insert_breakpoints): insert cast to eliminate
65 Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
67 * infrun.c (set/show scheduler-locking) New command. Set a
68 mode bit that will control how GDB attempts to control thread
69 scheduling for step, continue, etc. (resume): make use of
70 the schedule-locking mode.
71 * target.h (struct target_ops): new field to_has_thread_control.
72 * sol-thread.c: initialize target_ops to_has_thread_control.
77 * hpux-thread.c: ditto.
78 * thread.c: cull duplicate prototypes. Move prototypes to top.
79 * serial.c: indentation cleanup.
80 * breakpoint.c: add casts to eliminate compiler warnings.
82 Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
84 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
85 call to fork_inferior. The shell param is now NULL.
87 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
89 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
90 (_initialize_remote_monitors): Same.
92 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
94 * monitor.c (init_monitor_ops): Initialize the monitor_ops
95 structure if it hasn't already been done.
97 Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
99 * inftarg.c (child_ops): Don't initialize statically.
100 (init_child_ops): New function, fills in child_ops.
101 (_initialize_inftarg): Use it.
102 (child_post_attach): Declare extern.
103 (child_wait): Fix ambiguous parens.
104 (child_attach_to_process): Remove unused local wstatus.
105 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
106 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
107 child_has_forked, child_insert_exec_catchpoint,
108 child_remove_exec_catchpoint): Return a value.
110 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
112 * remote.c (remote_wait): Add inferior_pid to thread list only
113 if it is not already there.
115 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
117 * scm-tags.h: Update FSF's address on copyright notice.
121 Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
123 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
124 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
125 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
126 * stack.c (struct function_bounds): Remove superfluous `typedef'.
127 * symfile.c (list_overlays_command): stdout => gdb_stdout.
128 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
129 * utils.c (print_spaces): Make more efficient.
131 Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
133 * utils (print_spaces): fix arg to strcat; fix formatting.
135 Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
137 * exec.c (exec_ops): Don't initialize statically.
138 (init_exec_ops): New function, fills in exec_ops.
139 (_initialize_exec): Use it.
141 Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
145 * config/fr30/tm-fr30.h
147 Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
149 * configure.in: Add an --enable-tui argument. Construct
150 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
151 have the GUI, then we need this to process libgui.h.
152 (ENABLE_CFLAGS): define and export BUILD_TUI.
153 (AC_CHECK_HEADERS): Add check for term.h.
155 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
157 * config.in, configure : regenerated.
159 * Makefile.in: Allow the TUI code to be conditionally enabled.
160 (TUI_LIBRARY): New variable, value are set by the configuration
161 script. Set to the empty string when the TUI isn't enabled.
162 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
163 tui/libtui.a directly.
164 (BUILD_TUI): build the tui -- only when configured with
166 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
167 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
168 (all-tui): remove dependency from phony target.
169 (c-exp.tab.c): use ylwrap instead of bison.
170 (jv-exp.tab.c): ditto.
171 (f-exp.tab.c): ditto.
172 (m2-exp.tab.c): ditto.
173 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
174 (SFILES): remove the above files
175 (COMMON_OBS): remove somread.o
176 (SFILES): Add the tui files to this, so they get included in etags
178 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
179 tui/libtui.a to the link list.
180 (all-tui): New rule, which does a recursive make in the tui
182 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
183 don't echo the make command. This is closer to what the other
185 (HFILES_NO_SRCDIR): add hpread.h
186 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
187 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
188 the new files. Remove hpread.c, hpread.o
189 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
190 fictitious target. Since the fictitious target never existed,
191 make would always relink.
192 (tui/libtui.a): Always recurse to make sure the library is up to
195 Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
197 * remote.c: Pacify --enable-build-warnings, reformat code
198 to conform to standards, fix spelling errors.
199 (ishex, stubhex, record_currthread, etc): Declare.
200 (ishex, stubhex): Declare char arg as int.
201 (pack_string): Comment out, never used but possibly useful.
202 (threadref_to_int, remote_get_threadinfo, etc): Make static.
204 Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
206 The following changes were made by Elena Zannoni
207 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
208 part of a project to merge in changes made by HP.
210 * c-exp.y: use external flag hp_som_som_object_present to decide
211 whether code was compiled by HP's compilers. Add two new C++
212 tokens for true and false.
213 (yylex): check for template name is done differently for the
214 HP/aCC compiler case. Change some of the template processing code
215 for handling HP aCC templates. Handle true and false tokens.
217 Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
219 * remote.c (record_curthread): Must not modify inferior_pid when
220 called from wait_for_inferior. Instead, if a new thread-id is
221 detected, call add_thread.
222 (MAGIC_NULL_PID): new macro, use instead of the magic number
224 (remote_find_new_threads): if inferior_pid is unknown, get and use
225 the current thread id.
226 (remote_start_remote): on connecting, attempt to get the current
227 thread id for inferior_pid.
228 (remote_resume): If pid == -1, then resume any-thread (not the
229 current thread specifically). Also some cosmetic fixups.
231 * thread.c (info_threads_command): don't initialize current_pid
232 until after call to FIND_NEW_THREADS (which may change inferior_pid).
233 Also some cosmetic fixups.
234 * infrun.c: cosmetic fixups and casts to avoid warnings.
235 * infcmd.c: cosmetic fixups, mainly long lines.
237 Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
239 * target.c (noprocess): terminate sentence with a period.
240 * breakpoint.c (catch_command_1): ditto.
242 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
243 testsuite losses with no real gain.
245 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
246 if tm-*.h hasn't overridden default value.
248 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
250 * configure.in: Fix whitespace indentation for --help.
251 * configure: Regenerated.
253 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
255 * main.c: Add --write command line option, document -w.
256 * gdb.1: Document --write.
258 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
260 * configure.in: Require autoconf 2.12.1 or higher.
261 * doc/configure.in: Ditto.
262 * nlm/configure.in: Ditto.
263 * rdi-share/configure.in: Ditto.
264 * testsuite/configure.in: Ditto.
265 * doc/Makefile.in: Don't hardcode $(SHELL).
266 * nlm/Makefile.in: Ditto.
267 * rdi-share/Makefile.in: Ditto.
268 * testsuite/Makefile.in: Ditto.
270 Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
272 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
273 inits of new fields, including ref to bogus field.
274 (vx_ops, vx_run_ops): Make static.
276 Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
278 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
279 already defined in tm.h.
281 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
282 conditionalize its inclusion.
283 * infttrace.c: ditto.
285 For older changes see ChangeLog-98
291 version-control: never