Semi-bogus version of the file (sharing through devo).
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
60a98b30
AC
1Fri Nov 20 10:13:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * buildsym.c (end_symtab): Cleanup PROCESS_LINENUMBER_HOOK.
4
2196638d
GN
5Thu Nov 19 15:21:04 1998 Geoffrey Noer <noer@cygnus.com>
6
7 * rdi-share/host.h: if compiling under Cygwin, make sure new
8 preprocessor define is defined. Define it if not.
6bd87f42 9 * rdi-share/hostchan.h: ditto
2196638d
GN
10 * rdi-share/aclocal.m4: regenerate
11 * rdi-share/configure: regenerate
12
94a91918
GN
13Thu Nov 19 14:43:44 1998 Geoffrey Noer <noer@cygnus.com>
14
15 * configure.in: switch back to checking __CYGWIN32__
16 * configure: regenerate
17
a6a070be
AC
18Thu Nov 19 09:53:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
19
20 * exec.c (exec_file_command): Cleanup. Replace #if
21 NEED_TEXT_START_END with if().
22 * config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1.
23 * config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto.
24 * config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto.
25 * config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
26
1a443730
GN
27Thu Nov 19 13:06:22 1998 Geoffrey Noer <noer@cygnus.com>
28
29 * main.c: Wait until more time has passed before calling
30 new cygwin_ funcs, revert back to the cygwin32_ ones for now.
31 * win32-nat.c: Ditto.
32
206e3a8a
AC
33Wed Nov 18 15:03:17 1998 Andrew Cagney <cagney@chook.cygnus.com>
34
35 * 29k-share/udi/udip2soc.c (UDIConnect): Replace sys_errlist with
36 strerror.
37
8adbc73e
GN
38Mon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com>
39
40 * defs.h: if compiling under Cygwin, define __CYGWIN__ if
41 __CYGWIN32__ is defined and __CYGWIN__ isn't for backwards
42 compatibility.
43
d836385e
GN
44Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>
45
46 Changes to account for name change from cygwin32 to cygwin and
47 clean up Win32-related ifdefs.
48
49 * configure.tgt: check for cygwin* instead of cygwin32.
50 New cygwin gdb_target variable loses the "32".
51 * configure.host: check for cygwin* instead of cygwin32.
52 New cygwin gdb_host variable loses the "32".
53 * configure.in: test __CYGWIN__ instead of __CYGWIN32__,
54 rename gdb_cv_os_cygwin32 variable to drop the "32". Call
55 AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
56 autoconf yet.
57 * configure: regenerate.
58
59 * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h where
60 cygwin path conv protos live, instead of adding a proto here for
61 them here.
62 * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
63 instead of __CYGWIN32__.
64 * source.c: thoughout, check _WIN32 instead of WIN32.
65
66 * config/i386/cygwin32.mh: delete.
67 * config/i386/cygwin.mh: new file, was cygwin32.mh.
68 * config/i386/cygwin32.mt: delete.
69 * config/i386/cygwin.mt: new file, was cygwin32.mt.
70 * config/i386/tm-cygwin32.h: delete.
71 * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
72 * config/i386/xm-cygwin32.h: delete.
73 * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
74 * config/i386/xm-windows.h: #include xm-cygwin.h now.
75 * config/powerpc/cygwin32.mh: delete.
76 * config/powerpc/cygwin.mh: new file, was cygwin32.mh.
77 * config/powerpc/cygwin32.mt: delete.
78 * config/powerpc/cygwin.mt: new file, was cygwin32.mt.
79 * config/powerpc/tm-cygwin32.h: delete.
80 * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
81 * config/powerpc/xm-cygwin32.h: delete.
82 * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.
83
84 * rdi-share/aclocal.m4: regenerate with aclocal.
85 * rdi-share/configure: regenerate with autoconf.
86 * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c, serpardr.c,
87 unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
88
9ee59844
JM
89Thu Nov 12 17:19:43 1998 John Metzler <jmetzler@cygnus.com>
90
91 * remote.c (remote_get_threadinfo) : Support for remote
92 multithread debugging.
93 (remote_get_threadlist) : get a partial list of threads
94 (remote_threadlist_iterator) : Step through all the threads
95 (init_remote_threadtests) : Optional builtin unit test commands.
96
97 * thread.c (bind_target_thread_vector) : Implementa a more dynamic
98 way of accessing target specific thread info functions than
99 FIND_NEW_THREADS.
100 (target_thread_info) : Function to get extended thread information.
101
102 * gdbthread.h : Export internal data structures corresponding to
103 external detailed thread info response. This is more like a 'ps'
104 command than what might be expected of host based threads. This
105 is for embedded systems.
106
1ba38e79
MS
107Wed Nov 11 15:47:00 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
108
109 * procfs.c (proc_set_exec_trap): don't set PR_ASYNC or PR_FORK
110 in the child process for UnixWare (causes processes forked by
111 the debuggee to hang).
112
83da2634
DB
113Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>
114
115 * config/fr30/fr30.mt: New file.
116 * config/fr30/tm-fr30.h: New file.
117
e5fddd37
JW
1181998-11-05 Jim Wilson <wilson@cygnus.com>
119
1ba38e79
MS
120 * remote-vx.c (net_read_registers, net_write_registers,
121 vx_xver_memory, vx_resume, vx_attach, vx_detach, vx_kill):
122 Change errno to errno_num.
e5fddd37
JW
123 * vx-share/xdr_ptrace.c (xdr_ptrace_return): Likewise.
124 * vx-share/xdr_ptrace.h (struct ptrace_return): Likewise.
125
3cee93ac
CF
126Thu Nov 5 08:41:33 1998 Christopher Faylor <cgf@cygnus.com>
127
128 * top.c (gdb_readline): Allow CRLF line termination on systems
129 which define CRLF_SOURCE_FILES.
130 * win32-nat.c: 1) Add thread support, 2) fix ability to attach to
131 a running process, and 3) implement limited support for cygwin
132 signals.
133 (thread_rec): New function.
134 (child_add_thread): Ditto.
135 (child_init_thread_list): Ditto.
136 (child_delete_thread): Ditto.
137 (do_child_fetch_inferior_registers): Ditto.
138 (do_child_store_inferior_registers): Ditto.
139 (handle_output_debug_string): Ditto.
140 (child_fetch_inferior_registers): Use do_* function to perform
141 operation.
142 (child_store_inferior_registers): Ditto.
143 (child_continue): Ditto.
144 (child_thread_alive): Ditto.
145 (cygwin_pid_to_str): Ditto.
146 (handle_load_dll): Reorganize, add first attempt at reading
147 dll names from attached processes. Change info messages to provide
148 more information when dll is already loaded.
149 (handle_exception): Changes mandated by new thread-aware structures.
150 (child_wait): Track thread creation/destruction. Handle cygwin
151 signals.
152 (child_create_inferior): Ditto.
153 (child_resume): Ditto.
154 (child_kill_inferior): Ditto. Close child process handle to avoid a
155 handle leak.
156 (child_ops): Fill out child_ops fields that deal with threads.
157 * config/i386/tm-cygwin32.h: Declare function and macro needed
158 for converting a cygwin "pid" to a string.
159 * config/i386/xm-cygwin32.h: define HAVE_SIGSETMASK as 0 since
160 sigsetmask is not defined in cygwin.
161
8015bd27
CF
162Thu Nov 5 08:38:18 1998 Christopher Faylor <cgf@cygnus.com>
163
164 * win32-nat.c: Remove obsolete PPC conditionals.
165
7e6c86c2
DB
166Wed Nov 4 18:44:31 1998 Dave Brolley <brolley@cygnus.com>
167
168 * configure.tgt: Add fr30-*-elf*.
169
66393f0e
JW
1701998-11-03 Jim Wilson <wilson@cygnus.com>
171
172 * c-exp.y (parse_number): Check TARGET_LONG_LONG_BIT when setting
173 high_bit to avoid undefined negative shift.
174
b93f016b
GN
175Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
176
177 * configure.in: Check cygwin* instead of cygwin32*.
178 * configure: regenerate
179
2e7eeba9
MS
180Thu Oct 29 10:04:20 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
181
182 [Support for trace debugging: registers that were not collected.]
183 * remote.c (remote_fetch_registers): accept 'xxxx' in the register
184 packet, with the meaning "register value is not available".
185 Set register_valid to -1, which will connote "no value available".
186 * findvar.c (read_relative_register_raw_bytes): return failure if
187 register_valid == -1. (value_of_register): return failure if
188 register_valid == -1. (read_var_value): return error if
189 value_of_register fails for a register variable.
190 (value_from_register): return failure if register_valid == -1.
191 * eval.c (evaluate_subexp_standard): return error if
192 value_of_register fails for a register used in an expression.
193 * infcmd.c (do_registers_info): display "value not available"
194 for registers for which register_valid == -1.
195
196 * tracepoint.c (set_raw_tracepoint): just save the filename as is
197 from the symbol table, rather than trying to prepend the dir name.
198 Also save the bfd section. (tracepoints_info): use the section
199 when looking up the function name.
200 * tracepoint.h: add section field to tracepoint struct.
201
af3711e6
FCE
202start-sanitize-sky
203Wed Oct 28 12:33:52 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
204
205 * configure.in: Accept both -skyb- and -sky- for
206 --with-sim-funit/gpu2 options.
207 * configure: Rebuilt.
208
209end-sanitize-sky
c0351c0f
MA
210Wed Oct 28 08:01:38 1998 Mark Alexander <marka@cygnus.com>
211
212 * sparcl-tdep.c (send_resp, sparclite_serial_start,
213 sparclite_serial_write): Use remote_timeout instead of hardcoded
214 two second timeout.
215 (download): Fix adjustment of a.out load addresses.
216
b9a9cde4
AC
217Wed Oct 28 12:32:58 1998 Andrew Cagney <cagney@b1.cygnus.com>
218
219 * configure.in (--enable-build-warnings): Finish rename from
220 --enable-warnings.
221 (enable-build-warnings): Add -Wpointer-arth, allow =* for
222 sim/common compatibility.
223 * configure: Re-generate.
224
63a0e6b5
AC
225Wed Oct 21 08:44:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
226
227 * 29k-share/udi/udip2soc.c: Replace sys_errlist with strerror().
228
cf9d0fd9
AC
229Thu Oct 22 09:56:55 1998 Andrew Cagney <cagney@b1.cygnus.com>
230
231 * config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.
232 * config/rs6000/aix4.mt (TDEPFILES): To here.
233
234Wed Oct 21 10:02:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
235
236 * rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT
237 on BSD hosts.
238
2391998-10-19 Jason Molenda (jsm@bugshack.cygnus.com)
240
241 * configure.in (AM_EXEEXT): Use AC_EXEEXT instead.
242 * configure: Regenerated.
243
61e6bcc8
FL
244Sat Oct 17 17:39:23 1998 Felix Lee <flee@cygnus.com>
245
246 * core-sol2.c: #include <sys/types.h>, for sol2.7 weirdness.
247
a93213bc
MS
248Fri Oct 16 15:31:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
249
250 * m32r-tdep.c (decode_prologue): Return failure if we reach
251 the end of the function without finding the end of the prologue.
252
24418cfb
JM
2531998-10-16 Jason Molenda (jsm@bugshack.cygnus.com)
254
255 * command.c copying.c copying.awk core-aout.c core-regset.c
256 corelow.c dcache.c i386-tdep.c i386v4-nat.c i387-tdep.c
257 infcmd.c infptrace.c infrun.c remote.c solib.c symfile.c
258 symmisc.c valarith.c: Add prototypes.
259
260 * defs.h: Add prototype for utils.c::do_run_cleanups.
261
262 * gdbtypes.c: Add prototypes.
263 (make_pointer_type): Add braces to remove nested if-else ambiguity.
264 (make_reference_type): Ditto.
265
266 * printcmd.c (printf_command): Initialize 'f' and 'string' at
267 function startup to suppress possibly-used-before-initialized warning.
268
269 * remote-utils.c: Add prototypes.
270 (sr_pollchar): Add braces to remove nested if-else ambiguity.
271
272 * ser-tcp.c: Add prototypes.
273 (wait_for): Add braces to remove nested if-else ambiguity.
274 (tcp_readchar): Ditto.
275
276 * ser-unix.c: Add prototypes.
277 (get_tty_state): Don't define errno here.
278 (hardwire_readchar): Only define 't' if we are compiling in a Cygwin
279 environment.
280
281 * symtab.c: Add prototypes.
282 (find_methods): Add braces to remove nested if-else ambiguity.
283 (search_symbols): Set 'i' to an initial value to suppress a
284 possibly-used-before-initialized warning.
285
286 * valops.c: Add prototypes.
287 (value_cast): Set 'eltype2' to an initial value to suppress a
288 possibly-used-before-initialized warning.
289 (value_of_variable): Add braces to remove nested if-else ambiguity.
290 (value_of_this): Ditto.
291
292 * valprint.c: Add prototypes.
293 (print_floating): Add braces to remove nested if-else ambiguity.
294
7bfe11e2
SS
295Thu Oct 15 19:50:48 1998 Stan Shebs <shebs@andros.cygnus.com>
296
297 * tm-sp64.h (SETUP_ARBITRARY_FRAME, RAME_SPECIFICATION_DYADIC):
298 Remove, nevermore used.
299
dd877625
AC
300Thu Oct 15 16:55:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
301
302 * command.c: Include "wait.h" after, rather than before, <wait.h>.
303 "wait.h" was defining all WIF* macro's instead of filling in those
304 that <wait.h> missed.
305
3061998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)
307
7bfe11e2
SS
308 * defs.h: Move _initialize_printcmd, _initialize_stack,
309 _initialize_blockframe out of here and in to their respective .c
310 files.
dd877625
AC
311 * blockframe.c: Move _initialize_blockframe prototype to here.
312 * printcmd.c: Move _initialize_printcmd prototype to here.
313 * stack.c: Move _initialize_stack prototype to here.
314
7bfe11e2
SS
315 * source.c, symtab.h: Move _initialize_source prototype to the .c
316 file.
dd877625
AC
317 * values.c, value.h: Move _initialize_values prototype to the .c file.
318 * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c
319 file.
320 * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype
321 to the .c file.
322
323 * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c:
324 Standardize comments for the prototype section of these files.
325
326 * configure.in: Look in libc for wctype before looking for it in libc.
327
37f58dce
FL
328Tue Oct 13 18:56:51 1998 Felix Lee <flee@cygnus.com>
329
330 * sol-thread.c (ps_pstop, etc): simple test for proc_service.h
331 version didn't work for sol2.6; pushed it to autoconf.
332 * configure.in (gdb_cv_proc_service_is_old): new test.
333 * acconfig.h (PROC_SERVICE_IS_OLD): new define.
334 * configure, config.in: regenerate.
2e7eeba9 335
ad3b8c4a
JM
3361998-10-13 Jason Molenda (jsm@bugshack.cygnus.com)
337
338 * blockframe.c (find_pc_sect_partial_function): Add braces to avoid
339 possible nested-if confusion.
340 * breakpoint.c (breakpoint_here_p): Ditto.
341 (breakpoint_inserted_here_p): Ditto.
342 (breakpoint_thread_match): Ditto.
343
344 * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined.
345 * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability
346 prototypes.
2e7eeba9 347
ad3b8c4a
JM
348 * symtab.h: Add prototype for _initialize_source.
349 * value.h: Add prototype for _initialize_value.
350
351 * defs.h: Include sys/types.h or stddef.h to get size_t.
352 (make_cleanup): Add make_cleanup_func typedef and switch to using
353 a prototype for this function.
354 (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't
355 using mmalloc.
2e7eeba9 356
ad3b8c4a
JM
357 * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c dwarf2read.c
358 dwarfread.c elfread.c eval.c exec.c gdbtk-cmds.c gdbtk.c infcmd.c
359 infrun.c mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c
360 symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c valops.c:
361 Cast parameters passed to make_cleanup to use the new
362 make_cleanup_func typedef.
363
bbee94c7
FL
364Tue Oct 13 00:51:48 1998 Felix Lee <flee@cygnus.com>
365
366 * sol-thread.c (ps_pstop, etc): different solaris versions have
367 slightly different prototypes in proc_service.h; compensate.
368
6e47b251
JM
3691998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)
370
371 * Makefile.in (AWK): Unused; remove.
372 * configure.in: Remove unused autoconf checks for MINIX, memcpy,
373 poll, select, strings.h.
374 * config.in: Regenerated.
375 * configure: Regenerated.
376
1dee2761
JM
3771998-10-12 Jason Molenda (jsm@bugshack.cygnus.com)
378
379 * configure.in: Check for sys/debugreg.h, asm/debugreg.h.
380 * i386v-nat.c: Include asm/debugreg.h, sys/debugreg.h if it is not
381 present.
382
b0a5badb
PS
383Sun Oct 11 12:08:07 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
384
385 * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust the
386 address range of a compilation unit without children.
387
388 * mdebugread.c (parse_partial_symbols): Fix handling of stabs
389 continuations, use xmalloc and xrealloc.
390
c6d28b22
MA
391Fri Oct 9 18:14:43 1998 Mark Alexander <marka@cygnus.com>
392
393 * rs6000-tdep.c: Don't include tm.h twice.
394
d367c7b4
KS
3951998-10-08 Keith Seitz <keiths@cygnus.com>
396
397 * main.c (main): Remove calls to {pre,post}_add_symbol_hooks.
398 There should be sufficient information/hooks now to eliminate
399 this hack.
400
401 * exec.c (file_command): Add a new hook here to inform ui's
402 when the exec file has changed. Adding it here allows the
403 ui to be informed after symbol reading.
404
405 * gdbcore.h: Add declaration of file_changed_hook.
406
70423641
MA
407Thu Oct 8 08:40:42 1998 Mark Alexander <marka@cygnus.com>
408
409 * rs6000-tdep.c (get_saved_register): Define only if
410 USE_GENERIC_DUMMY_FRAMES is defined.
411
412start-sanitize-carp
413Tue Oct 6 21:35:10 1998 Andrew Cagney <cagney@b1.cygnus.com>
414
415 * configure.in (--enable-targets): New config option. Code taken
416 from ../opcode/configure.in.
417start-sanitize-cygnus
418 (--enable-carp): New config option. Overrides configure.tgt and
419 sets gdb_target + gdb_target_cpu to carp. XXX - this is tempoary.
420end-sanitize-cygnus
421 * configure: Re-generate.
2e7eeba9 422
70423641
MA
423 * Makefile.in (DEPFILES): Add TARGET_OBS.
424 (TARGET_OBS): Defined by configure.
2e7eeba9 425
70423641
MA
426start-sanitize-cygnus
427 * config/carp/carp.mt, config/carp/tm-carp.h: Pseudo configuration
428 for carp target. XXX - this is tempoary.
429end-sanitize-cygnus
430
431end-sanitize-carp
87feff9d
JM
4321998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)
433
434 Eliminate a few warnings from the compiler.
435 * breakpoint.h: Add prototype.
436 * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void).
437 * configure.in: Check if strdup declaration is necessary.
438 * configure: Regenerated.
439 * defs.h: Add prototypes.
440 * gdb_string.h: Only define strdup if necessary.
441 * gdbthread.h: Add prototypes.
442 * printcmd.c: Add prototyptes.
443 (disassemble_command): Remove unused variable 'section'.
444 * symtab.c: Add prototypes.
445 * symtab.h: Include gnu-regex.h, add prototype.
446 * thread.c: Add prototype.
447
ee31ae22
SS
448Mon Oct 5 19:44:39 1998 Stan Shebs <shebs@andros.cygnus.com>
449
450 From David Purves <purves@apogee.com>:
451 * stabsread.c (rs6000_builtin_type): Create a complex float instead
452 of an error.
453 (read_sun_floating_type): Similarly.
454 (read_range_type): Create a complex float if self_subrange is
455 true.
456
242c0d81
SG
457Fri Oct 2 19:42:31 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
458
459 * c-lang.c (emit_char c_printchar c_printstr), c-lang.h (c_printstr)
460 ch-lang.c (chill_printstr chill_printchar) c-valprint.c (c_val_print)
461 ch-valprint.c (chill_val_print) expprint.c (print_subexp) f-lang.c
1ba38e79
MS
462 (f_printstr f_printchar emit_char) f-valprint.c (f_val_print)
463 jv-lang.c (java_printchar java_emit_char) jv-valprint.c
464 (java_value_print java_val_print) language.c (unk_lang_printchar
465 unk_lang_printstr unk_lang_emit_char) language.h (struct
466 language_defn LA_PRINT_STRING LA_EMIT_CHAR) m2-lang.c (m2_printstr
467 m2_printchar emit_char) printcmd.c (print_formatted) scm-lang.c
468 (scm_printstr) valprint.c (val_print_string) value.h
469 (val_print_string): Add emit_char routines to language_desc struct
470 to allow finer control over language specific character output issues.
471 Add character width arg to printstr routines to allow handling of
472 wchar_t/Unicode strings. Fix c_printstr to handle wide characters.
473 Supply width argument to LA_PRINT_STRING and val_print_string.
2e7eeba9 474
242c0d81
SG
475 * jv-lang.c (java_object_type dynamics_objfile java_link_class_type
476 get_dynamics_objfile get_java_object_type) jv-lang.h
477 (get_java_object_type): Make lots of things static.
2e7eeba9 478
242c0d81
SG
479 * expprint.c (dump_prefix_expression dump_subexp): Move opcode name
480 printing to common routine (op_name).
481 * (dump_subexp): Add support for OP_SCOPE.
2e7eeba9 482
bb9e5368
SS
483Fri Oct 2 16:25:54 1998 Stan Shebs <shebs@andros.cygnus.com>
484
485 * configure.host (i[3456]86-*-windows): Remove, no longer used.
486 * mswin: Remove directory, no longer used.
487
2d24a021
FN
488Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
489
490 * sol-thread.c: Fixed prototypes and calls to supply_fpregset and
491 fill_fpregset
492
80baea8a
KS
4931998-10-02 Keith Seitz <keiths@cygnus.com>
494
495 * remote.c (remote_interrupt): Rewrite to use remote_stop.
496 (remote_interrupt_twice): Remove. remote_stop now handles it.
497 (remote_stop): New function which handles interrupting the
498 remote target so that CLUI and GUI use the same core functions
499 to achieve the same goal.
500 (remote_wait): Change to handle remote_stop properly.
501 [interrupted_already]: New static global to help remote_stop.
502 [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.
503
504 * target.c: Rename static function "ignore" to "target_ignore" and
505 export it so that gdb can determin if some target vector member is
506 actually not defined. Replace all occurances of ignore.
507
508 * target.h: Export target_ignore.
509
47b8a5ce
PS
510Fri Oct 2 03:51:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
511
512 * target.c (target_xfer_memory): Handle requests with zero
513 transfer length right away.
514
515 * values.c (unpack_double): Set up code, length and signedness of
516 type _after_ checking for typedef.
517
6ee2da94
FCE
518Thu Oct 1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
519
520 * breakpoint.c (bpstat_stop_status): Do not consider an
521 untripped watchpoint as a "hit".
522
b8464c15
AC
523Thu Oct 1 20:52:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
524
c85a8f00
AC
525 * exec.c (exec_file_command), convex-tdep.c (exec_file_command),
526 arm-xdep.c (exec_file_command), remote-rdp.c
527 (remote_rdp_create_inferior), remote-os9k.c
b8464c15
AC
528 (rombug_create_inferior), remote-mm.c (mm_create_inferior),
529 remote-eb.c (eb_create_inferior), remote-es.c
530 (es1800_create_inferior), remote-rdi.c (arm_rdi_create_inferior),
531 remote-sim.c (gdbsim_create_inferior), remote-utils.c
532 (gr_create_inferior), remote-st.c (st2000_create_inferior),
533 remote-nindy.c (nindy_create_inferior), remote-hms.c
534 (hms_create_inferior), remote-e7000.c (e7000_create_inferior),
535 remote-array.c (array_create_inferior), remote-adapt.c
536 (adapt_create_inferior): Replace "exec" with "executable" in
537 messages.
538
5391998-09-25 Keith Seitz <keiths@cygnus.com>
540
541 * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
542 PARPORT defines for win32.
543 (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
544 start with "com", not "/dev/tty".
545 (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.
546
2e7eeba9
MS
547 * rdi-share/devsw.c (DevSW_Close): Free the device's state
548 (SwitcherState) so that the device may be reopened.
b8464c15
AC
549
550 * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
551 functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
552 the output from fputs_hook.
553 (mywrite): Ditto.
554 (arm_rdi_open): Set inferior_pid.
555 (arm_rdi_detach): Pop the target off the target stack so that
556 users can attach and detach multiple times.
557 (arm_rdi_close): Close the opened device and reset inferior_pid, too.
558
4817b408
JM
5591998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
560
561 * configure.in: Change --enable-warnings to --enable-build-warnings.
562 * configure: Updated.
563
e3009a74
JM
5641998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
565
566 * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
567 * configure: Regenerated.
568
ba68ad57
JM
5691998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
570
571 * configure.in: Add --enable-warnings.
572 Adjust whitespace of other --with and --enable options so that
573 configure --help lines up correctly.
574 * aclocal.m4: Ditto.
575 * Makefile.in (WARN_CFLAGS): Add. Set by configure.
576 * configure: Regenerated.
577
f1f8c637
SS
578Thu Sep 24 15:44:34 1998 Stan Shebs <shebs@andros.cygnus.com>
579
580 * remote-rdi.c: Fix formatting, remove some commented-out code.
581 (init_rdi_ops): Omit needless initializations.
582
8456141b
AC
583Wed Sep 23 18:21:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
584
585 * remote.c (remote_address_masked): New function - mask address
586 according to REMOTE_ADDRESS_SIZE.
587 (remote_address_size): New global.
588 (hexnumstr): New function - convert arbitrary unsigned to hex.
589 (remote_write_bytes, remote_read_bytes): Use hexnumstr to
590 construct packet address. Mask address when necessary.
591 (_initialize_remote): Add "set remoteaddresssize" command, set
592 REMOTE_ADDRESS_SIZE variable.
593
594 * NEWS: Update.
2e7eeba9 595
f8059b97
AC
596Wed Sep 23 18:08:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
597
598 * remote.c (_initialize_remote, packet_command, print_packet):
599 Pretty print code.
600
abf80d3b
AC
601Wed Sep 23 12:32:54 1998 <cagney@amy.cygnus.com>
602
603 * remote.c (packet_command): Test REMOTE_DESC to determine if
604 remote connection is open.
2e7eeba9 605
0ec1e44d
MA
606Tue Sep 22 22:27:24 1998 Mark Alexander <marka@cygnus.com>
607
608 Patch from Dawn Perchik <dawn@cygnus.com>:
609 * rs6000-tdep.c (pop_frame): Handle generic dummy frames.
610 (push_arguments): Likewise.
611 (frame_saved_pc): Likewise.
612 (rs6000_frame_chain): Likewise.
613 (ppc_push_return_address): New function.
614 (get_saved_register): New function.
615 * config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.
616
7b46dd00
SG
617Mon Sep 21 19:29:32 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
618
619 * defs.h utils.c (fputc_filtered): New function. Does the obvious...
620 * jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold
621 java_emit_char into java_printchar.
622 * language.h (PRINT_LITERAL_FORM): Reformat for readability.
2e7eeba9 623
a63e3725
NC
624Mon Sep 21 14:38:03 1998 Catherine Moore <clm@cygnus.com>
625
626 * config/arm/tm-arm.h (*_BREAKPOINT): Define both little endian
627 and big endian breakpoint patterns.
628
629 * arm-tdep.c (arm_break_point_from_pc): Insert either big endian
630 or little endian breakpoints depending upon target byte order.
631
3dc96daa
RU
632start-sanitize-sky
633Sun Sep 20 23:11:41 1998 Ron Unrau <runrau@cygnus.com>
634
635 * incorporate SKY-B changes (makes dual maintenance easier).
636 * txvu-tdep.c (check_overlap): new function to guarantee that
637 overlays are either mapped or unmapped in their entirety.
638 * txvu-tdep.c (compress_blockvector): compress blockvectors correctly
639
640end-sanitize-sky
d2fce7f7
PS
641Fri Sep 18 07:53:08 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
642
643 * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
644 passing pid down to procfs_notice_signals.
645
082a0803
SG
646Wed Sep 16 14:57:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
647
648 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
649 failure.
650 * (define_symbol): Check return value from resolve_symbol_reference,
651 and drop symbol if it fails.
652
653Tue Sep 15 15:24:16 1998 Stu Grossman <grossman@fencer.cygnus.com>
654
655 * stabsread.c: Make all complaints static.
656 * Fix formatting of live range splitting code.
657 * (resolve_symbol_reference define_symbol resolve_live_range): Change
658 errors to complaints so that bad live range symbols won't abort the
659 entire symbol table. Handle errors by aborting just the current
660 symbol.
661 * (ref_init): Goes away. Folded into ref_add().
662 * (REF_MAP_SIZE): Put parens around parameter so that args like
663 `1 + 2' get handled correctly (yes, this was a real bug).
664 * (ref_add): Remove check for allocation failures. Not necessary
665 when using xrealloc(). Fix pointer arithmetic problem when clearing
666 memory. This and the previous patch prevent random SEGV's when there
667 are lots of live range symbols.
2e7eeba9 668
9d561e1e
NC
669Tue Sep 15 14:02:01 1998 Nick Clifton <nickc@cygnus.com>
670
671 * remote-rdi.c: Prevent multiple attempts to close the remote
672 connection.
673
b2d55813
AC
674Tue Sep 15 10:24:17 1998 Andrew Cagney <cagney@b1.cygnus.com>
675
676 * printcmd.c (examine_i_type): New static - type for instructions.
677 (do_examine): For "i" format, specify examine_i_type.
678 (do_examine): Call value_at_lazy instead of value_at so that
679 examine data is only fetched if it is used.
680 (x_command): If examine data was not fetched, set convenience
681 variable "__" to void.
682 (_initialize_printcmd): Initialize examine_i_type.
683
4a8051a8
MS
684Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
685
686 * blockframe.c (find_pc_sect_partial_function): use bfd section
687 of msymbol for end of section comparison.
688
74c1b0ba
MS
689Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
690
691 * tracepoint.c: clean up several unused variables and such.
05f1989d
ZR
692
693Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
694
695 * arm-tdep.c (arm_push_arguments): fixed frame construction
696
6a5c7685
MS
697Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
698
699 * mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
2e7eeba9 700
d7d7dd1b
SS
701Wed Sep 9 19:37:36 1998 Stan Shebs <shebs@andros.cygnus.com>
702
703 * dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
704 * os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
705
253ceee6
RU
706Wed Sep 9 11:39:05 1998 Ron Unrau <runrau@cygnus.com>
707
708 * blockframe.c(find_pc_sect_partial_function): look for min syms in
709 the same section when trying to guess the end of a function.
710 * symfile.c(list_overlays_command): use print_address_numeric
711 * remote-sim.c: export simulator_command
712start-sanitize-r5900
713 * tm-r5900.h: add COP0 registers
714end-sanitize-r5900
715start-sanitize-sky
716 * txvu-tdep.c: printvector and printvector-order commands
717 * tm-txvu.h: add COP0 registers
718 * mips-tdep.c: use NUM_CORE_REGS
719end-sanitize-sky
2e7eeba9 720
fc410908
JM
7211998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
722
723 * breakpoint.c (bpstat_stop_status): Declare a bp match if the
724 current fp matches the bp->fp OR if the current fp is less than
725 the bp->fp if we're looking at a bp_step_resume breakpoint.
726
1f926de1
SS
727Tue Sep 8 19:42:58 1998 Stan Shebs <shebs@andros.cygnus.com>
728
729 * symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
730 not currently used.
731 * symfile.c (allocate_symtab): Deprecate use of
732 INIT_EXTRA_SYMTAB_INFO here.
733
da5328ae
SS
734Fri Sep 4 15:33:25 1998 Stan Shebs <shebs@andros.cygnus.com>
735
736 * README: Update remote debugging and testsuite info.
737
11ac7952
MA
738Thu Sep 3 13:50:20 1998 Mark Alexander <marka@cygnus.com>
739
740 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
741 pseudo-register, not the same as a3.
742 (D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
743 * mn10300-tdep.c (fix_frame_pointer): New function.
744 (set_movm_offsets): Use register number macros instead of
745 hard-coded constants.
746 (mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
747 (mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM;
748 use register number macros instead of hard-coded constants;
749 add missing parameter to call of mn10300_analyze_prologue.
750 (mn10300_frame_saved_pc): Use register number macros instead of
751 hard-coded constants.
752
e01b4200
ZR
753Tue Sep 1 12:04:57 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
754
755 Changes to support/fix ARM/ELF port. Use MAKE_MSYMBOL_SPECIAL for
756 both ELF and COFF;
757 * elfread.c (elf_symtab_read): use ELF specific macro
758 * coffread.c (coff_symtab_read): use COFF_MAKE_MSYMBOL_SPECIAL()
759 * arm-tdep.c: separate COFF and ELF thumb processing
760 disable --mapcs-float processing
761 * dwarf2read.c: Disabled building of minimal symbols
762 * config/arm/tm-arm.h: new macros for distinguishing arm/thumb
763 * config/mips/tm-mips.h: use ELF specific macro
764
d5adad6a
TT
765Mon Aug 31 15:42:10 1998 Tom Tromey <tromey@cygnus.com>
766
767 * top.c (context_hook): Define.
768
290bc185
MS
769Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
770
771 * ax-gdb.c (gen_var_ref): Allow for typedef types.
d5adad6a 772 (gen_cast, gen_bitfield_ref, gen_expr, gen_deref): ditto.
290bc185 773
98760699
MS
774Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
775
776 * tracepoint.c (collect_symbol): Handle register doubles that
777 are stored in two registers.
778
ce8f5b49
MA
779Mon Aug 24 14:39:08 1998 Mark Alexander <marka@cygnus.com>
780
781 * sh-stub.c (undoSStep): Improve comment.
782 * sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
783 same method on both 32-bit and 64-bit machines.
784 * sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
785 support hardware breakpoints.
786 * config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
787
ae69b4c4
JM
7881998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)
789
790 * rdi-share/Makefile.am (INCLUDES): Fix typeo.
791 * rdi-share/Makefile.in: Regenerated.
792
c0ca074b
JM
7931998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
794
795 * rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
796 * rdi-share/Makefile.in: Regenerated.
797
67205639
KS
7981998-08-19 Keith Seitz <keiths@cygnus.com>
799
800 * v850ice.c (v850ice_stop): New function to stop the ICE.
801 (v850ice_load) Pass filename to ICE DLL.
802 (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
803 commands -- let the GUI do it so that it can retain control
804 of the display.
805
9ca743cf
AG
806Wed Aug 19 15:53:52 1998 Anthony Green <green@hoser.cygnus.com>
807
808 * i386v4-nat.c: Include sys/reg.h if present.
809
54f750d1
RH
810Wed Aug 19 03:07:53 1998 Richard Henderson <rth@cygnus.com>
811
812 * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.
813
6cf219ac
FN
8141998-08-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
815
816 * symtab.c (decode_line_1): For minimal symbol, SKIP_PROLOG to
817 make sure we stop after the frame pointer is locaded and backtrace
818 prints an accurate stack. Complements changes made on Mon Jul 27
819 10:45:56 1998
820 (decode_line_2): Replaced the whitespace after ">" in a prompt
821 which has been taken away by changes made on Sun Jul 19 02:11:45
822 1998
823
a3603553
KS
8241998-08-18 Keith Seitz <keiths@cygnus.com>
825
826 * stack.c: Define new hook, selected_frame_level_changed_hook, which
827 will be called whenever the selected stack level changes.
828 (select_frame): Call the selected_frame_level_changed_hook.
2e7eeba9 829
d9c02b1e
SS
830Tue Aug 18 18:03:42 1998 Stan Shebs <shebs@andros.cygnus.com>
831
832 * remote-rdi.c (arm_rdi_open): Pass serial device name to
833 Adp_OpenDevice, and include it in error reports.
834
4ff3dfab
JM
8351998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
836
837 * configure.in: Add more header files to AC_CHECK_HEADERS.
838 * configure: Regenerated.
839
840 * command.c: Include wait.h or sys/wait.h if present.
841 * inftarg.c: Ditto.
842 * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
843 on autoconf test.
844 * infptrace.c: Ditto.
845
846 * expprint.c: Include ctype.h for isprint prototype.
847 * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
848 * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
849 present, based on autoconf test.
850
851 * utils.c: Include curses.h and term.h if present.
852 (puts_debug): Change 'carriage_return' local variable to return_p
853 to avoid name clash.
854
855 * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
856 determine it with autoconf.
857 * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
858 with autoconf.
859 * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
860 with autoconf.
861 * config/i386/nm-i386v.h: Ditto.
862 * config/i386/nm-symmetry.h: Ditto.
863 * config/m88k/xm-cxux.h: Ditto.
864 * config/m88k/xm-dgux.h: Ditto.
865
866 * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
867 * config/m68k/nm-delta68.h: Removed.
868
854b0c14
JL
869Fri Aug 14 11:14:03 1998 Jeffrey A Law (law@cygnus.com)
870
871 * mn10300-tdep.c (set_movm_offsets): Change second argument to
872 be the actual args to movm itself. All callers changed. Only set
873 fi->fsr.regs[x] if reg X is saved by the movm instruction.
874
cfd7cb29
PS
875Fri Aug 14 04:18:23 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
876
877 * sol-thread.c (lwp_to_thread): Fix error message for failing
878 td_ta_map_lwp2thr call.
879 (ps_lgetLDT): Mask off upper bits in GS register when comparing
880 with selector.
881
882Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com>
883
884 * remote-sim.c (simulator_command): Reset register cache after
885 simulator command.
886
d826d368
SG
887Wed Aug 12 09:00:26 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
888
2e7eeba9
MS
889 * expprint.c (dump_prefix/postfix_expression): Don't try to print
890 type expressions.
d826d368 891
433732f2
SG
892Tue Aug 11 11:33:25 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
893
894 * c-typeprint.c (c_print_type): Don't crash if varstring is null.
895 * expprint.c expression.h (dump_expression): Rename to
896 dump_prefix_expression.
897 * Print out the expression in normal form. Call print_longest
898 instead of trying to do it ourselves.
899 * (dump_postfix_expression): New function, prints out the expression
900 with indentation and better formatting and interpretation.
901 * parse.c (parse_exp_1): Put calls to dump expressions under ifdef
902 MAINTENANCE_CMDS and expressiondebug variable.
2e7eeba9 903
433732f2
SG
904Thu Aug 6 13:20:02 1998 Ron Unrau <runrau@cygnus.com>
905
906 * infrun.c (wait_for_inferior): use stop_func_name instead of
907 stop_func_start to decide that no debug info exists.
908
e417b893 909start-sanitize-sky
b620406a
RU
910Thu Aug 6 13:15:05 1998 Ron Unrau <runrau@cygnus.com>
911
912 * txvu-tdep.c: add VU0/1 control registers
913 * config/mips/tm-txvu.h: ditto
2e7eeba9 914
05ee9089
RU
915Tue Aug 4 11:02:50 1998 Ron Unrau <runrau@cygnus.com>
916
917 * txvu-tdep.c (txvu_insert_breakpoint): make sure CPU context is
918 set to correct VU memory space.
919 (txvu_remove_breakpoint): use this instead of txvu_breakpoint_from_pc
920 * config/tm-txvu.h: use new track-table address
921 Do note define BREAKPOINT_FROM_PC anymore
922
e417b893
RU
923Fri Jul 31 16:06:05 1998 Ron Unrau <runrau@cygnus.com>
924
925 * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
926 * mips-tdep.c: use NUM_CORE_REGS
927 * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
928 (txvu_insert_breakpoints): use VIF interrupt bit
929
930end-sanitize-sky
931Thu Jul 30 13:53:50 1998 Mark Alexander <marka@cygnus.com>
932
933 * mips-tdep.c (mask_address_p): New variable.
934 (mips_addr_bits_remove): Test mask_address_p to decide whether
935 to mask off the upper 32 bits of addresses.
936 (_initialize_mips_tdep): Add command to set mask_address_p.
937 (mips_call_dummy_address): New function.
938 * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
939 call mips_call_dummy_address.
940
4ef0351d
FN
9411998-07-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
942
943 * symfile.c (add_symbol_file_command): Test for the from_tty
944 parameter and avoid query when not interactive.
945
6185f899
JL
946start-sanitize-am33
947Wed Jul 29 10:39:29 1998 Jeffrey A Law (law@cygnus.com)
948
949 * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
950 registers if we are not in am33 mode.
951 (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
952 (set_machine_hook): Keep track of whether or not we're in am33 mode.
953
954end-sanitize-am33
0745a748
MS
955Mon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
956
957 * tracepoint.c (remote_set_transparent_ranges): new function.
958 Send the start and end addresses of all loadable read-only
959 sections down to the trace target, so that it can treat them
960 as "transparent" (ie. don't care if they were collected or not).
961
5ef103c0
MA
962Mon Jul 27 15:38:07 1998 Mark Alexander <marka@cygnus.com>
963
964 * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
965 for setting frame address in optimized code; made unnecessary
966 by compiler fixes.
967
55d3002f
MH
968Mon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
969
970 * symtab.c (decode_line_1): For minimal symbol, call
971 find_pc_sect_line() to make sure the line number gets set
972 properly.
973 (print_symbol_info): Redeclare function void.
974
2926766b
JM
9751998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
976
977 * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The
978 stack pointer et al are synthesized from the SP_REGNUM (etc)
979 defines and should not be mentioned in REGISTER_NAMES.
980
b5b59a3c
JL
981start-sanitize-am33
982Mon Jul 27 08:54:41 1998 Jeffrey A Law (law@cygnus.com)
983
984 * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
985 by am33 register saves.
986 (mn10300_frame_saved_pc): Similarly.
987
988end-sanitize-am33
8d6476c7
MS
989Fri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
990
991 * tracepoint.c (encode_actions): Treat register names and simple
992 variable names as special cases and don't convert them to byte-
993 codes: these things can be collected far more efficiently
994 without invoking the bytecode interpreter.
995
bd06c4e4
MA
996Fri Jul 24 13:32:46 1998 Mark Alexander <marka@cygnus.com>
997
998 * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
999 work on hosts of any endianness.
4448ace2 1000 * config/i386/tm-i386v.h: Ditto.
bd06c4e4 1001
52e4073c
MA
1002Fri Jul 24 07:41:12 1998 Mark Alexander <marka@cygnus.com>
1003
1004 * mn10300-tdep.c (set_movm_offsets): New helper function
1005 for mn10300_analyze_prologue.
1006 (mn10300_analyze_prologue): Simplify by factoring out common code.
1007 Fix bugs in setting frame address for optimized code.
1008 Use read_memory_nobpt instead of target_read_memory.
1009
f32fa053
MS
1010Thu Jul 23 17:01:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1011
1012 * tracepoint.c (collect_symbol): handle LOC_ARG case.
1013
79dc9305
DP
1014Thu Jul 23 15:07:40 1998 Dawn Perchik <dawn@cygnus.com>
1015
1016 * sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
1017 in a function prologue before the SAVE instruction.
1018 (sparc_frame_saved_pc): Ditto.
1019 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
1020
dd473edc
DP
1021Thu Jul 23 14:58:09 1998 Dawn Perchik <dawn@cygnus.com>
1022
1023 * i386-tdep.c (i386_get_frame_setup): Recognize function
1024 prologues in code compiled with -fcheck-stack.
1025
2474bfd7
DP
1026Thu Jul 23 14:49:27 1998 Dawn Perchik <dawn@cygnus.com>
1027
1028 * remote-mips.c (remote_mips_insert_hw_breakpoint,
1029 remote_mips_remove_hw_breakpoint): New functions for hardware
1030 breakpoints on LSI targets.
1031 * config/mips/tm-embed.h (target_remove_hw_breakpoint,
1032 target_insert_hw_breakpoint): Define to call
1033 remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
1034 respectively.
1035
f07122bc
IC
1036start-sanitize-sky
1037Thu Jul 23 13:00:28 1998 Ian Carmichael <iancarm@cygnus.com>
1038
1039 * txvu-tdep.c: (VU0_MEM0_WINDOW_START, VU1_MEM0_WINDOW_START)
1040 Changed to use addresses in kseg1 range.
1041
1042end-sanitize-sky
10431998-07-21 Fernando Nasser <fnasser@totem.to.cygnus.com>
1044
1045 * source.c (print_source_lines): Print "No such file or directory"
1046 just once.
1047 (directory_command): same as above; resets if user issues dir.
2e7eeba9 1048
4d14b252
MH
1049Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
1050
1051 * symtab.c (decode_line_2): Instead of printing a prompt
1052 and calling command_line_input() without a prompt, just
1053 call it with the proper args. This makes the GUI work too.
1054
36297ff3
RU
1055Fri Jul 17 9:26:50 1998 Ron Unrau <runrau@cygnus.com>
1056
1057 * blockframe.c (find_pc_sect_partial_function): allow for the possi-
1058 bility of multiple symbols at the same address when finding high.
1059 * breakpoint.c (resolve_sal_pc): if the function based section lookup
1060 fails, try getting the section from the minimal symbol table.
1061 * parse.c (write_exp_msymbol): use symbol_overlayed_address to get
1062 the LMA of a minimal symbol if unmapped.
1063 * symtab.c (find_line_symtab): change interface to return symtab
1064 containing the best linetable found.
1065 (decode_line_1): use find_line_symtab to set val.symtab. This should
1066 improve support for source files with multiple symtabs.
1067start-sanitize-sky
1068 * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
1069end-sanitize-sky
1070
895cc8ab
KS
1071Wed Jul 15 11:51:33 1998 Keith Seitz <keiths@cygnus.com>
1072
1073 * main.c (main): Fix violations of GNU coding standard.
1074
1075 * breakpoint.c: Export delete_command.
1076
1077 * infcmd.c: Export continue_command, stepi_command, and nexti_command.
1078
1079 * Makefile.in: Add target for v850ice.o.
1080
1081 * configure.tgt: Add cygwin32 dependencies for v850 ice.
2e7eeba9 1082
e1f1ed1a
NC
1083Wed Jul 15 10:58:29 1998 Nick Clifton <nickc@cygnus.com>
1084
1085 * tracepoint.c (set_raw_tracepoint): Cope with symbols that do not
1086 have an associated directory.
1087
1088Mon Jul 13 15:21:04 1998 Mark Alexander <marka@cygnus.com>
1089
1090 * utils.c (puts_debug): Display non-printable characters in hex
1091 instead of octal.
1092
f05bd277
JL
1093Thu Jul 9 16:16:47 1998 Jeffrey A Law (law@cygnus.com)
1094
1095 * mn10300-tdep.c (mn10300_generic_register_names): New variable.
1096 (set_machine_hook): New function. Copy the appropriate register
1097 names into reg_names.
1098 (_initialize_mn10300_tdep): Set up to call set_machine_hook.
1099 * tm-mn10300 (NUM_REGS): Bump to 32.
1100 (REGISTER_NAMES): Updated accordingly.
1101
1102start-sanitize-am33
1103 * mn10300-tdep.c (am33_register_names): New variable.
1104 (mn10300_analyze_prologue): Handle regs saved by am33 prologues.
1105 * tm-mn10300.h (E0_REGNUM): Define.
1106end-sanitize-am33
1107
89f015d7
RU
1108Tue Jul 7 7:40:13 1998 Ron Unrau <runrau@cygnus.com>
1109
1110 * symtab.c (find_pc_sect_psymbol): allow case where textlow is 0
1111
8d3c21b3
FCE
1112Thu Jul 2 15:57:58 1998 Frank Ch. Eigler <fche@cygnus.com>
1113
1114 * breakpoint.c (resolve_sal_pc): Accept absence of innermost
1115 Lexical block for breakpoint resolution.
1116
3acd0db5
DP
1117Thu Jul 2 10:22:00 1998 Dawn Perchik <dawn@cygnus.com>
1118
1119 * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
1120 section, but just don't add a 2nd minimal symbol if this is an .mdebug
1121 section in an ELF file.
1122
40d8aa2c
JB
11231998-07-01 Jim Blandy <jimb@zwingli.cygnus.com>
1124
1125 * Makefile.in (ax-general.o): Depend on $(defs_h) too.
1126 (ax_h): Bother to define this.
1127
d40d5880
JM
1128Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
1129
1130 * gnu-regex.c (re_comp): Add cast to char * before gettext calls.
1131
655a27b0
PS
1132Sun Jun 28 11:35:48 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1133
1134 Improve support for SunPro F77.
1135 * dbxread.c (end_psymtab, process_one_symbol): Handle minimal
1136 symbols with trailing underscore names.
1137 * minsyms.c (find_stab_function_addr): Ditto.
1138 * dbxread.c (process_one_symbol): Ignore N_ALIAS for now.
1139 * partial-stab.h (case N_ALIAS): Ditto.
1140 * stabsread.c (read_sun_builtin_type): Handle boolean types.
1141
7f6cb62e
KS
1142Fri Jun 26 14:03:01 1998 Keith Seitz <keiths@cygnus.com>
1143
1144 * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
1145 TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by
1146 new search_symbols.
1147 Add prototype for search_symbols and free_search_symbols.
1148
1149 * symtab.c (list_symbols): Rewrite to use new search_symbols.
1150 (file_matches): New helper function for search_symbols.
1151 (free_search_symbols): New function which frees data returned from
1152 search_symbols.
1153 (print_symbol_info): New helper function which prints info about a
1154 matched symbol to stdout. Extracted from old list_symbols.
1155 (print_msymbol_info): New helper function which prints info about
1156 a matched msymbol to stdout. Extracted from old list_symbols.
1157 (symtab_symbol_info): Extracted from old list_symbols.
1158 (variables_info): Use symtab_symbol_info.
1159 (functions_info): Use symtab_symbol_info.
1160 (types_info): Use symtab_symbol_info.
1161 (rbreak_command): Rewrite to use new search_symbols.
1162
d3f153ad
FCE
1163Thu Jun 25 22:38:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1164
1165 * mips-tdep.c (mips_push_arguments): Use 128-bit stack frame
1166 alignment for inferior calls.
1167
9d4cd1e8
MA
1168Wed Jun 24 23:17:12 1998 Mark Alexander <marka@cygnus.com>
1169
1170 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
1171 of jsr target address.
1172
2f75adc0
MA
1173Tue Jun 23 19:37:46 1998 Mark Alexander <marka@cygnus.com>
1174
1175 * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
1176 zero upper byte of address.
1177
75621b2b
MS
1178Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1179
1180 * rs6000-tdep.c (pop_dummy_frame): use memcpy.
1181 (push_arguments): use memset.
1182 (various other places): fix up indentation and long lines.
1183
59bbabf5
JM
1184Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
1185
1186 * configure.in: s/lXext/-lXext/ for Jillian's change.
1187
a00dfa36
MS
1188Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1189
d32d4319
MS
1190 * source.c (find_source_lines): fix indentation.
1191
a00dfa36
MS
1192 * config/mips/tm-irix5.h: Modify to work better on irix 6, by
1193 making FP registers 8 bytes instead of 4.
1194 REGISTER_BYTES: redefine. REGISTER_BYTE(): redefine.
1195 REGISTER_VIRTUAL_TYPE: redefine. MIPS_LAST_ARG_REGNUM: redefine.
1196 * irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
1197 * mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
1198 targets with 8-byte FP registers (don't use TARGET_MIPS64).
1199 (STACK_ARGSIZE): new macro, how much space is taken up on the
1200 stack for each function argument (don't use TARGET_MIPS64).
1201 (mips_push_arguments): modify logic to work better on Irix 6
1202 (n32 ABI).
1203
f915cc91
JY
1204Tue Jun 23 12:29:53 1998 Jillian Ye <jillian@cygnus.com>
1205
1206 * configure.in: Add -lXext to mips_extra_libs
59bbabf5 1207 * configure: Regenerated.
f915cc91
JY
1208
1209Sun Jun 21 09:31:12 1998 Ron Unrau (runrau@cygnus.com)
1210
1211 * symtab.c (find_line_pc): assumed that a PC of 0 is illegal.
1212 Changed to pass PC as arg and return 1 if valid (0 otherwise).
1213 symtab.h: change prototype to match
1214 symtab.c (find_line_pc_range): use new interface
1215 breakpoint.c (resolve_sal_pc): ditto
1216 gdbtk.c (gdb_set_bp): ditto
1217
1218Wed Jun 17 15:50:00 1998 Ron Unrau (runrau@cygnus.com)
1219
1220 * parse.c (target_map_name_to_register): Check target specific
1221 aliases *first* so that it can over-ride architectural names
2e7eeba9 1222
959941e7
SZ
1223Wed Jun 17 17:13:38 1998 Said Ziouani (saidz@park-street.cygnus.com)
1224
1225 * remote-sds.c (sds_start_remote): Fix printf call.
1226
40fad493
MA
1227Tue Jun 16 16:32:08 1998 Mark Alexander <marka@cygnus.com>
1228
1229 * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
1230 crash when in "start".
1231
ec076280
RU
1232Tue Jun 16 14:38:40 1998 Ron Unrau (runrau@cygnus.com)
1233
1234 * dbxread.c: reset function_start_offset after a finishing N_FUN
1235 is seen.
1236 * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override
1237 target vectors as needed.
1238
c4faac32
RU
1239Sun Jun 14 08:46:25 1998 Ron Unrau (runrau@cygnus.com)
1240
1241 * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
1242 CUR_SYMBOL_VALUE as CORE_ADDR instead of long
1243 * buildsym.[ch]: export pending_blocks list
1244
47963370
DP
1245Sat Jun 13 13:02:32 1998 Dawn Perchik (dawn@cygnus.com)
1246
2e7eeba9 1247 * remote.c: Fix remote help string to match that of help.exp.
47963370 1248
15125484
JM
1249Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
1250
1251 * configure.in (LIBS): Add -lw to the list of libraries if needed.
1252
1253Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
1254
1255 * btowc.c: Removed.
1256 * configure.in: Don't see if we need to replace btowc().
1257 * Makefile.in: Don't include LIBOBJS.
1258 * configure: Regenerated.
1259 * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
1260 we have btowc().
1261
f6d23b6f
SG
1262Wed Jun 10 15:39:14 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
1263
2e7eeba9
MS
1264 * c-exp.y: Fix problems with parsing "'foo.bar'::func".
1265 Some languages allow symbols with dots.
f6d23b6f
SG
1266
1267 * gdbtypes.c (check_stub_method): Cosmetic. Use more descriptive
1268 names for parameters.
1269
1270start-sanitize-java
1271 * jv-exp.y: Parser now accepts primitive types.
1272 * (parse_number): Use correct ifdef for scanf long double support.
1273 * jv-lang.c (java_array_type): Initial cut at array support.
1274
1275end-sanitize-java
1276 * language.c language.h (set_language): Now returns previous language.
1277
1278 * symtab.c (find_methods): Make static. Cosmetic changes, including
2e7eeba9
MS
1279 indentation, and adding descriptive comments. Move local variable
1280 defs into the block they are used in.
f6d23b6f
SG
1281 * Don't call check_stub_method any more. Use gdb_mangle_name to
1282 generate the full method name. find_method doesn't need all the other
1283 goobldegook that check_stub_method does.
1284 * (gdb_mangle_name): Use more descriptive names for parameters. Fix
1285 comment.
1286start-sanitize-java
1287 * (lookup_partial_symbol lookup_block_symbol): Check for java to
1288 ensure we can find mangled names.
1289end-sanitize-java
1290 * (decode_line_1): Move local variable defs into the block they are
1291 used in. (Improves code readability.)
2e7eeba9 1292
7924771e
FCE
1293Wed Jun 10 18:04:35 1998 Frank Ch. Eigler <fche@cygnus.com>
1294
1295 * gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for
1296 all-positive enum.
1297 (create_set_type): Ditto for all-positive set values.
1298 * values.c (unpack_field_as_long): Check for typedef in struct
1299 field unpacking.
1300
9ed669cf
JM
1301Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)
1302
1303 * configure.in: Add some tests for gnu-regex.c's benefit.
1304 See if btowc() function is provided in C library.
1305 * configure, config.in: Regenerated.
1306 * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c
1307 if necessary.
1308 * btowc.c: New file.
1309
1310 * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris'
1311 benefit.
1312 Drop namespace preserving defines for now.
1313
a4122443
JM
1314Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
1315
1316 * gnu-regex.c: Include "gnu-regex.h", not "regex.h".
1317
9408296b
JM
1318Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)
1319
1320 * gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license
1321 to stay consistent with the rest of GDB.
1322
9f85ab1a
JM
1323Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)
1324
1325 * gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.
1326
f7065e88
MS
1327Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1328
9f85ab1a 1329 * printcmd.c (disassemble_command): move overlay mapping code
f7065e88
MS
1330 "up" into find_pc_partial_function.
1331 * blockframe.c (find_pc_partial_function): adjust start address
1332 and end address for overlays (mapped vs. unmapped addresses),
1333 so that all callers of this function may benefit.
1334 * m32r-tdep.c (m32r_skip_prologue): adjust indentation.
1335
a2266bed
RU
1336Mon Jun 8 16:08:10 1998 Ron Unrau <runrau@cygnus.com>
1337
1338 * objfiles.c (add_to_objfile_sections): All targets to define
1339 TARGET_KEEP_SECTION to permit them to retain bfd sections that
1340 GDB would otherwise have discarded.
1341
705b12df
DE
1342Fri Jun 5 13:56:19 1998 Doug Evans <devans@canuck.cygnus.com>
1343
1344 * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab.
1345
0e05ecee
SS
1346Thu Jun 4 18:35:04 1998 Stan Shebs <shebs@andros.cygnus.com>
1347
1348 * remote.c (init_extended_remote_ops): Make extended_remote_ops
1349 by copying from remote_ops, move it and init_remote_ops to
1350 usual place at end of file, remove "void" from arg lists.
1351
ce56660d
MA
1352Thu Jun 4 17:51:06 1998 Mark Alexander <marka@cygnus.com>
1353
1354 * sparc-tdep.c (sparc_fix_call_dummy): Byte-swap the call dummy
1355 on bi-endian machines.
1356 (sparc_extract_return_value): Handle values smaller than int on
1357 machines with little-endian data.
1358 (sparc_target_architecture_hook): Set bi_endian flag.
1359
d6b6757b
MS
1360Thu Jun 4 12:14:48 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1361
1362 * printcmd.c (disassemble_command): Fix off-by-one error for
1363 disassembling functions in unmapped overlay sections.
1364
ecc6e842
EZ
1365Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1366
1367 * remote.c: merged.
1368
1369 - Jim Blandy <jimb@zwingli.cygnus.com>
1370 (print_packet, remote_packet_command): New functions.
1371 (_initialize_remote): Register the remote-packet command.
1372 - David Taylor <taylor@texas.cygnus.com>
1373 (_initialize_remote): remote-compare is now
1374 compare-sections.
1375 - Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1376 (remote_compare_command): added warning, issued in case
1377 of mismatch only.
1378
b85cf6ae
MS
1379Thu Jun 4 08:25:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1380
1381 * remote.c (remote_compare_command): New function, new command.
1382 Compare object file binary image with corresponding memory on
1383 remote target. Report differences.
1384
cda8a2bb
MA
1385Tue Jun 2 19:05:04 1998 Mark Alexander <marka@cygnus.com>
1386
1387 * sparc-tdep.c (sparc_target_architecture_hook): Set target
1388 byte order only when it's selectable.
1389
33c65ba3
MA
1390Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com>
1391
1392 * sparc-tdep.c (sparc_target_architecture_hook): New function to
1393 set endianness based on machine type.
1394 (_initialize_sparc_tdep): Initialize target_architecture_hook.
1395 (sparc_print_register_hook): Print PSR and FPSR in fancy format
1396 on 32-bit machines.
1397 * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
1398 call sparc_print_register_hook instead of using inline code.
1399 * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1400
47792960
KS
1401Thu May 28 17:19:14 1998 Keith Seitz <keiths@cygnus.com>
1402
1403 * main.c (main): Check for NULL from getenv on CYGWIN32.
1404
1405Thu May 28 09:41:44 1998 Nick Clifton <nickc@cygnus.com>
1406
1407 * monitor.c (monitor_vsprintf): Handle %%. Patch courtesy of
1408 Felix Lee (flee@cygnus.com)
1409
f893ebe3
PS
1410Thu May 28 00:27:35 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1411
1412 * mips-tdep.c (mips_push_dummy_frame): Fix calculation of
1413 PROC_REG_OFFSET and PROC_FREG_OFFSET.
1414
ea45efcf
AC
1415Mon Apr 27 14:37:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1416
1417 * config/v850/tm-v850.h (REGISTER_BYTE): FP_REGNUM and
1418 FP_RAW_REGNUM use the same register location.
1419
1420 * v850-tdep.c (v850_scan_prologue): Use FP_RAW_REGNUM instead of
1421 FP_REGNUM.
1422 (v850_frame_chain): Ditto.
1423
1424 * config/v850/tm-v850.h (REGISTER_NAMES): Add "fp".
1425 (NUM_REGS): Update.
1426 (FP_REGNUM): Update.
1427 (FP_RAW_REGNUM): Define.
1428
f893ebe3
PS
1429Wed May 27 14:22:31 1998 Keith Seitz <keiths@cygnus.com>
1430
1431 * main.c (main): Convert the path returned from getenv to a posix
1432 path on cygwin32 hosts.
1433
6ac0c55d
KS
1434Mon May 25 13:31:27 1998 Keith Seitz <keiths@cygnus.com>
1435
822730df
JM
1436 * remote.c (remote_open_1): If an error occurs starting the remote,
1437 pop the target AND return.
6ac0c55d 1438
be5f18e1
PS
1439Sat May 23 02:23:09 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1440
1441 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
1442 on C++ functions.
1443 * valops.c (value_arg_coerce): Add new argument to indicate whether
1444 the function has a prototype, handle integer and float promotions
1445 accordingly.
1446 (call_function_by_hand): Always call value_arg_coerce, pass down
1447 prototype information.
1448
3ff4b4c6
JM
1449Fri May 22 10:56:36 1998 John Metzler <jmetzler@cygnus.com>
1450
1451 * remote.c (_initialize_remote): Typo extended__remote
1452
c719b714 1453Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
b0cf9ee2 1454
c719b714 1455 * gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
b0cf9ee2
JM
1456 (_initialize_gnu_nat): Call new init
1457 * mac-nat.c (init_child_ops): Ditto.
1458 (_initialize_mac_nat): Ditto.
1459 * monitor.c (init_base_monitor_ops): Ditto.
1460 (_initialize_remote_monitors): Ditto.
1461 * ppc-bdm.c (init_bdm_ppc_ops): Ditto.
1462 (_initialize_bdm_ppc): Ditto.
1463 * remote-adapt.c (init_adapt_ops): Ditto.
1464 (_initialize_remote_adapt): Ditto.
1465 * remote-array.c (init_array_ops): Ditto.
1466 (_initialize_array): Ditto.
1467 * remote-bug (init_bug_ops): Ditto.
1468 (_initialize_remote_bug): Ditto.
1469 * remote-e7000.c (init_e7000_ops): Ditto.
1470 (_initialize_remote_e7000): Ditto.
1471 * remote-eb.c (init_eb_ops): Ditto.
1472 (_initialize_remote_eb): Ditto.
1473 * remote-es.c (init_es1800_ops): Ditto.
1474 (init_es1800_child_ops): Ditto.
1475 (_initialize_es1800): Ditto.
1476 * remote-hms.c (init_hms_ops): Ditto.
1477 (_initialize_remote_hms): Ditto.
1478 * remote-mm.c (init_mm_ops): Ditto.
1479 (_initialize_remote_mm): Ditto.
1480 * remote-nindy.c (init_nindy_ops): Ditto.
1481 (_initialize_nindy): Ditto.
1482 * remote_nrom.c (init_nrom_ops): Ditto.
1483 (_initialize_remote_nrom): Ditto.
1484 * remote-os9k (init_rombug_ops): Ditto.
1485 (_initialize_remote_os9k): Ditto.
1486 * remote-rdi.c (init_rdi_ops): Ditto.
1487 (_initialize_remote_rdi): Ditto.
1488 * remote-rdp.c (init_remote_rdp_ops): Ditto.
1489 (_initialize_remote_rdp): Ditto.
1490 * remote-sds.c (init_sds_ops): Ditto.
1491 (_initialize_remote_sds): Ditto.
1492 * remote-sim.c (init_gdbsim_ops): Ditto.
1493 (_initialize_remote_sim): Ditto.
1494 * remote-st.c (init_st2000_ops): Ditto.
1495 (_initialize_remote_st2000): Ditto.
1496 * remote-udi.c (init_udi_ops): Ditto.
1497 (_initialize_remote_udi): Ditto.
1498 * remote-vx.c (init_vx_ops): Ditto.
1499 (init_vx_run_ops): Ditto.
1500 (_initialize_vx): Ditto.
1501 * remote.c (init_remote_ops): Ditto.
1502 (init_extended_remote_ops): Ditto.
1503 (_initialize_remote): Ditto.
1504 * sparcl-tdep.c (init_sparclite_ops): Ditto.
1505 (_initialize_sparcl_tdep): Ditto.
1506 * v850ice.c (init_850ice_ops): Ditto.
1507 (_initialize_v850ice): Ditto.
1508 * win32-nat.c: (init_child_ops): Ditto.
1509 (_initialize_inftarg): Ditto.
c719b714 1510
b0d7af2a
MS
15111998-05-21 Jim Blandy <jimb@zwingli.cygnus.com>
1512
1513 * ax-gdb.c (const_var_ref): Don't handle function names. I don't
1514 want to implement all the "usual unary conversion" rules for
1515 constants.
1516 (gen_usual_unary): Turn "function" values into "pointer to
1517 function" values, in accordance with ANSI.
1518 (gen_deref): Don't do the usual unary conversions here. Let the
1519 caller do it. Note that dereferencing a function pointer yields
1520 a function designator, which we call an rvalue, not an lvalue.
1521 (gen_address_of): Handle functions specially.
1522 (gen_struct_ref): Perform the usual unary conversions before
1523 calling gen_deref.
1524 (gen_expr): In case for the prefix '*' operator, call
1525 gen_usual_unary manually.
1526
116b98b8
GRK
1527Wed May 20 15:29:41 1998 Gavin Koch <gavin@cygnus.com>
1528
78af0a00
JM
1529 * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE): Defined as MIPS_FPU_NONE.
1530 * mips/tm-tx39l.h: Same.
116b98b8 1531
40fd928f
JM
1532Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
1533
1534 * m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
1535 Split out as separate function called by skip prologue and scan
1536 prologue. new formula handles optimization in which the prologue
1537 is interleaved with the body of the function. Also recognizes new
1538 variations of prologue encoding. Use of frame pointer is
1539 essential to debugging, -fno-omit-frame-pointer
1540 (m32r_skip_prologue): Call decode prologue, ignore line info
1541 (m32r_scan_prologue): Call decode prologue, ignore line info.
1542
5d460ad9
JM
1543Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
1544
78af0a00
JM
1545 * w89k-rom.c (_initialize_w89k): Call new init function
1546 (init_w89k_cmds): Convert to dynamic initialization of monitor_ops
1547 data structure for forward compatability with additions to the
1548 data structure.
5d460ad9 1549 * dbug-rom.c (_initialize_dbug_rom): ditto
78af0a00
JM
1550 (init_dbug_cmds): ditto
1551 * m32r-rom.c (_initialize_m32r_rom): ditto
1552 (init_m32r_cmds): ditto
5d460ad9 1553
b0d7af2a
MS
1554Tue May 19 14:54:11 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1555
1556 * tracepoint.c (memrange_cmp): use const void * args to avoid
1557 ANSI compiler warnings.
1558
15591998-05-19 Jim Blandy <jimb@zwingli.cygnus.com>
1560
1561 * ax-gdb.c (gen_fetch, gen_var_ref, gen_deref, find_field,
1562 gen_bitfield_ref, gen_expr): Call error, not abort.
1563 * ax-general.c (read_const, generic_ext, ax_trace_quick,
1564 ax_label, ax_const_d, ax_reg, ax_print): Same.
1565
1566 * tracepoint.c: Remove the $(...) syntax for memranges.
1567 (validate_actionline, encode_actions, trace_dump_command): Remove
1568 clauses for the $(...) syntax.
1569 (parse_and_eval_memrange): Function deleted.
1570 (_initialize_tracepoint): Update function description.
1571
1572 * gdbtk.c (struct wrapped_call_objs): Change the `func' member to
1573 be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
1574 of objects as arguments. Change the object vector to be const,
1575 since that's what all the users of this structure seem to expect.
1576 (call_obj_wrapper): Cast clientData properly before storing it in
1577 the wrapped_args structure.
1578
1579 * ax-gdb.c (_initialize_ax_gdb): Make the "agent" command a
1580 subcommand of "maintenance", as it should have been from the
1581 beginning. #include "gdbcmd.h", to get the declaration for
1582 maintenancelist.
1583 * Makefile.in: Document that dependency.
1584
1585Tue May 19 12:00:58 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1586
1587 * tracepoint.c (get_tracepoint_by_number): new function, to access
1588 traceframe_number for use of the GUI.
1589
1590 * tracepoint.h: added prototype for get_traceframe_number.
1591
d4d1c7b5
KS
1592Mon May 18 13:34:27 1998 Keith Seitz <keiths@cygnus.com>
1593
1594 * dbxread.c (process_one_symbol): If block addresses are relative to
1595 function start addresses, reset function_start_address whenever a new
1596 source file is seen.
1597
b0d7af2a
MS
1598Mon May 18 13:04:27 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1599
1600 * tracepoint.c (get_tracepoint_by_number): make sure to advance
1601 arg pointer even if we fail to parse a useful number. Otherwise,
1602 since this function is called in a loop, it may loop forever!
1603 Also change strtol call to allow arbitrary radix.
1604 (map_args_over_tracepoints (and other places)): add QUIT; call
1605 to loop, to allow breakout using control-C. Not all loops were
1606 analyzed to make sure they could terminate cleanly, but even
1607 terminating with a messed-up tracepoint list would be better
1608 than not terminating at all!
1609 (tdump_command): check to see if we're connected to a trace-
1610 capable target (currently only "remote") before doing anything
1611 else.
2e7eeba9 1612
c19916b7
FCE
1613Sat May 16 22:21:48 1998 Frank Ch. Eigler <fche@cygnus.com>
1614
1615 * config/d30v/tm-d30v.h (INIT_FRAME_PC_FIRST): Fill in PC into
1616 frame struct before extracting saved register offsets.
2e7eeba9 1617
b0d7af2a
MS
1618Fri May 15 22:47:45 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1619
1620 * tracepoint.c (encode_actions): fix typo in printf format string.
1621
16221998-05-15 Jim Blandy <jimb@zwingli.cygnus.com>
1623
1624 Implement a few more tracing operators: ^ | & ~ !
1625 * ax-gdb.c (gen_integral_promotions, gen_logical_not,
1626 gen_complement): New functions.
1627 (gen_binop): New argument MAY_CARRY, indicating whether we need to
1628 correct the upper bits of the value after performing the
1629 operation. Callers changed.
1630 (gen_expr): Handle BINOP_BITWISE_AND, BINOP_BITWISE_IOR, and
1631 BINOP_BITWISE_XOR here as well, by calling gen_binop. Handle
1632 UNOP_LOGICAL_NOT, UNOP_COMPLEMENT.
1633
1634 * ax-gdb.c (gen_conversion): Reworked to avoid some unnecessary
1635 sign extension.
2e7eeba9 1636
b0d7af2a
MS
1637 * ax-gdb.c (gen_usual_arithmetic): Renamed from gen_usual_binary,
1638 to match the ANSI C standard better. Callers changed.
2e7eeba9 1639
b0d7af2a
MS
1640 * ax-gdb.c (gen_traced_pop): Add prototyped declaration.
1641
1642Fri May 15 18:18:38 1998 David Taylor <taylor@texas.cygnus.com>
1643
1644 * tracepoint.c (stringify_collections_list): return a collection
1645 of strings rather than a single string.
1646 (free_actions_list): new function.
1647 (encode_actions): process collection of strings returned by
1648 stringify_collections_list.
1649
16501998-05-15 Jim Blandy <jimb@zwingli.cygnus.com>
1651
1652 * ax-gdb.c (gen_traced_pop): New function.
1653 (gen_expr): Call it for comma operator.
1654 (gen_trace_for_expr): Call it, instead of writing it out.
1655
1656 Add facilities for sending arbitrary packets to the remote agent.
1657 There are a bunch of improvements to make (make it generic; handle
1658 'O' replies properly), but I just want to get this onto the branch.
1659 * remote.c (print_packet, remote_packet_command): New functions.
1660 (_initialize_remote): Register the remote-packet command.
1661
1662Thu May 14 17:52:31 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1663
1664 * tracepoint.c: move actionline_type definition to tracepoint.h.
1665 (validate_actionline): make non static.
1666
1667 * tracepoint.h: move actioline_type definition from tracepoint.c.
1668 (validate_actionline) moved prototype from tracepoint.c.
1669
1670Thu May 14 11:49:18 1998 David Taylor <taylor@texas.cygnus.com>
1671
1672 * tracepoint.c (validate_actionline): add additional error
1673 checking, remove some dead code.
1674 (encode_actions): additional cleanups.
1675 (trace_find_command): remove some dead code.
1676 (trace_find_pc_command): ditto.
1677 (trace_find_tracepoint_command): ditto.
1678 (trace_find_line_command): ditto.
1679 (trace_find_range_command): ditto.
1680 (trace_find_outside_command): ditto.
1681
6e8bee16
SG
1682Thu May 14 5:51:00 1998 Ron Unrau <runrau@cygnus.com>
1683
1684 * symtab.c (decode_line_1): set section for "break *<addr>"
1685
091d7302
MA
1686Wed May 13 20:58:02 1998 Mark Alexander <marka@cygnus.com>
1687
1688 * corefile.c (reopen_exec_file): Reopen the exec file if
1689 it has changed.
1690
f151b17f
MA
1691Wed May 13 15:22:02 1998 Mark Alexander <marka@cygnus.com>
1692
1693 * sparc-tdep.c (fetch_instruction): New function.
1694 (single_step, sparc_init_extra_frame_info, examine_prologue):
1695 Use fetch_instruction instead of read_memory_integer
1696 to ensure that instructions are always read as big-endian.
1697
0aa3233e
ILT
1698Wed May 13 14:42:21 1998 Ian Lance Taylor <ian@cygnus.com>
1699
1700 * configure.in: Add AC_FUNC_ALLOCA.
1701 * defs.h: Check HAVE_ALLOCA_H rather than sparc. Add _AIX pragma
1702 alloca.
1703 * configure: Rebuild.
6e8bee16 1704start-sanitize-java
0aa3233e
ILT
1705 * Makefile.in (jv-lang.o, jv-typeprint.o, jv-valprint.o): New
1706 targets.
6e8bee16 1707end-sanitize-java
0aa3233e 1708
b0d7af2a
MS
1709Wed May 13 11:19:08 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1710
1711 * tracepoint.c (trace_command): Remove old diagnostic code that was
1712 preventing tracepoints from being defined with a full-path filename.
1713
c19916b7
FCE
1714Tue May 12 13:17:35 1998 Frank Ch. Eigler <fche@cygnus.com>
1715
1716 * stabsread.c (read_one_struct_field): Check for typedef in type
1717 tree before clearing bitfield information.
1718
b0d7af2a
MS
17191998-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1720
1721 * ax-gdb.c (gen_binop): New function, based on gen_mul, to replace
1722 gen_mul and gen_div, and handle `%' op as well. Correctly tests
1723 type of arguments.
1724 (gen_expr): Factor out common code in binary arithmetic operators.
1725 Add support for `%'.
1726 (gen_mul, gen_div): Removed.
2e7eeba9 1727
ff62d310
JI
1728Thu May 7 14:49:38 1998 Bob Manson <manson@charmed.cygnus.com>
1729
1730 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
1731 %o0-%o5 as 64-bit values; compensate for stack bias.
1732 (USE_STRUCT_CONVENTION): We only pass pointers to structs
1733 if they're larger than 32 bytes.
1734 (REG_STRUCT_HAS_ADDR): Ditto.
1735
1736 * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp()
1737 instead of read_register. If the target is a sparc64 and the frame
1738 pointer is odd, compensate for the stack bias.
1739 (get_saved_register): Use read_sp().
1740 (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES.
1741 (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64,
1742 save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers.
1743 (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC,
1744 CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a
1745 dummy frame.
1746 (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and
1747 the FP is odd, compensate for stack bias.
1748 (sparc_store_return_value): Right-justify the return value before
1749 writing it to %o0.
1750 (sparc_fix_call_dummy): Don't NOP out part of the call dummy on
1751 sparc64.
1752 (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp,
1753 sparc64_write_fp, sp64_push_arguments,
1754 sparc64_extract_return_value): New functions to support the
1755 sparc64 ABI.
1756
1757 * dwarfread.c (handle_producer): Set processing_gcc_compilation to
1758 the right version number.
1759
1760 * dwarf2read.c (read_file_scope): Assume we're processing
1761 GCC2 output.
1762
7252da95
JL
1763Wed May 6 16:34:03 1998 Jeffrey A Law (law@cygnus.com)
1764
1765 * somsolib.c: Include gdb_stat.h.
1766
b0d7af2a
MS
1767Mon May 4 18:34:01 1998 David Taylor <taylor@texas.cygnus.com>
1768
1769 * ax-gdb.c (gen_mul): new function; (gen_div): new function;
1770 (gen_expr): add support for * and / operators, call gen_mul and
1771 gen_div as appropriate.
1772
7252da95
JL
1773Mon May 4 16:24:22 1998 Mark Alexander <marka@cygnus.com>
1774
1775 * defs.h (make_run_cleanup): Declare.
1776 * solib.c (find_solib): Pass correct number of arguments to
1777 make_run_cleanup.
1778
b0d7af2a
MS
1779Mon May 4 07:08:25 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
1780
1781 * tracepoint.c (trace_actions_command): actions command must set
1782 step_count to zero (in case previous actions have set it but the
1783 new set does not).
1784
e5a940e2
SG
1785Sat May 2 09:35:07 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
1786
2e7eeba9
MS
1787 * ocd.h: Add new flags, function codes, and processor types to
1788 support new Wiggler capabilities.
a41292ba
SG
1789 * (ocd_write_bytes_size): New function to allow atomic writes of
1790 memory in sizes larger than a byte.
1791
e5a940e2
SG
1792 * ser-unix.c (baudtab): Add 57600, 115200, 230400, and 460800 baud.
1793
ce225290
FCE
1794Fri May 1 19:51:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1795
1796 * stabsread.c (read_one_struct_field): Do not override supplied
1797 bitfield size for a range type value.
1798
1799 * gdbtypes.c (create_range_type): For a range with positive
1800 lower limit, declare range type as unsigned.
1801
fcc1ac97
JM
1802Fri May 1 10:58:34 1998 John Metzler <jmetzler@cygnus.com>
1803
1804 * monitor.c: Turn off debug
1805
a871ab92
PS
1806Fri May 1 09:29:56 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1807
1808 * breakpoint.c (delete_command): Skip internal breakpoints when
1809 all breakpoints are requested.
1810
1811 * stabsread.c (define_symbol): Record parameter types from Sunpro
1812 function stabs in the TYPE_FIELDS of the function type.
1813
921d949d
JM
1814Thu Apr 30 15:59:54 1998 Jason Molenda (crash@bugshack.cygnus.com)
1815
1816 * Makefile.in (config-check-targets, config-check-hosts): Removed.
1817
18181998-04-30 Paul Eggert <eggert@twinsun.com>
1819
1820 * Makefile.in (maintainer-clean):
1821 Don't get ahead of yourself and delete Makefile
1822 before running `make'.
1823 (local-maintainer-clean, do-maintainer-clean): New rules.
1824
b0d7af2a
MS
1825Wed Apr 29 14:02:59 1998 David Taylor <taylor@texas.cygnus.com>
1826
1827 * ax-gdb.c (gen_add): when adding a pointer and an int, use
1828 the size of the pointer, not the int (typo) to decide how
1829 to extend the result.
1830
2a8b1fab 1831Wed Apr 29 10:20:40 1998 John Metzler <jmetzler@cygnus.com>
17a56e13 1832start-sanitize-vr4111
2a8b1fab 1833
921d949d
JM
1834 * nec4102rom.c: New file implements ROM monitor adapter for
1835 nec-vr4102 board. This board hosts the vr4111 chip. This file
900dc14b 1836 required extensions to the monitor_ops structure, hooks for wait
2a8b1fab
JM
1837 filter, new flags. This version does not support more than one
1838 breakpoint and resuming after a breakpoint in 16 bit mode is
921d949d 1839 completely disfunctional.
17a56e13 1840end-sanitize-vr4111
921d949d
JM
1841
1842 * monitor.h: Defined additional hooks for dmpregs, configure_hooks
1843 and wait_filter. These additions require that all ROM monitor
1844 interfaces be recoded to initialize monitor ops using assignments
1845 rather than static structure initialization. Added new bits to
1846 flags MO_EXACT_DUMPADDR, MO_HAS_BLOCKWRITES.
1847
2a8b1fab
JM
1848 * monitor.c (RDEBUG): Conditional tracing throughout the file.
1849 (fromhex): Now recognized upper cse hex digits
1850 (monitor_printf_noecho):
1851 (monitor_readchar): Tracing interferes with input timing.
1852 (monitor_open): Register different memory write functions with
1853 dcache_init if MO_HAS_BLOCKWRITES.
1854 (flush_monior_dcache): Added as an additional utilty.
1855 (monitor-resume): Call continue hook if one has been supplied.
1856 (monitor_wait_filter): New function Factored out of monitor wait
1857 and used if alternate wait-filter has not been provided.
1858 (monitor_wait): call alternate wait filter if provided. Call
1859 monitor_dump_regs, a new function factored out from inline code.
1860 (monitor_dump_block): A new function used as a utility when
1861 monitors must dump several blocks of registers using different
1862 commands.
1863 (monitor_dump_regs): Call alternate function if provided. Uses new
1864 hook in monitor.h.
1865 (monitor_write_memory): Engage previouly added hook
1866 MO_FILL_USES_ADDR.
1867 (monitor_write_even_block): new function supports writing long
1868 blocks of 4byte words.
1869 (longlongendswap): new internal function
1870 (monitor_write_memory_longlongs): new function writes large blocks
1871 using command to enter a long long.
1872 (monitor_write-memory_block): new Function figures out which block
1873 mod to use.
1874 (monitor_read_memory): Can now handle dump formats in which the bytes
1875 preceeding the requested data is not printed.
2a8b1fab 1876
94415c7e
TT
1877Tue Apr 28 19:41:33 1998 Tom Tromey <tromey@cygnus.com>
1878
b177bf84
TT
1879 * Makefile.in (GDBTKLIBS): New macro.
1880 (INSTALLED_LIBS): Include GDBTKLIBS.
1881 (CLIBS): Likewise.
1882 * configure: Rebuilt.
1883 * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
1884 (GDBTKLIBS): AC_SUBST.
1885
4a3456fc
TT
1886 * tracepoint.c (memrange_cmp): Another typo fix; `memrbnge' ->
1887 `memrange'.
1888
94415c7e
TT
1889 * tracepoint.c (memrange_cmp): Fixed typo in function intro.
1890
59813131
JM
1891Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>
1892
7bfe11e2
SS
1893 * symfile.c (overlay_auto_command): Add forgotten parameter
1894 definitions.
59813131
JM
1895 (overlay_manual_command, overlay_off_command): Likewise.
1896 (overlay_load_command): Likewise.
1897 * tracepoint.c (memrange_cmp): Parameters have type void *, not
1898 struct memrange *.
1899
82973f18
JM
1900Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com>
1901
59813131 1902 * rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds.
2e7eeba9 1903
07f45587
MA
1904Mon Apr 27 14:32:21 1998 Mark Alexander <marka@cygnus.com>
1905
1906 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
1907 make it work on the simulator.
1908 (FIX_CALL_DUMMY): Convert to function call instead of inline code.
1909 (sparc_fix_call_dummy): Declare.
1910 * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from
1911 old FIX_CALL_DUMMY macro, with additional fixes for simulator.
1912 (sparc_push_dummy_frame): Set registers differently on simulator
1913 to prevent corrupted register window save areas.
1914
adc176bb
JM
1915Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>
1916
59813131
JM
1917 * rom68k-rom.c (_initialize_rom68k, init_rom68k_cmds):
1918 Convert all static initializations of monitor ops structures to
1919 executable initializations in order that additions to the data
1920 structure definition can me made without repeating this editing
1921 exercise.
1922 * abug-rom.c (_initialize_abug_rom, init_abug-cmds): Ditto.
1923 * cpu32bug-rom.c (_initialize_cpu32bug_rom, init_cpu32bug_cmds): Ditto.
1924 * mon960-rom.c (initialize_mon960, init_mon960_cmds): Ditto.
1925 * op50-rom.c (initialize_op50n, init_op50n_cmds): Ditto.
1926 * ppcbug-rom.c (_initialize_ppcbug_rom, init_ppc_cmds): Ditto.
1927 * sh3-rom.c (_initialize_sh3_rom, init_sh3_cmds): Ditto.
1928 * sparclet-rom.c (_initialize_sparclet, init_sparclet_cmds): Ditto.
1929 * remote-est.c (_initialize_est, init_est_cmds): Ditto.
1930 * remote-hms.c ( _initialize_remote_hms, init_hms_cmds): Ditto.
adc176bb 1931
a9eeaad7
JM
1932Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)
1933
1934 * gdb_string.h (strdup): Don't specify arguments in prototype.
1935
8b150a6b
PS
1936Sun Apr 26 07:57:21 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1937
1938 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
1939 fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd
1940 to check for reference to the same file.
1941
1942 * target.c (target_read_string): Handle string transfers at the
1943 end of a memory section gracefully.
1944
6ef37205
GN
1945Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>
1946
1947 * Makefile.in: enable EXEEXT setting
1948
b0d7af2a
MS
1949Fri Apr 24 11:53:49 1998 David Taylor <taylor@texas.cygnus.com>
1950
1951 * tracepoint.c (add_local_symbols): change type of type from
1952 char to int so that type shows up as 'A' or 'L' not 0.
1953
66a9a263
JL
1954start-sanitize-r5900
1955Fri Apr 24 11:25:07 1998 Jeffrey A Law (law@cygnus.com)
1956
1957 * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wide
1958 GPR loads/stores generated on the r5900.
1959 (mips_find_saved_regs, mips32_skip_prologue): Likewise.
1960 * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define.
1961 * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise.
1962
1963end-sanitize-r5900
29f35f37
JM
1964Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com)
1965
1966 * README: Minor changes for 4.17 release.
1967
6e8bee16 1968start-sanitize-java
ffa157d8
PB
1969Thu Apr 23 15:44:39 1998 Per Bothner <bothner@cygnus.com>
1970
1971 * symfile.c (deduce_language_from_filename): .class implies java.
1972
6e8bee16 1973end-sanitize-java
21cbc60c
JM
1974Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>
1975
1976 * configure.in (strerror): Check if function must be declared.
1977 * acconfig.h (NEED_DECLARATION_STRERROR): New define slot.
1978 * gdb_string.h (strerror): Function declaration issued if
1979 NEED_DECLARATION_STRERROR.
2e7eeba9 1980 * configure, config.in: Files regenerated.
21cbc60c 1981
74d6ac44
JM
1982Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>
1983
1984 * symfile.c (simple_overlay_update_1): Do not prefix array address
1985 by `&'.
1986 * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto.
1987 * tracepoint.c (encode_actions): Ditto.
1988 * language.c, complaints.c, utils.c (varargs.h): Do not include that
1989 file here, it is already included indirectly by defs.h.
1990 * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return
1991 value to the appropriate pointer type.
1992 * utils.c (floatformat_from_doublest): Ditto.
1993 * tracepoint.c (read_actions, _initialize_tracepoint): Ditto.
1994 (add_memrange): Likewise with xrealloc return value.
1995 * stabsread.c (ref_add): Ditto.
1996 * coffread.c (coff_symfile_init): Likewise for xmmalloc return value.
1997 * elfread.c (elf_symfile_read): Ditto.
1998 * os9kread.c (os9k_symfile_init): Ditto.
1999
52dd717d
TT
2000Thu Apr 23 00:32:08 1998 Tom Tromey <tromey@cygnus.com>
2001
2002 * config.in: Rebuilt.
2003 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_STPCPY, HAVE_GETTEXT,
2004 HAVE_LC_MESSAGES): Define.
2005
fcfc3c0c
TT
2006Wed Apr 22 15:38:56 1998 Tom Tromey <tromey@cygnus.com>
2007
2008 * configure: Rebuilt.
2009 * configure.in: Call CY_GNU_GETTEXT.
2010 * Makefile.in (top_builddir): New macro.
2011 (INTL): Define to @INTLLIBS@.
2012 (INTL_DEPS): New macro.
2013 (CDEPS): Reference INTL_DEPS, not INTL.
2014
71f08cfc
DE
2015start-sanitize-sky
2016Wed Apr 22 13:40:16 1998 Doug Evans <devans@canuck.cygnus.com>
2017
2018 * txvu-tdep.c (txvu_print_insn): Fix thinko.
2019
2020end-sanitize-sky
b420cea7
PS
2021Wed Apr 22 12:58:23 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2022
2023 Handle missing shared libraries during the examination of a core
2024 dump gracefully.
2025 * solib.c (find_solib): Use catch_errors around call to
2026 solib_map_sections. Use warning instead of error if reading of
2027 the shared library name fails.
2028 (solib_map_sections): Change return and argument types to make
2029 it callable from catch_errors.
2030 (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL.
2031 * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections,
2032 symbol_add_stub): Ditto.
2033
f2a0822c
MM
2034Wed Apr 22 14:34:49 1998 Michael Meissner <meissner@cygnus.com>
2035
2036 * Makefile.in (INTL*): Add support to link in the intl library,
2037 and to add -I options to its source and object directories.
2038 (INTERNAL_CFLAGS): Ditto.
2039 (C{LIBS,DEPS}): Ditto.
2040
3e5fbf91
JL
2041start-sanitize-sky
2042Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
2043 * configure.in: Add configure option --with-sim-funit.
2044
2045end-sanitize-sky
88ff9e06
FCE
2046Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
2047
2048 * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
2049 with subtarget-specific `mach', rather than fixed default.
2050 * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
2051 disassembly `mach'.
2052start-sanitize-r5900
2053 * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
2054end-sanitize-r5900
2055start-sanitize-sky
2056 * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
2057end-sanitize-sky
2058
2059Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
2060
2061 * coffread.c (decode_base_type): Treat a long field with size greater
2062 than TARGET_LONG_BIT as long long.
2063 * values.c (value_from_longest): Print code value in error message.
2064
a38cd80a
JM
2065Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
2066
2067 * gdb/gdb_string.h (strdup): Declare only if not defined as a
2068 macro.
2069
1e50f1b4
JM
2070Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
2071
2072 * procfs.c: Added replacement macros for LWP stuff. Fixed support
2073 for UnixWare / SVR4.2MP targets and any targets which use
2074 multi-file /proc entries. Fixed support for hardware watchpoints.
2075 * solib.c: SCO needs some of the same code as SunOS. Change
2076 preprocessor conditionals.
2077
2078 * config/i386/i386sco5.mt: New file.
2079 * config/i386/tm-i386sco5.h: New file.
2080 * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
2081 * config/i386/nm-i386v42mp.h
2082 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
2083 Add other macros for hardware assisted watchpoints.
2084 * config/i386/nm-i386sco5.h: Correct attributions.
2085 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
2086 * config/i386/nm-linux.h (target_remote_watchpoint): Pass
2087 'type' through to i386_insert_watchpoint.
2088
2089Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2090
2091 * infrun.c (wait_for_inferior): Don't add signalled processes
2092 as new threads.
2093 * procfs.c (wait_fd): Note if LWP has exited.
2094 (procfs_wait): use GETPID to get process ID.
2095
7c0892b3
SC
2096Sat Apr 18 15:21:04 1998 Stan Cox <scox@cygnus.com>
2097
2098 * configure.tgt: Added sparc86x support.
2e7eeba9 2099
a17aca47
JM
2100Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
2101
2102 * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
2103 error string if in an ANSI C-ish environment.
2104
4a3f4c4c
MA
2105Wed Apr 15 18:59:48 1998 Mark Alexander <marka@cygnus.com>
2106
2107 * sparc-tdep.c (SPARC_HAS_FPU): Define.
2108 (sparc_extract_return_value): New function, required to handle
2109 machines without floating point.
2110 (sparc_store_return_value): Ditto.
2111 * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call
2112 sparc_extract_return_value instead of using inline code.
2113 (sparc_extract_return_value): Declare.
2114 (STORE_RETURN_VALUE): Call sparc_store_return_value instead
2115 of using inline code.
2116 (sparc_store_return_value): Declare.
2117
65c0c978
MH
2118Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>
2119
2120 * solib.c (enable_break): Only call warning once
2121 instead of three times.
2122
e50f526e
MA
2123Tue Apr 14 16:52:59 1998 Mark Alexander <marka@cygnus.com>
2124
2125 * sparc-tdep.c (sparc_extract_struct_value_address): Make it
2126 work correctly on little-endian hosts.
2127 (sparc_push_arguments): New function.
2128 (gdb_print_insn_sparc): New function.
2129 (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default
2130 disassembler, so that SPARClite-specific instructions will
2131 be recognized.
2132 * sparcl-tdep.c (readchar): Print debugging information.
2133 (debug_serial_write): New function, a replacement for SERIAL_WRITE
2134 that prints debugging information.
2135 * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define.
2136 (sparc_push_arguments): Declare.
2137
a47fe057
JM
2138Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>
2139
74317310 2140 * gdbcfgxref (xref_menu): Call new regex and wild card searches
822730df 2141 Now you can type in a specific triple like mips64-vr4300-elf or
74317310
JM
2142 somthing like mips*.h
2143 (triple_search) wildcardsearch): The new functions
2144
822730df 2145start-sanitize-vr4320
a47fe057
JM
2146 * configure.tgt: Switch over to use tm-4320.h. Since I switched to
2147 MIPS EABI the fixes are no longer backward compatible with 4300.
2148 * tm-vr4320.h: Added
2149 * vr4320.mt: Added
2150
822730df 2151end-sanitize-vr4320
e6e9507d
EZ
2152Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2153
2154 * utils.c: (warning) added call to warning_hook
2155
2156 * source.c: (find_source_lines) modified to call warning in case
2157 of source vs. executable time stamp mismatch. Simplified object
2158 file check. Initialized mtime to 0.
2159
2160 * defs.h: added warning_hook prototype
2161
2162 * top.c: added warning_hook prototype.
2163
29d867f8
KS
2164Mon Apr 13 09:54:08 1998 Keith Seitz <keiths@andros.cygnus.com>
2165
2166 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
2167 definition.
2168
f0fce3b8
JM
2169Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2170
2171 Update support for x86 Solaris 2.
2172 * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration
2173 files for x86 Solaris 2.
2174 * config/i386/i386sol2.mt, i386sol2.mh: Use them.
2175 * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract
2176 carry flag from a given regset.
2177 (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name
2178 is a SunPro transformed name.
2179 * i386-tdep.c (sunpro_static_transform_name): New function to
2180 extract the source name from a SunPro transformed name.
2181 * inferior.h (procfs_first_available, procfs_get_pid_fd):
2182 Add prototypes.
2183 * infrun.c (wait_for_inferior): Handle breakpoint hit in
2184 signal handler without intervening stop in sigtramp.
2185 * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY
2186 instead of direct access to the status register.
2187 (procfs_get_pid_fd): New function, returns procfs fd for a given pid.
2188 * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given
2189 lwpid.
2190 (sol_find_new_threads): Handle failed libthread_db initialization
2191 gracefully.
2192 * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME
2193 to check for a SunPro transformed symbol name.
2194
6aeec893
JM
2195Fri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
2196
c66e3d64
JM
2197 * utils.c (fmthex): A formatting function for hexdumps
2198
2e7eeba9 2199 * mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
6aeec893
JM
2200 bit pattern interpretations. mips_fetch_instruction does not work
2201 for 16 bit instructions. Some confusion remains about sign
2202 extension in backward branches.
2203 (mips32_relative_offset): Sign extension
2204 (mips32_next_pc): Major debugging, bit pattern interpretation
2205 (print_unpack): debugging printf
2206 (fetch_mips_16): new funtion, key on PC low bit, not symbol table
2207 (mips16_next_16): Initial major debugging of this function. Lots
2208 of bit pattern mistakes.
2209 (mips_next_pc): key on low bit of PC, not symbol table.
2e7eeba9
MS
2210 * symfile.c (generic_load): Added a download verification which
2211 reads back the loaded code. Download chunk size is now a defined
6aeec893
JM
2212 macro. Fixed a bug in which downloading slips into loading one
2213 byte at a time. Lower level functions in monitor.c can load long
2214 sequences of bytes and make use of these fixups. Referencing
2215 bfd-start_address directly was incorrectly getting zero for start.
2216
cf93a3aa
ILT
2217Thu Apr 9 19:20:32 1998 Ian Lance Taylor <ian@cygnus.com>
2218
2219 * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
2220 with dynamic size.
2221
bf9084c0
JM
2222Wed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
2223
2224 * top.c (print_gdb_version): Print 1998 now.
2225
6760a872
JM
2226Wed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>
2227
2228 * source.c: Remove obsolete decl of strstr().
2229
5b944218
JM
2230Wed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)
2231
2232 * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's
2233 patch of March 23 1998.
2234 * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's
2235 patch of March 23 1998.
2236
af473842 2237Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
5b944218 2238
af473842
DP
2239 * mdebugread.c (parse_partial_symbols): If this is an .mdebug
2240 section in an ELF file, override a symbol's ECOFF section with its
2241 ELF section. Also, fix stabs continuation where a stabs string
2242 continues for more than one continuation.
2243
912e805f
AC
2244Mon Apr 6 09:17:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
2245
2246 * mips-tdep.c (mips_push_arguments): Specify dimention of valbuf
2247 using MAX_REGISTER_RAW_SIZE.
2248
24a38525 2249Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
f0fce3b8 2250
24a38525
DP
2251 * infrun.c: Fix prototype of signals_info to match static funtion.
2252
2253Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com>
f0fce3b8 2254
24a38525
DP
2255 * sol-thread.c (sol_thread_store_registers): Save & restore new
2256 value of single updated register to prevent accidental clobbering.
2257
c8b77887
MA
2258Wed Apr 1 22:01:09 1998 Mark Alexander <marka@cygnus.com>
2259
2260 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
2261 * config/sparc/sparclite.mt: Link in the erc32 simulator.
2262
3dcac15f
JM
2263Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
2264
2265 * ns32k-tdep.c (flip_bytes, ns32k_localcount,
2266 ns32k_get_enter_addr, sign_extend): Restore functions mysteriously
2267 deleted.
2268
2269 * ns32knbsd-nat.c: New (?) file to support fetching and storing
2270 registers on NetBSD hosts.
2271
2272 * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of
2273 ns32k-nat.o
2274
2275 * ns32km3-nat.c (reg_offset): Get order of floating point
2276 registers correct. Add extra 32382 register offsets.
2277 (REG_ADDRESS): define to point at correct part of thread
2278 state. Use calls to "warning" instead of "message".
2279
2280 * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS,
2281 REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382
2282 fpu registers.
2283
32e3c8b8
JM
2284Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>
2285
2286 * NEWS: m68k-motorola-sysv host support added.
2287 * coffread.c (coff_start_symtab): Accept the filename as an argument,
2288 set it here. Callers updated.
2289
d0136bf3
AC
2290Wed Apr 1 23:13:23 1998 Andrew Cagney <cagney@b1.cygnus.com>
2291
2292 * config/mips/tm-mips.h (REGISTER_VIRTUAL_TYPE): Handle 32 bit SR,
2293 FSR and FIR registers.
2294 (REGISTER_VIRTUAL_SIZE): Compute using REGISTER_VIRTUAL_TYPE.
2295 (REGISTER_RAW_SIZE): Define using REGISTER_VIRTUAL_SIZE.
2296
2297 * config/mips/tm-mips64.h: Ditto.
2298
4269399c
NC
2299Tue Mar 31 21:30:39 1998 Nick Clifton <nickc@cygnus.com>
2300
2301 * arm-tdep.c (gdb_print_insn_arm): Attach a fake Thumb symbol
2302 vector to the info structure when disassembling thumb
2303 instructions.
2304
2305 * coffread.c (coff_symtab_read, read_one_sym,
2306 process_coff_symbol): Support Thumb symbol types.
2307
2308 * dbxread.c (process_one_symbol): Call SMASH_TEXT_ADDRESS (if it
2309 is defined) for function symbols.
2310
b0d7af2a
MS
2311Tue Mar 31 16:39:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
2312
2313 * tracepoint.c (get_tracepoint_by_number): change warning to note.
2314 (delete_trace_command): suppress y/n query if no tracepoints, or
2315 if not from_tty. (trace_pass_command): reject junk at end of args.
2316 (read_actions): an action list consisting only of "end" is discarded.
2317 (validate_actionline (for collect command)): an argument beginning
2318 with a dollar_sign but not recognized as a special argument is
2319 parsed like any other expression -- if it isn't a register name,
2320 it's rejected. Also reject an empty argument to while-stepping.
2321 (trace_find_command): reject a negative frame number argument.
2322 (_initialize_tracepoint): set $traceframe initially to -1.
2323
f45d8080
JM
2324Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
2325
2326 * rdi-share/Makefile.am, rdi-share/aclocal.m4,
2327 rdi-share/configure: New files.
2328 * rdi-share/configure.in: Rewritten to be an autoconf input file.
2329 * rdi-share/Makefile.in, rdi-share/configure: Generated by
2330 automake/autoconf.
2331 * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
2332 to check environment.
2333
57a39824
KS
2334Sun Mar 29 15:17:16 1998 Keith Seitz <keiths@onions.cygnus.com>
2335
2336 * tracepoint.c (trace_start_command): Set trace_running_p.
2337 (trace_stop_command): Clear trace_running_p.
2338
dfbb701a
SS
2339Sat Mar 28 15:19:48 1998 Stan Shebs <shebs@andros.cygnus.com>
2340
2341 * NEWS: Update for 4.17 release.
2342
b0d7af2a
MS
2343Fri Mar 27 10:15:50 1998 David Taylor <taylor@tito.cygnus.com>
2344
2345 * tracepoint.c (parse_and_eval_memrange): Fix memory leaks.
2346 (encode_actions): Use the new gen_trace_for_expr function
2347 instead of expr_to_address_and_size; collect registers when
2348 using expressions. (clear_collection_list): Fix memory leak.
2349
23501998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
2351
2352 * ax-gdb.h (gen_trace_for_expr): Add prototype.
2353
2354Thu Mar 26 17:24:23 1998 David Taylor <taylor@texas.cygnus.com>
2355
2356 * tracepoint.c (validate_actionline): Fix memory leak.
2357 (encode_actions): Fix memory leak.
2358
2359Thu Mar 26 16:16:55 1998 David Taylor <taylor@tito.cygnus.com>
2360
2361 * tracepoint.c (trace_mention): New function.
2362 (trace_command): Call it.
2363
23641998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
2365
2366 * ax-general.c (ax_reqs): New function.
2367 * ax.h (enum agent_flaws, struct agent_reqs): New types.
2368 (agent_reqs): New extern prototype. Well, actually, this was
2369 there before, due to a premature checkin.
2370 (struct aop_map): Add new `data_size' member.
2371 * ax-general.c (aop_map): Supply its value.
2372 * ax-gdb.c (agent_command): Call ax_reqs, for testing.
2373
2374 * ax-general.c (ax_print): If we encounter an invalid or
2375 incomplete opcode, don't abort; just print an error message.
2376
2377 * ax-gdb.c: Generate trace bytecodes, as appropriate.
2378 (trace_kludge): New variable.
2379 (gen_fetch, gen_bitfield_ref): Emit trace bytecodes, if asked
2380 nicely.
2381 (expr_to_agent): Ask for no trace bytecodes.
2382 (gen_trace_for_expr): New function.
2383 (agent_command): Call it, and display the result appropriately ---
2384 no struct axs_value, so no type or kind information.
2385
2386 * ax-gdb.c: Use TARGET_CHAR_BIT throughout, not HOST_CHAR_BIT.
2387
41158958
EZ
2388Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2389
2390 * tracepoint.c (trace_status_command): Recognize a boolean return
2391 value from the stub to indicate whether trace experiment is
900dc14b 2392 running. Export this value as a global state variable.
41158958
EZ
2393 (trace_running_p) for use by the GUI. (from Michael Snyder)
2394 (trace_pass_command) added call to modify_tracepoint_hook.
2395
900dc14b 2396 * tracepoint.h export trace_running_p.
41158958 2397
b0d7af2a
MS
2398Thu Mar 26 13:08:01 1998 David Taylor <taylor@texas.cygnus.com>
2399
2400 * tracepoint.c (validate_actionline): do not error out if
2401 exp->elts[0].opcode is not on short line -- let
2402 expr_to_address_and_size handle it.
2403
24041998-03-26 Jim Blandy <jimb@zwingli.cygnus.com>
2405
2406 * tracepoint.c: Include "ax.h", not "agentexpr.h".
2407
2408 * tracepoint.c (encode_actions): Call expr_to_address_and_size,
2409 not simply expr_to_agent.
2410
2411 * ax-general.c: Comment out code in progress, so everyone else can
2412 at least compile.
2413
2414 * gdbtypes.c: Doc fix.
2415
2416 * ax.h, ax-gdb.h, ax-general.c, ax-gdb.c: New files.
2417 * Makefile.in (REMOTE_OBJS): Add ax-general.o and ax-gdb.o.
2418 (SFILES): Add ax-general.c, ax-gdb.c.
2419 (ax_h): New variable.
2420 (ax-general.o, ax-gdb.o): New rules.
2421
41158958
EZ
2422start-sanitize-sky
2423Wed Mar 25 11:45:19 1998 Frank Ch. Eigler <fche@cygnus.com>
2424
2425 * configure.in (sim-gpu2): Added target type checking to make
2426 --with-sim-gpu2 option only valid for sky target.
2427 * configure: Regenerated.
2428end-sanitize-sky
2429
2430Tue Mar 24 16:22:40 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
2431
2432 * Makefile.in: Derive SHELL from configure.
c19916b7 2433 * config/d10v/d10v.mt config/m32r/m32r.mt
2c9fd4b1 2434 config/mn10200/mn10200.mt config/mn10300/mn10300.mt
2e7eeba9 2435 config/d30v/d30v.mt: Remove -lm from SIM. This prevents
2c9fd4b1
ILT
2436 dependency checking of -lm (under NT native builds). (It is
2437 automatically added by configure if it exists.)
41158958
EZ
2438 * doc/configure mswin/configure nlm/configure
2439 testsuite/gdb.base/configure testsuite/gdb.c++/configure
2440 testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
2441 testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
2442 Regenerate with autoconf 2.12.1 to fix shell issues for NT native
2443 builds.
2444
fecf06cf
JM
2445Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
2446
2447 * solib.c (solib_create_inferior_hook): Rewrite previous
2448 change to check the type of file via BFD.
2449
124e64bb
JM
2450Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)
2451
2452 * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events
2453 like bp_breakpoints.
2454 * solib.c (solib_create_inferior_hook): Relocate section addresses
2455 if the alleged start address doesn't agree with the PC.
2456
b236defa
FCE
2457start-sanitize-sky
2458Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com>
2459
2460 * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure
2461 option, to allow gdb+sim linking with sky GPU2 library.
83c7ab51 2462 * configure: Regenerated.
124e64bb 2463
b236defa 2464end-sanitize-sky
b236defa
FCE
2465Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2466
2467 merged changes from Foundry (list follows by file/author):
2e7eeba9 2468
b236defa
FCE
2469 - Tom Tromey <tromey@cygnus.com>
2470 * Makefile.in (gdbres.o): New target.
2471 (WINDRES): New define.
2472 * configure: Rebuilt.
2473 * configure.in (WINDRES): Define.
2474 (CONFIG_OBS): Include gdbres.o on Windows.
2475 * gdbtool.ico: New file.
2476 * gdb.rc: New file.
2477
2478 * ser-unix.c
2479 - Keith Seitz <keiths@onions.cygnus.com>
2480 (wait_for): Don't reset the timeout_remaining for CYGWIN32,
2481 since we now effectively poll the serial port.
2482 Don't reset the current_timeout, either, since this member is used
2483 by hardwire_readchar to track the timeout and call the ui_loop_hook.
900dc14b
SS
2484 (hardwire_readchar): Poll the serial port for Cygwin32. We timeout
2485 every second, update the UI, and loop around doing this until we
2486 have hit the real timeout or we get data or an error. This will
2487 allow the UI to stay active while gdb is "blocked" talking to the
2488 target.
2489 - Martin M. Hunt <hunt@cygnus.com>
2490 (wait_for): Do reset current_timeout because it is only used to
2491 keep track of what the current timeout for the scb is.
b236defa
FCE
2492
2493 * top.c
2494 - Martin M. Hunt <hunt@cygnus.com>
2495 (quit_confirm): Change exit message again
2496 for GUI.
2497 (pc_changed_hook): Add prototype.
2498 - Tom Tromey <tromey@cygnus.com>
2499 (quit_confirm): Added missing `else'.
2500 (quit_confirm): Special-case message if init_ui_hook is
2501 set.
2502
2503 * symtab.c
2504 - Martin M. Hunt <hunt@cygnus.com>
2505 (find_pc_sect_line): If no symbol information
2506 is found, return correct pc anyway.
2507 (find_methods): Comment out an apparently
2508 bogus error message because it messes up Foundry.
2509
2510 * serial.c
2511 - Martin M. Hunt <hunt@cygnus.com>
2512 (_initialize_serial): Add a description of
2513 "set remotelogbase".
2514
2515 * findvar.c
2516 - Martin M. Hunt <hunt@cygnus.com>
2517 (write_register_gen): Add call to
2518 pc_changed_hook if the PC is being changed.
2519
2520 * defs.h
2521 - Martin M. Hunt <hunt@cygnus.com>
2522 (pc_changed_hook): Define.
2523
2524 * command.c
2525 - Martin M. Hunt <hunt@cygnus.com>
2526 (do_setshow_command): If no arguments are supplied,
2527 don't dump core, instead print out an error message.
2528
2529 * breakpoint.c
2530 - Martin M. Hunt <hunt@cygnus.com>
2531 Make set_raw_breakpoint, set_breakpoint_count,
2532 and breakpoint_count non-static so they are accessible from
2533 gdbtk.c.
2534 (enable_breakpoint): Enable breakpoint
2535 with same disposition instead of changing all breakpoints
2536 to donttouch.
2537
2538 * annotate.h
2539 - Keith Seitz <keiths@onions.cygnus.com>
2540 Add declarations for annotation hooks.
2541
2542 * annotate.c
2543 - Keith Seitz <keiths@onions.cygnus.com>
2544 Add hooks: annotate_starting_hook, annotate_stopped_hook,
2545 annotate_signalled_hook, annotate_exited_hook.
2546 (annotate_starting): If hook exists, call it instead.
2547 (annotate_stopped): If hook exists, call it instead.
2548 (annotate_exited): If hook exists, call it instead.
2549 (annotate_signalled): If hook exists, call it instead.
2550
d1732185
MS
2551Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
2552
2553 * gdbserver/Makefile.in: add dependency on XM_CLIBS.
2554 * gdbserver/low-sim.c (registers) force into alignment.
2555 (create_inferior): Fix typo on new_argv; add abfd arg to
2556 sim_open, sim_create_inferior. Add reg_size arg to
2557 sim_fetch_register, sim_store_register. Make simulator
2558 take a single-step to get into a known running state.
2559 * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
2560 * gdbserver/server.c: Add remote_debug variable to control
2561 debug output.
2562 * gdbserver/server.h: Add prototypes for enable/disable_async_io.
2563 * gdbserver/remote-utils.c: add verbose debugging output controlled
2564 by "remote_debug" variable. Add call to "disable_async_io()"
2565 to avoid being killed by async SIGIO signals.
2566 * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
2567 so that gdbserver can be built with the m32r simulator.
2e7eeba9 2568
980714f9
AC
2569Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
2570
2571start-sanitize-r5900
2572 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as
2573 expression from REGISTER_VIRTUAL_TYPE.
2574 (REGISTER_RAW_SIZE): Ditto.
2575 (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit
2576 registers.
2577
2578end-sanitize-r5900
2579 * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin
2580 types.
2581start-sanitize-r5900
2582 (builtin_type_{,u}int128): Ditto.
2583end-sanitize-r5900
2e7eeba9 2584
980714f9
AC
2585 * gdbtypes.c (_initialize_gdbtypes): Initialize new types.
2586
2587 * mips-tdep.c (do_gp_register_row): Pad register value when GP
2588 register is smaller than MIPS_REGSIZE.
2589
2590 * findvar.c (value_of_register): When raw and virtual register
2591 values identical, check that sizes are consistent.
2592
f4f7d594
MS
2593Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2594
2595 * minsyms.c (compare_minimal_symbols): If addresses are identical,
2596 then compare on names. Sorted list should have symbols with
2597 identical addresses AND names adjacent, so dups can be discarded.
2598
c298bd54
JL
2599Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com)
2600
2601 * stabsread.c (define_symbol): Don't look for ',' as a LRS
2602 indicator.
2603
3f7e239d
NC
2604Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
2605
2606 * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
2607
c7ab546c
JM
2608Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2609
2610 * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
2611 when compiling with native cc, the compiler has broken long long
2612 support.
2613
60c7c376
JM
2614Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2615
2616 * config/m68k/xm-sun3os4.h: Remove malloc declarations, they
2617 are handled via autoconf now.
2618 * remote.c (remote_ops, extended_remote_ops): Replace static
2619 forward declaration by moving the static definition to the top of
2620 the file, for old K&R compilers.
2621 * tracepoint.c (collect_symbol, trace_start_command):
2622 Replace ANSI string concatenation with K&R compatible simple string.
2623
26241998-03-11 Fred Fish <fnf@ninemoons.com>
2625
2626 * source.c (select_source_symtab): Don't reach error if we have
2627 a current_source_symtab from reading in partial symbol table.
2628
e0848028
GRK
2629start-sanitize-vr4320
2630Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
2631
2e7eeba9 2632 * configure.tgt (mips64*vr4320*el-*-elf*): Removed spurious case.
e0848028
GRK
2633
2634end-sanitize-vr4320
3ffbdf15
FF
2635Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com>
2636
2637 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
2638 SERIAL_FLUSH_OUTPUT.
2639 * serial.h (struct serial_ops): Add drain_output, pointer to
2640 function that waits for output to drain.
2641 (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
2642 * ser-unix.c (hardwire_drain_output): New function and prototype.
2643
2644 * ser-unix.c (hardwire_ops): Add entry for drain_output function.
2645 * ser-tcp.c (tcp_ops): Ditto.
2646 * ser-ocd.c (ocd_ops): Ditto.
2647 * ser-mac.c (mac_ops): Ditto.
2648 * ser-go32.c (dos_ops): Ditto.
2649 * ser-e7kpc.c (e7000pc_ops): Ditto.
2650
d6acae68
MS
2651Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2652
2653 * sparcl-tdep.c: fix #endif comments
2654
56deac4b
JM
2655Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
2656
2657 * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
2658
17772016
KS
2659Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
2660
2661 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
2662 error () so that we abort out of bdm_ppc_open.
2663
1d7a3fd7
MH
2664Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
2665
2666 * serial.c (_initialize_serial): Add a description of
2667 "set remotelogbase".
2668
2669 * command.c (do_setshow_command): If no arguments are supplied,
2670 don't dump core, instead print out an error message.
2671
94ec3e76
JM
2672Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
2673
2674 * gdbtk.c (gdb_listfiles): Fix thinko in last change.
2675
d7363521
JM
2676Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
2677
2678 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
2679
4f0f84e7
RU
2680Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com>
2681
2682 * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into
2683 MAKE_MSYMBOL_SPECIAL
2684 * config/mips/tm-mips.h: ditto
2685
3a012857
JM
2686Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com>
2687
f893ebe3 2688start-sanitize-vr4111
900dc14b 2689 * config/mips/tm-vr4xxx.h: implements vr4111 as separate from 4300
d7363521 2690 * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300
3a012857 2691 * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx
f893ebe3 2692end-sanitize-vr4111
d7363521 2693 * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from
3a012857 2694 TARGET_PTR_BIT rather from sizeof(char *) on host.
2e7eeba9 2695
716e3a4f
JM
2696Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2697
2698 * alpha-nat.c (fetch_osf_core_registers): Renamed from
2699 fetch_aout_core_registers.
2700 (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change
2701 flavour to bfd_target_unknown_flavour for OSF core files.
2702
e4e30cdc
GRK
2703start-sanitize-vr4320
2704Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com>
2705
2e7eeba9 2706 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*):
e4e30cdc
GRK
2707 Added.
2708
2709end-sanitize-vr4320
58299977
MS
2710Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2711
2712 * breakpoint.c (_initialize_breakpoint): Make "en" an alias
2713 for "enable" (so that it doesn't conflict with "end").
2714
d0b6f2ad
JM
2715Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
2716
2717 * Makefile (VERSION): Bump to 4.17.1.
2718
290d79e0
JM
2719Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
2720
2721 * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
2722
37ac9ecc
JM
2723Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
2724
2725 * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
2726
c87c674a
JM
2727Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
2728
2729 * Makefile.in (distclean): Add `rm $(YYFILES)'.
2730
79f0b613
JM
2731Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
2732
2733 * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
2734 is unsigned.
2735
6cc922a9
JM
2736Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
2737
2738 * configure.host, configure.tgt: Add sparc-linux.
2739 * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
2740 * config/sparc/*linux*: New files.
2741
4321ed53
JM
2742Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
2743
2744 * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
2745 if we're big endian; else call print_insn_little_arm.
2746
9a760d24
JM
2747Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com>
2748
2749 * Makefile.in (BISON): Don't even pretend to use yacc.
2750 (c-exp.tab.o): Use bison -o to use a unique intermediate file.
6e8bee16
SG
2751 (f-exp.tab.o, m2-exp.tab.o): Likewise.
2752start-sanitize-java
2753 (jv-exp.tab.o): Likewise.
2754end-sanitize-java
9a760d24 2755
5af9fc5f
AC
2756Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
2757
2758 * remote-sim.c (gdbsim_fetch_register): Don't abort when the
2759 register size is wrong.
2760
2761start-sanitize-r5900
24d084d9 2762Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com>
5af9fc5f
AC
2763
2764 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
2765 REGISTE_RAW_SIZE): Re-define.
2766
2767end-sanitize-r5900
c3cf44c4
JM
2768Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
2769
24d084d9 2770 * target.c (debug_to_fetch_registers,debug_to_store_registers,
863b20a3
JM
2771 debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing
2772 64 bit targets crashed long long printfs.
c3cf44c4
JM
2773
2774Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
2775
2776 * symfile.c (read_target_int_array): rename read_target_long_array
2777 and force the sizeof an ovly_table element to sizeof(long),
2778 instead of sizeof(int).
2779
f8611801
FCE
2780Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com>
2781
2782 * remote-mips.c (mips_request): Use unsigned long during parsing
2783 returned value from monitor, to prevent accidental sign extension.
2784
dd600735
JM
2785Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2786
2787 * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
2788 * configure.in: Ditto.
2789 * configure: Regenerated.
2790
2791Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2792
2793 * gdbtypes.c (check_typedef): Do not try to resolve the length of
2e7eeba9 2794 a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
dd600735
JM
2795 set TYPE_FLAG_TARGET_STUB as well.
2796
bccb2e7f
AC
2797Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
2798
2799 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
2800 Pass register size to sim_{fetch,store}_register. Check nr of
2801 register bytes transfered is correct.
2802
6c3beaaf
AC
2803Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2804
2805 * remote-d10v.c (remote_d10v_open): Call push_remote_target
2806 instead of open_remote_target.
2807
2808 * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS
2809 to translate addr/size when defined.
2810 (open_remote_target): Delete.
2e7eeba9 2811
6c3beaaf 2812 * target.h (open_remote_target): Delete.
2e7eeba9 2813
6c3beaaf 2814 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define.
2e7eeba9 2815
6c3beaaf
AC
2816Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2817
2e7eeba9
MS
2818 * d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to
2819 return odd sized register quantities with only half of the first
2820 register used!
2821
2822 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when
2823 size > 8.
6c3beaaf
AC
2824
2825Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
2826
2827 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
2828 sizeof type > 1.
2829
678fa7ff
RU
2830Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com>
2831
2832 * parse.c (write_dollar_variable): call new function
2833 target_map_name_to_register to allow targets to define their own
2834 register name aliases.
2835 * infcmd.c (registers_info): use target_map_name_to_register so that
2836 "print $reg" and "info reg $reg" use the same register name aliases.
2837
8970f2fd
SS
2838Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com>
2839
2840 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
2841 * config/i386/xm-i386mk.h: Fix an include.
2842 * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
2843
a469b84c
FCE
2844Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com>
2845
2846 * remote-mips.c (mips_enter_debug): Sleep before sending CR to
2847 monitor.
2848 (mips_exit_debug): Accept any whitespace / verbiage before monitor
2849 prompt reappears.
2850
9df3ba70
AC
2851Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
2852
2853 * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
2854 accumulators.
2855
93087920
AC
2856Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
2857
2858 * valops.c (value_at): For d10v, make read pointers with
2859 read_target_unsigned_integer, keep addresses unsigned.
2860 (value_fetch_lazy): Ditto.
2861
dd0ce8f6
AC
2862Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
2863
2864 * remote-d10v.c: New file. Layer the d10v GDB->remote memory map
2865 on top of the remote serial memory transfer functions.
2866
2867 * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o
2868
2869 * Makefile.in (remote-d10v.o): Add dependencies.
2870
2871 * remote.c (remote_open_1): Add arg extended_p, engage extended
2872 protocol when extended_p.
2873 (remote_open, extended_remote_open): Pass !extended_p /
2874 extended_p to remote_open_1.
2875
2876 * remote.c (open_remote_target), target.h: New function.
2877
6bcc5ba3
AC
2878Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
2879
2880 * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o.
2881
a5f4fbff
KS
2882Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
2883
2884 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
2885 if it exists.
2886 Remove static declaration of free_actions.
2887
2888 * tracepoint.h: Add declaration of free_actions.
2889
2890Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
2891
2892 * symtab.c (decode_line_1): Revert change that mistakenly
2893 removed assignment of sals[0].pc field.
2894
75a1d67a
JM
2895Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
2896
2897 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
2898 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
2899 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
2900 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
2901 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
2902 (FRAME_NUM_ARGS): New macro.
2903 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
2904 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
2905 patch.
2906
f6826586
AC
2907Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
2908
2909 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
2910 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
2911
2912 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
2913 (DMEM_START): Move to 0x00......
2914 (STACK_START): Move to 0x00..7ffe.
2915 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
2916
2917 * d10v-tdep.c (d10v_xlate_addr): Delete function.
2918
9c01dbfb
DE
2919Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
2920
2921 * symtab.c (fixup_psymbol_section): Move forward declaration to
2922 top of file with other such decls. Make it a static function.
2923 * symtab.h: Minor formatting tweaks.
2924
cb5cd5b4
SS
2925Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
2926
2927 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
2928 Remove redefinition.
2929 * config/i960/tm-i960.h (BREAKPOINT): Define.
2930
89f2ecdb
ILT
2931Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
2932
2933 * Makefile.in (init.c): Ignore errors when making init.c. Seems
2934 necessary to work around bug in Solaris make.
2935
75a1d67a 2936Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
4434e2dc
JM
2937
2938 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
2939 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
2940 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
2941 because floating-point values return via %fp0.
2942 (CLEAR_INSN_CACHE): New macro.
2943 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
2944 to use DOUBLEST.
2945 (REGISTER_CONVERT_TO_RAW): Ditto.
2946 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
2947 call it after having written in child process's memory.
2948 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
2949 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
2950
4cb36674
JL
2951Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
2952
2953 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
2954 override.
2955 (TARGET_LONG_LONG_BIT): Likewise.
2956 (TARGET_PTR_BIT): Likewise.
2957start-sanitize-r5900
2958 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
2959end-sanitize-r5900
2960
5f3ba16b
DE
2961start-sanitize-sky
2962Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
2963
2964 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
2965 * config/mips/txvu.mt (SIM): txvu -> mips.
2966
2967end-sanitize-sky
608addd4
AC
2968Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
2969
2970 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
2971 D10V_CONVERT_DADDR_TO_RAW): Define.
2972
2973 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
2974 registers, regardless of their size, when they fit.
2975
9961ca7a
AC
2976Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
2977
2978 * d10v-tdep.c (d10v_extract_return_value): For function pointers
2979 translate address to IMAP area.
2980
2981 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
2982 struct.
2983 (POP_FRAME): Point at generic_pop_current_frame.
2e7eeba9 2984
9961ca7a
AC
2985 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
2986 handled earlier.
2987 (d10v_push_return_address): New function.
2988 (d10v_pop_dummy_frame): Delete.
2989 (d10v_fix_call_dummy): Delete.
2990 (d10v_call_dummy_address): Delete.
2991
2992 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
2993 frameless.
2994
2995 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
2996
2997 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
2998 address of structure from first ARG1_REGNUM.
2999
3000 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
3001 even-odd register pair. Store 1 and 2 byte args in registers.
3002
3003 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
3004 is fetched in the correct byte order.
3005 (value_at): Ditto. Also ensure data pointers are mapped to data
3006 segment.
3007
3008 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
3009
3010 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
3011 (d10v_pop_frame): Replace R13 with LR_REGNUM.
3012 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
3013 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
3014 (d10v_extract_return_value): Access return value with RET1_REGNUM.
3015
3016 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
3017 Define.
3018 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
3019 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
3020 location.
2e7eeba9 3021
44d33d55
AC
3022Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
3023
3024 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
3025 longer valid.
3026
3027 * blockframe.c (generic_pop_current_frame), frames.h: New
3028 function.
3029
1931ea8d
AC
3030Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
3031
3032 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
3033 before /re/starting the simulator.
3034
df419eec
JM
3035Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
3036
3037 * top.c (do_nothing): Remove signal handler after signal is caught.
3038
d9ba1c3f
MS
3039Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
3040
3041 * tracepoint.c (tracepoint_operation): call free_actions instead
3042 of free. (free_actions): eliminate some memory leaks for actions.
3043 (validate_actionline): pass string arg by reference, so we can
3044 change the pointer. Change all memrange collection arguments to
3045 canonical form (literal address and size), to enforce early
3046 evaluation. Accept UNOP_MEMVAL (assembly variables) for
3047 trace collection. (parse_and_eval_memrange): accept expressions
3048 for the address and size fields of a memrange (and evaluate
3049 them immediately). (several places): use -1 instead of zero
3050 to distinguish an absolute memrange from a register-relative one.
3051 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
3052
c7bb1531
JM
3053Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
3054
3055 * Makefile.in (SFILES): add tracepoint.c.
3056 (LINTFILES): add @CONFIG_SRCS@.
3057 (SOURCES): Ditto.
3058 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
3059 * configure: Regenerated.
3060
70b3329c
JM
3061Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
3062
3063 * infptrace.c (child_resume): Don't try to step if
3064 NO_SINGLE_STEP is defined.
3065
c09eab00
JM
3066Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
3067
3068 * Makefile.in (VERSION): Bump to 4.16.2.
3069
3070Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
3071
3072 * alpha-nat.c (fetch_aout_core_registers): Rename from
3073 fetch_core_registers.
3074 (fetch_elf_core_registers): New function.
3075 (supply_gregset): Use ALPHA_REGSET_BASE.
3076 (supply_fpregset): Likewise.
3077 (fill_fpregset): Likewise.
3078 (alpha_aout_core_fns): Rename from alpha_core_fns.
3079 (alpha_elf_core_fns): New.
3080 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
3081 Disable MMALLOC.
3082 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
3083 (TARGET_ELF64): Likewise.
3084 (ALPHA_REGSET_BASE): New.
3085 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
3086 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
3087
3088 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
3089 (info_sharedlibary_command): Likewise.
3090
3091 * configure.host: Match alpha*.
3092 * configure.tgt: Likewise.
3093
6981a588
DT
3094Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
3095
3096 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3097 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
3098 whether we are in the dynamic symbol resolution code
3099 (wait_for_inferior): invoke it.
3100 * solib.c (in_svr4_dynsym_resolve_code): new function
3101 (enable_break): record start and end of the dynamic linker
3102 text and plt sections for use in in_svr4_dynsym_resolve_code.
3103 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
3104 (in_svr4_dynsym_resolve_code): declare it.
3105 * config/nm-gnu.h (solib.h): move inclusion to after definition
3106 of SVR4_SHARED_LIBS.
3107 * config/nm-sysv4.h (solib.h): ditto.
3108 * config/i386/nm-i386sco5.h (solib.h): ditto.
3109 * config/i386/nm-linux.h (solib.h): ditto.
3110 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
3111
3e269acb
SS
3112Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
3113
3114 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
3115 never be defined.
3116 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
3117 Remove, no longer needed.
3118 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
3119 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
3120 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
3121 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
3122
7074cd4e
SS
3123Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
3124
3125 Suggested by Chris Walter <walter@budoe.bu.edu>:
3126 * dwarfread.c (set_cu_language): Recognize Fortran.
3127 * dwarf2read.c (set_cu_language): Ditto.
3128 (read_array_type): Fix language test.
3129
2a913d71
MS
3130Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
3131
3132 * blockframe.c (generic_frame_chain_valid): A frame pointer may
3133 be valid if it is equal to the frame pointer of its caller (ie.
3134 not necessarily strictly INNER_THAN). Allows frameless functions.
3135
29df6f4b
MA
3136Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
3137
3138 * monitor.c (monitor_vsprintf): New function to handle
3139 printing of large addresses using %A format specifier.
3140 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
3141 instead of vsprintf.
3142 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
3143 to print addresses.
3144
4b95e9a1
JM
3145Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
3146
3147 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
3148 when using GNU ld.
3149
bf1fb2e0
JM
3150Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
3151
3152 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
3153 Add closing parenthesis. From HJ Lu.
3154
d8365eee
MA
3155Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
3156
3157 * dve3900-rom.c: Improve performance by using memory commands
3158 that print less fluff. Minor cosmetic changes.
3159 Eliminate compiler warnings.
3160
f03cdc5e
MH
3161Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
3162
3163 * breakpoint.c (enable_breakpoint): Preserve breakpoint
3164 disposition when enabling a breakpoint.
3165
3166 * symtab.c (find_pc_sect_line): If no symbol information
3167 is found, return correct pc anyway.
3168
9a2e2aba
SS
3169Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
3170
3171 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
3172 ns32k-*-mach3*): Fix file names.
3173 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
3174 recognition, no source files for these.
3175 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
3176 to powerpc-*-aix*.
3177 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
3178 no longer needed.
3179
1a31a33a
MA
3180Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
3181
3182 * monitor.c (monitor_write, monitor_readchar): New functions.
3183 * monitor.h (monitor_write, monitor_readchar): Declare.
3184 * dve3900-rom.c: Add support for fast loading on ethernet connections.
3185
77636dea
FF
3186Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
3187
3188 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
3189 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
3190 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
3191 (d10v_write_fp, d10v_read_fp): Add prototypes.
3192 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
3193 * symfile.c (simple_overlay_update, simple_overlay_update_1):
3194 Ignore the size of overlay sections. This check is redundant anyway.
3195 * printcmd.c (print_frame_args): Ditto.
3196 * valops.c (value_fetch_lazy): Ditto.
3197 * values.c (unpack_long): Ditto.
3198 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
3199 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
3200 works properly.
3201 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
3202 (d10v_read_fp, d10v_write_fp): New functions.
3203 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
3204 (d10v_push_arguments): Fix for pointers and structs.
3205 (d10v_extract_return_value): Fix for pointers and chars.
3206
4133151f
SS
3207Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
3208
3209 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
3210 recognition, no source files for these (note that the i386 Mach
9a2e2aba 3211 config is for pre-Mach 3).
4133151f
SS
3212 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
3213 * config/mips/mipsel64.mt: Remove, never referenced.
3214
59ae1b0f
SS
3215Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
3216
3217 * top.c (print_gdb_version): Restore to original message.
3218
76bf9192
ILT
3219Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
3220
b5edcb45
ILT
3221 From cgf@bbc.com (Chris Faylor):
3222 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
3223 let the child exit.
3224 (child_kill_inferior): Respond to all debug events as the child is
3225 terminating.
3226
76bf9192
ILT
3227 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
3228 (uninstall): Add $(EXEEXT) to file name to remove.
3229 (gdb$(EXEEXT)): Rename target from plain gdb.
3230 (gdb1$(EXEEXT)): Rename target from plain gdb1.
3231 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
3232
23f38c9e
FL
32331998-01-16 Felix Lee <flee@cygnus.com>
3234
3235 * top.c (print_gdb_version): delete stutter.
3236
ed3e2cfe
NC
3237Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
3238
3239 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
3240 to prevent spurous error messages on non-ICE targets.
3241
8d9371a5
SS
3242Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
3243
3244 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
3245 Remove, no longer used.
3246
f27bb101
MM
3247Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
3248
3249 Patch from Jim Wilson.
3250 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
3251 declare void function before use.
3252
3253 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
3254
0728afad
FF
3255Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
3256
3257 * configure.in (--with-mmalloc): Add new configure arg to use the
3258 mmalloc package. Default is to not use it.
3259 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
3260 the string "2".
3261 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
3262 * configure: Regenerated.
3263 * config.in: Regenerated.
3264 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
3265 (MMALLOC): Set using configure.
3266 (MMALLOC_CFLAGS): Set using configure.
3267
3268 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
3269 than just defining it.
3270 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
3271 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
3272 * objfiles.c: ditto.
3273 * defs.h: ditto.
3274
3275 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
3276 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
3277 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
3278 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
3279 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
3280 * gdbserver/Makefile.in (MMALLOC_*): Remove.
3281 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3282 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3283 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3284 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3285 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3286 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3287 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3288 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3289 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
3290 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3291 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3292 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3293 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3294 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
3295
e21fb2ae
MS
3296Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
3297
8f05bc95
MS
3298 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
3299 default to void pointer type (so that their default radix is hex).
3300
e21fb2ae 3301 * symtab.c: move rbreak_command from no_class to class_breakpoint
8f05bc95 3302 so it will be listed under "help breakpoints".
e21fb2ae 3303
0a51a5af
SS
3304Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
3305
3306 * rdi-share/hostchan.c: Remove gettimeofday declaration.
3307
3a9c3d12
NC
3308Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
3309
3310 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
0a51a5af 3311 to implement the Angel remote debugging interface.
3a9c3d12
NC
3312
3313 * Makefile.in: Add build rules for remote-rdi.c and
0a51a5af 3314 rdi-share/libangsd.a.
2e7eeba9 3315
3a9c3d12
NC
3316 * configure.tgt: Updated from source on branch.
3317 * config/arm/tm-arm.h: Updated from source on branch.
3318 * arm-tdep.c: Updated from source on branch.
3319
0a51a5af
SS
3320 * rdi-share: New directory, RDI library contributed by ARM.
3321
352f9e9d
MA
3322Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
3323
3324 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
3325 * monitor.c (monitor_wait): Echo program output.
3326 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
3327 add MO_PRINT_PROGRAM_OUTPUT flag.
3328
4d132e40
DT
3329Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
3330
3331 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
3332 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
3333 defined.
3334 * top.c (return_to_top_level, catch_errors): use the new macros
3335 * main.c (SET_TOP_LEVEL): ditto.
3336 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
3337
3435297a
MA
3338Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
3339
3340 * configure.in: Double up brackets in shell case pattern.
3341
99fa2de0
MS
3342Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
3343
3344 * tracepoint.c (finish_tfind_command): improved algorithm for
3345 deciding when we've "stepped" into a new stack frame.
3346 (map_args_over_tracepoints): loop over tracepoint list "safely",
3347 since list elements may be deleted during loop.
3348 (read_actions): add actions to history list.
3349
6d0b229c 3350For older changes see ChangeLog-97
bd5635a1
RP
3351\f
3352Local Variables:
55d3002f 3353mode: change-log
bd5635a1
RP
3354left-margin: 8
3355fill-column: 74
3356version-control: never
3357End:
This page took 0.914357 seconds and 4 git commands to generate.