Configury changes for AIX5/IA-64.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2001-03-05 Kevin Buettner <kevinb@redhat.com>
2
3 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
4 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
5 macros.
6 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
7 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
8 (sys/fault.h, sys/select.h): Test for presence of these
9 header files.
10 (ia64-*-aix*): Define NEW_PROC_API for this host.
11 * configure: Regenerate.
12 * config.in: Regenerate.
13
14 * configure.host (ia64-*-aix*): New host.
15 * configure.tgt (ia64-*-aix*): New target.
16
17 2001-03-05 Andrew Cagney <ac131313@redhat.com>
18
19 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
20
21 Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
22
23 * wince.c: Change realloc to xrealloc throughout.
24 (handle_load_dll): Use void * rather than PTR in argument.
25
26 2001-03-04 Andrew Cagney <ac131313@redhat.com>
27
28 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
29 * ocd.c (ocd_xfer_memory): Ditto.
30 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
31 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
32 buildable with ,-Werror.
33
34 * Makefile.in (symfile_h): Define.
35 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
36 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
37 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
38 ,-Werror.
39
40 * dsrec.c (make_srec): Fix internal_error fmt arg.
41 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
42
43 2001-03-03 Kevin Buettner <kevinb@redhat.com>
44
45 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
46 as an lvalue.
47
48 2001-03-02 Andrew Cagney <ac131313@redhat.com>
49
50 * MAINTAINERS (paper trail): Update.
51
52 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
53
54 2001-03-02 Andrew Cagney <ac131313@redhat.com>
55
56 From 2001-03-01 Tom Rix <trix@redhat.com>:
57 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
58 parameter to mn10200_analyze_prologue.
59
60 * config/mn10200/tm-mn10200.h: Include "regcache.h".
61 * MAINTAINERS: Document that mn10200-elf target is buildable.
62
63 2001-03-02 Kevin Buettner <kevinb@redhat.com>
64
65 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
66 from here...
67 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
68 (MONTEREY): Don't define.
69 (AIX5): Define.
70
71 2001-03-02 Matt Hiller <hiller@redhat.com>
72
73 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
74
75 2001-03-02 Kevin Buettner <kevinb@redhat.com>
76
77 * sparc-nat.c (sparc-nat.c): Don't include self.
78
79 2001-03-01 J.T. Conklin <jtc@redback.com>
80
81 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
82 if __CYGWIN32__ is set from here.
83 * config/i386/xm-cygwin.h: To here.
84 * config/powerpc/xm-cygwin.h: To here.
85
86 * i386-stub.c (handle_exception): Use 'T' response packet.
87
88 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
89
90 * m32r-tdep.c: Fix cut and paste error in comment.
91
92 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
93
94 * symtab.c (print_msymbol_info): Print addresses by portable method
95 longest_local_hex_string_custom. Allow for 64-bit addresses.
96
97 2001-03-01 J.T. Conklin <jtc@redback.com>
98
99 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
100 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
101 (MIN_OF_TYPE): Likewise.
102
103 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
104
105 2001-03-01 Andrew Cagney <ac131313@redhat.com>
106
107 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
108 * os9kread.c (os9k_process_one_symbol): Add assert to detect
109 ``loses if sizeof (char *) > sizeof (int)''.
110
111 2001-03-01 Andrew Cagney <ac131313@redhat.com>
112
113 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
114
115 2001-03-01 Andrew Cagney <ac131313@redhat.com>
116
117 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
118 lists.
119 (mi-main.o): Ditto.
120
121 2001-03-01 Andrew Cagney <ac131313@redhat.com>
122
123 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
124 dependency lists.
125
126 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
127
128 * printcmd.c (print_address_numeric): Update comments to refer
129 to sizeof addr, not sizeof pointer.
130 (x_command): Remove needless whitespace (shorten long line).
131
132 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
133 (read_memory_nobpt): Ditto.
134 (ep_is_catchpoint): Ditto.
135 (ep_is_shlib_catchpoint): Ditto.
136 (ep_is_exception_catchpoint): Ditto.
137 (describe_other_breakpoints): Ditto.
138
139 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
140
141 * regcache.h (register_valid): Fix comment documenting valid
142 states.
143
144 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
145
146 From Steven Johnson:
147 * regcache.h: New file.
148
149 * value.h (read_register_bytes, read_register_gen)
150 (write_register_gen, write_register_bytes)
151 (read_register, read_register_pid)
152 (read_signed_register, read_signed_register_pid)
153 (write_register, write_register_pid)
154 (register_cached, set_register_cached)
155 (register_changed, register_buffer)
156 (registers_changed, supply_register): Move declaration from here.
157 * regcache.h: To here.
158 * gdbcore.h (registers_fetched): Ditto.
159 * inferior.h (registers, registers_valid): Ditto.
160
161 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
162 generic_target_write_pc, write_pc_pid, write_pc,
163 generic_target_read_sp, read_sp, generic_target_write_sp,
164 write_sp, generic_target_read_fp, read_fp,
165 generic_target_write_fp, write_fp): Add note that these functions
166 will be moved from this file.
167
168 * a29k-tdep.c: Include "regcache.h".
169 * a68v-nat.c: Ditto.
170 * abug-rom.c: Ditto.
171 * alpha-nat.c: Ditto.
172 * alpha-tdep.c: Ditto.
173 * alphabsd-nat.c: Ditto.
174 * arc-tdep.c: Ditto.
175 * arm-linux-nat.c: Ditto.
176 * arm-linux-tdep.c: Ditto.
177 * arm-tdep.c: Ditto.
178 * blockframe.c: Ditto.
179 * core-aout.c: Ditto.
180 * core-sol2.c: Ditto.
181 * corelow.c: Ditto.
182 * cpu32bug-rom.c: Ditto.
183 * cxux-nat.c: Ditto.
184 * d10v-tdep.c: Ditto.
185 * d30v-tdep.c: Ditto.
186 * dbug-rom.c: Ditto.
187 * dink32-rom.c: Ditto.
188 * dve3900-rom.c: Ditto.
189 * findvar.c: Ditto.
190 * fr30-tdep.c: Ditto.
191 * frame.c: Ditto.
192 * go32-nat.c: Ditto.
193 * h8300-tdep.c: Ditto.
194 * h8500-tdep.c: Ditto.
195 * hp300ux-nat.c: Ditto.
196 * hppa-tdep.c: Ditto.
197 * hppab-nat.c: Ditto.
198 * hppah-nat.c: Ditto.
199 * hppam3-nat.c: Ditto.
200 * hpux-thread.c: Ditto.
201 * i386-linux-nat.c: Ditto.
202 * i386-linux-tdep.c: Ditto.
203 * i386-tdep.c: Ditto.
204 * i386aix-nat.c: Ditto.
205 * i386b-nat.c: Ditto.
206 * i386bsd-nat.c: Ditto.
207 * i386gnu-nat.c: Ditto.
208 * i386ly-tdep.c: Ditto.
209 * i386m3-nat.c: Ditto.
210 * i386mach-nat.c: Ditto.
211 * i386nbsd-nat.c: Ditto.
212 * i386v4-nat.c: Ditto.
213 * i387-nat.c: Ditto.
214 * i387-tdep.c: Ditto.
215 * i960-tdep.c: Ditto.
216 * ia64-aix-nat.c: Ditto.
217 * ia64-linux-nat.c: Ditto.
218 * ia64-tdep.c: Ditto.
219 * infptrace.c: Ditto.
220 * infrun.c: Ditto.
221 * irix4-nat.c: Ditto.
222 * irix5-nat.c: Ditto.
223 * lin-lwp.c: Ditto.
224 * lin-thread.c: Ditto.
225 * lynx-nat.c: Ditto.
226 * m3-nat.c: Ditto.
227 * m32r-rom.c: Ditto.
228 * m32r-tdep.c: Ditto.
229 * m68hc11-tdep.c: Ditto.
230 * m68k-tdep.c: Ditto.
231 * m68klinux-nat.c: Ditto.
232 * m68knbsd-nat.c: Ditto.
233 * m68knbsd-tdep.c: Ditto.
234 * m88k-nat.c: Ditto.
235 * m88k-tdep.c: Ditto.
236 * mac-nat.c: Ditto.
237 * mcore-rom.c: Ditto.
238 * mcore-tdep.c: Ditto.
239 * mi/mi-main.c: Ditto.
240 * mips-nat.c: Ditto.
241 * mips-tdep.c: Ditto.
242 * mipsm3-nat.c: Ditto.
243 * mipsv4-nat.c: Ditto.
244 * mn10200-tdep.c: Ditto.
245 * mn10300-tdep.c: Ditto.
246 * monitor.c: Ditto.
247 * ns32km3-nat.c: Ditto.
248 * ns32knbsd-nat.c: Ditto.
249 * ocd.c: Ditto.
250 * pa64solib.c: Ditto.
251 * ppc-bdm.c: Ditto.
252 * ppc-linux-nat.c: Ditto.
253 * ppc-linux-tdep.c: Ditto.
254 * ppcbug-rom.c: Ditto.
255 * ppcnbsd-nat.c: Ditto.
256 * ptx4-nat.c: Ditto.
257 * regcache.c: Ditto.
258 * remote-adapt.c: Ditto.
259 * remote-array.c: Ditto.
260 * remote-bug.c: Ditto.
261 * remote-e7000.c: Ditto.
262 * remote-eb.c: Ditto.
263 * remote-es.c: Ditto.
264 * remote-est.c: Ditto.
265 * remote-hms.c: Ditto.
266 * remote-mips.c: Ditto.
267 * remote-mm.c: Ditto.
268 * remote-nindy.c: Ditto.
269 * remote-os9k.c: Ditto.
270 * remote-rdi.c: Ditto.
271 * remote-rdp.c: Ditto.
272 * remote-sds.c: Ditto.
273 * remote-sim.c: Ditto.
274 * remote-st.c: Ditto.
275 * remote-udi.c: Ditto.
276 * remote-utils.c: Ditto.
277 * remote-vx.c: Ditto.
278 * remote-vx29k.c: Ditto.
279 * remote-vx68.c: Ditto.
280 * remote-vx960.c: Ditto.
281 * remote-vxmips.c: Ditto.
282 * remote-vxsparc.c: Ditto.
283 * remote.c: Ditto.
284 * rom68k-rom.c: Ditto.
285 * rs6000-nat.c: Ditto.
286 * rs6000-tdep.c: Ditto.
287 * sh-tdep.c: Ditto.
288 * sh3-rom.c: Ditto.
289 * sol-thread.c: Ditto.
290 * solib-svr4.c: Ditto.
291 * somsolib.c: Ditto.
292 * sparc-nat.c: Ditto.
293 * sparc-tdep.c: Ditto.
294 * sparcl-tdep.c: Ditto.
295 * sparclet-rom.c: Ditto.
296 * sun3-nat.c: Ditto.
297 * sun386-nat.c: Ditto.
298 * symm-nat.c: Ditto.
299 * target.c: Ditto.
300 * thread-db.c: Ditto.
301 * thread.c: Ditto.
302 * tic80-tdep.c: Ditto.
303 * tracepoint.c: Ditto.
304 * ultra3-nat.c: Ditto.
305 * umax-xdep.c: Ditto.
306 * uw-thread.c: Ditto.
307 * v850-tdep.c: Ditto.
308 * v850ice.c: Ditto.
309 * valops.c: Ditto.
310 * w65-tdep.c: Ditto.
311 * w89k-rom.c: Ditto.
312 * win32-nat.c: Ditto.
313 * wince.c: Ditto.
314 * z8k-tdep.c: Ditto.
315
316 2001-02-28 Matt Hiller <hiller@redhat.com>
317
318 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
319
320 2001-02-27 Matt Hiller <hiller@redhat.com>
321
322 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
323 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
324 mn10300_stab_reg_to_regnum.
325
326 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
327
328 * symtab.c (search_symbols): Fix off by one error in test for
329 error.
330
331 2001-02-23 Andrew Cagney <ac131313@redhat.com>
332
333 * config/sparc/sp64linux.mt: New file.
334 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
335 * configure.host: Recognize sparc64-*-linux* as a linux host.
336
337 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
338 * config/sparc/tm-sp64linux.h: New file.
339
340 2001-02-24 Kevin Buettner <kevinb@redhat.com>
341
342 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
343 with call to internal_error().
344 * dbxread.c (process_one_symbol): Likewise.
345 * exec.c (build_section_table, xfer_memory): Likewise.
346 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
347 Likewise.
348 * hpread.c (hpread_type_translate, hpread_read_array_type)
349 (hpread_type_lookup): Likewise.
350 * i386-tdep.c (gdb_print_insn_i386): Likewise.
351 * i960-tdep.c (mem): Likewise
352 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
353 * infptrace.c (child_resume): Likewise.
354 * infttrace.c (_initialize_infttrace): Likewise.
355 * language.c (binop_result_type, add_language): Likewise.
356 * lynx-nat.c (store_inferior_registers): Likewise.
357 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
358 * mdebugread.c (parse_partial_symbols): Likewise.
359 * monitor.c (monitor_printf_noecho, monitor_printf)
360 (monitor_dump_regs): Likewise.
361 * ocd.c (stu_put_packet): Likewise.
362 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
363 * remote-bug.c (bug_open): Likewise.
364 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
365 * remote-es.c (es1800_read_bytes): Likewise.
366 * remote-mips.c (common_breakpoint): Likewise.
367 * remote-rdp.c (send_rdp): Likewise.
368 * remote-sds.c (putmessage): Likewise.
369 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
370 Likewise.
371 * sparcl-tdep.c (sparclite_download): Likewise.
372 * symtab.c (lookup_partial_symbol): Likewise.
373 * target.c (push_target, pop_target, initialize_targets): Likewise.
374 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
375 Likewise.
376 * valprint.c (print_decimal, print_longest, print_longest)
377 (strcat_longest): Likewise.
378 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
379 * xmodem.c (xmodem_send_packet): Likewise.
380 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
381 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
382 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
383 (STORE_RETURN_VALUE): Likewise.
384 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
385 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
386 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
387 Likewise.
388
389 2001-02-23 Andrew Cagney <ac131313@redhat.com>
390
391 * CONTRIBUTE: Document how to cite a problem report.
392 * TODO: Note need to replace CONTRIBUTE with generated file.
393
394 * CONTRIBUTE: Mention that patches do not need to include the
395 generated files gdbarch.h and gdbarch.c.
396
397 2001-02-21 Andrew Cagney <ac131313@redhat.com>
398
399 * value.h (get_saved_register): Move from here.
400 * frame.h: To here.
401
402 2001-02-21 Kevin Buettner <kevinb@redhat.com>
403
404 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
405 (in_solib_dynsym_resolve_code): Add declaration.
406 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
407 in_solib_dynsym_resolve_code() rather than
408 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
409 which caused this macro to only be defined when
410 SVR4_SHARED_LIBS is defined.
411 * solib.c (in_solib_dynsym_resolve_code): New function.
412 * solist.h (struct target_so_ops): Add new member
413 in_dynsym_resolve_code.
414 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
415 in_svr4_dynsym_resolve_code. Also, made static.
416 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
417 member in aix5_so_ops.
418 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
419 in_svr4_dynsym_resolve_code. Also, added second version
420 of this function which will be used when SVR4_SHARED_LIBS
421 is not defined.
422 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
423 member in svr4_so_ops.
424
425 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
426 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
427 config/ia64/xm-aix.h: New files.
428 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
429 (ia64_aix_sigcontext_register_address): New declaration.
430 (ia64_gdbarch_init): Provide for initialization of
431 sigcontext_register_address member of struct tdep when
432 on target is detected to be running AIX.
433 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
434 this list.
435
436 2001-02-20 Kevin Buettner <kevinb@redhat.com>
437
438 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
439 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
440 for thread support instead of linux-thread.o and lin-thread.o.
441 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
442 ATTACH_LWP): Define to use the following lin-lwp.c functions...
443 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
444 lin_lwp_attach_lwp): Declare.
445
446 2001-02-20 Andrew Cagney <ac131313@redhat.com>
447
448 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
449 formatting.
450
451 2001-02-20 Kevin Buettner <kevinb@redhat.com>
452
453 * solib-aix5.c (solib-svr4.h): Remove include.
454 (solib_break_names): Delete names which aren't actually
455 used by AIX5.
456 (bkpt_names): Remove.
457 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
458 to STREQ() with equivalent calls to strcmp().
459 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
460 aix5_solib_create_inferior_hook): Revise comments.
461 (enable_break): Remove old ``bkpt_names'' code.
462
463 2001-02-19 Andrew Cagney <ac131313@redhat.com>
464
465 * Makefile.in (SFILES): Add frame.c .
466 (COMMON_OBS): Add frame.o .
467 (frame.o): New target.
468
469 * frame.c (find_saved_register):
470 (default_get_saved_register):
471 (get_saved_register):
472 (read_relative_register_raw_bytes_for_frame):
473 (read_relative_register_raw_bytes): Moved to here.
474 * regcache.c: From here.
475
476 2001-02-20 Kevin Buettner <kevinb@redhat.com>
477
478 * solib-aix5.c: New file.
479
480 2001-02-20 Martin M. Hunt <hunt@redhat.com>
481
482 * solib.c (info_sharedlibrary_command): Don't assume pointers
483 are the same size of long, call longest_local_hex_string_custom().
484
485 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
486 extract_signed_integer() should be called instead of
487 extract_address().
488
489 2001-02-20 Martin M. Hunt <hunt@redhat.com>
490
491 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
492
493 2001-02-19 Andrew Cagney <ac131313@redhat.com>
494
495 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
496 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
497 then floating point registers are 8 bytes.
498
499 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
500
501 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
502 accomodate 64-bit addresses.
503
504 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
505
506 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
507 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
508 lookup_symbol, when trying to find a symbol with a mangled name,
509 to avoid infinite recursion.
510
511 2001-02-18 Andrew Cagney <ac131313@redhat.com>
512
513 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
514
515 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
516
517 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
518 (save_prologue_cache): Ditto.
519
520 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
521
522 From: innadadadavida@yahoo.com:
523 * partial-stab.h (switch): Check that pst is not null
524 before dereferencing it.
525
526 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
527
528 From Andrew Cagney <cagney@b1.cygnus.com>:
529 * symfile.c (add_symbol_file_command): Always initialize
530 my_cleanup using a NULL cleanup.
531
532 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
533
534 * demangle.c (demangling_style_names): New variable.
535 (_initialize_demangler): Fill demangling_style_names with the
536 names of known demangling styles from libiberty_demanglers[]. Use
537 add_set_enum_cmd instead of add_set_cmd, to get completion on
538 demangling style names.
539
540 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
541 file-name completion.
542
543 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
544
545 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
546 `solib-absolute-prefix'.
547
548 * tracepoint.c (_initialize_tracepoint): Ditto for
549 `save-tracepoints'.
550
551 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
552
553 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
554 file-name completion.
555
556 * infcmd.c (_initialize_infcmd): Make the following commands use
557 the file-name completer: `tty', `args', `path', `paths', and
558 `run'.
559
560 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
561
562 * go32-nat.c: Include i387-nat.h.
563 (fetch_register): New function, uses some of the guts of
564 go32_fetch_registers and calls i387_supply_register.
565 (go32_fetch_registers): Most of the code moved into
566 fetch_register. Use i387_supply_fsave.
567 (store_register): Use i387_fill_fsave instead of custom code.
568 (go32_store_registers): Use i387_fill_fsave.
569
570 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
571
572 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
573
574 * completer.c (gdb_completer_file_name_break_characters): Remove
575 slash from file-name break characters.
576 [__MSDOS__]: Special definition for DOS/Windows file names.
577 (line_completion_function): When completing on file names, bump
578 `p' to the first file-name constituent character of `word', before
579 invoking the completer.
580
581 2001-02-17 Mark Kettenis <kettenis@gnu.org>
582
583 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
584 consistently for parameter names. Fix comments accordingly.
585 (i387_supply_register): New function.
586 (i387_supply_fsave): Implement using i387_supply_register.
587 * i387-nat.h: Use regnum instead of regno consistently for
588 parameter names. Fix comments accordingly.
589 (i387_supply_register): New prototype.
590
591 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
592
593 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
594 instead of TARGET_PTR_BIT (to support Harvard architectures).
595
596 2001-02-16 Andrew Cagney <ac131313@redhat.com>
597
598 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
599 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
600 argument to parameter list and to call in order to conform to
601 to_xfer_memory field of struct target_ops.
602
603 2001-02-12 Michael Chastain <chastain@redhat.com>
604
605 * somsolib.c (som_solib_add_solib_objfile): Do not use
606 section relocation feature of syms_from_objfile. Do my own
607 section relocation, offsetting each section of the som by
608 either text_addr - text_link_addr or data_start.
609
610 2001-02-16 Andrew Cagney <ac131313@redhat.com>
611
612 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
613
614 2001-02-16 Andrew Cagney <ac131313@redhat.com>
615
616 * MAINTAINERS (paper trail): Update.
617
618 2001-02-16 Mark Kettenis <kettenis@gnu.org>
619
620 * target.h (target_fetch_registers): Fix comment.
621
622 2001-02-15 Andrew Cagney <ac131313@redhat.com>
623
624 * f-exp.y: Include <ctype.h>.
625 (parse_number): Ensure that ``i'' is always initialized.
626
627 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
628
629 * MAINTAINERS: Add myself to paper trail section.
630
631 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
632
633 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
634 * configure, config.in: Regenerate.
635 * corelow.c: Include <sys/file.h> if present.
636
637 2001-02-14 Andrew Cagney <ac131313@redhat.com>
638
639 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
640 declare when have SIGTTOU.
641
642 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
643
644 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
645
646 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
647
648 * MAINTAINERS: Update my email address.
649
650 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
651
652 * NEWS: Document that "info symbol" works with COFF debug info and
653 its variants.
654
655 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
656 symbols whose SYMBOL_BFD_SECTION is NULL.
657
658 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
659
660 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
661 * xcoffsolib.c (xcoff_solib_address): Renamed from
662 pc_load_segment_name. Return NULL if address is not in a shared
663 library. Cleanup shared library name construction, using xasprintf.
664 Format shared library member names consistent with format in exec.c.
665 (solib_info): Format shared library member names consistent with
666 format in exec.c.
667 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
668 using xcoff_solib_address for PC_SOLIB definition.
669 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
670 needed.
671
672 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
673
674 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
675 with xmalloc calls and cleanups.
676
677 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
678
679 * rs6000-nat.c (child_xfer_memory): Add missing parameter
680 'struct mem_attrib *' required by 2001-01-23 change.
681
682 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
683
684 Updates to "make TAGS":
685 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
686 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
687 tahoe-tdep.c.
688 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
689
690 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
691
692 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
693
694 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
695
696 From Dean Luick <luick@cray.com>:
697 * defs.h (continuation): Remove unused global variable.
698
699 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
700
701 * configure.tgt: Remove references to convex, pyramid, altos and
702 tahoe.
703 * configure.host: Ditto.
704 * MAINTAINERS: Ditto.
705 * NEWS: Update.
706
707 * tahoe-tdep.c: Delete obsolete file.
708 * pyr-xdep.c: Ditto.
709 * pyr-tdep.c: Ditto.
710 * convex-tdep.c: Ditto.
711 * convex-xdep.c: Ditto.
712 * config/tahoe/xm-tahoe.h: Ditto.
713 * config/tahoe/tm-tahoe.h: Ditto.
714 * config/tahoe/tahoe.mt: Ditto.
715 * config/tahoe/tahoe.mh: Ditto.
716 * config/pyr/xm-pyr.h: Ditto.
717 * config/pyr/tm-pyr.h: Ditto.
718 * config/pyr/pyramid.mt: Ditto.
719 * config/pyr/pyramid.mh: Ditto.
720 * config/m68k/xm-altos.h: Ditto.
721 * config/m68k/tm-altos.h: Ditto.
722 * config/m68k/altos.mt: Ditto.
723 * config/m68k/altos.mh: Ditto.
724 * config/convex/xm-convex.h: Ditto.
725 * config/convex/tm-convex.h: Ditto.
726 * config/convex/convex.mt: Ditto.
727 * config/convex/convex.mh: Ditto.
728 * config/convex/Convex.notes: Ditto.
729 * config/arm/xm-arm.h: Ditto.
730 * config/arm/nm-arm.h: Ditto.
731 * config/arm/arm.mt: Ditto.
732 * config/arm/arm.mh: Ditto.
733 * arm-convert.s: Ditto.
734 * arm-xdep.c: Ditto.
735 * altos-xdep.c: Ditto.
736
737 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
738
739 * defs.h (internal_error, internal_verror): Add __FILE__ and
740 __LINE__ parameter.
741 * utils.c (internal_error, internal_verror): Update.
742
743 * v850-tdep.c: Update calls to internal_error.
744 * utils.c: Ditto.
745 * ui-out.c: Ditto.
746 * ui-file.c: Ditto.
747 * target.h: Ditto.
748 * symtab.h: Ditto.
749 * symm-nat.c: Ditto.
750 * sparc-tdep.c: Ditto.
751 * source.c: Ditto.
752 * serial.c: Ditto.
753 * rs6000-tdep.c: Ditto.
754 * rs6000-nat.c: Ditto.
755 * remote.c: Ditto.
756 * remote-vx.c: Ditto.
757 * remote-sim.c: Ditto.
758 * remote-mips.c: Ditto.
759 * regcache.c: Ditto.
760 * objfiles.h: Ditto.
761 * objfiles.c: Ditto.
762 * mn10300-tdep.c: Ditto.
763 * mips-tdep.c: Ditto.
764 * maint.c: Ditto.
765 * m68k-tdep.c: Ditto.
766 * m3-nat.c: Ditto.
767 * language.c: Ditto.
768 * infptrace.c: Ditto.
769 * inferior.h: Ditto.
770 * infcmd.c: Ditto.
771 * ia64-tdep.c: Ditto.
772 * i386-tdep.c: Ditto.
773 * i386-linux-nat.c: Ditto.
774 * hppah-nat.c: Ditto.
775 * go32-nat.c: Ditto.
776 * findvar.c: Ditto.
777 * f-lang.c: Ditto.
778 * elfread.c: Ditto.
779 * event-loop.c: Ditto.
780 * dwarf2read.c: Ditto.
781 * dsrec.c: Ditto.
782 * d30v-tdep.c: Ditto.
783 * d10v-tdep.c: Ditto.
784 * cli/cli-setshow.c: Ditto.
785 * cli/cli-script.c: Ditto.
786 * ch-exp.c: Ditto.
787 * breakpoint.c: Ditto.
788 * ax-gdb.c: Ditto.
789 * arch-utils.c: Ditto.
790 * a29k-tdep.c: Ditto.
791 * gdb_assert.h: Ditto.
792 * gdbarch.sh: Ditto.
793 * gdbarch.h, gdbarch.c: Re-generate.
794
795 2001-02-07 Andrew Cagney <ac131313@redhat.com>
796
797 From Mark Kettenis <kettenis@gnu.org>:
798 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
799
800 2001-02-07 Andrew Cagney <ac131313@redhat.com>
801
802 * remote-sim.c (dump_mem): Cleanup printf format argument.
803 * MAINTAINERS: Update, mn10300-elf now builds.
804
805 2001-02-07 Mark Kettenis <kettenis@gnu.org>
806
807 * event-top.c: Remove duplicate #include <signal.h>.
808
809 2001-02-06 Andrew Cagney <ac131313@redhat.com>
810
811 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
812 allocated buffer.
813 (save_inferior_pid): Restore the PID from that tempoary
814 buffer. Delete the buffer.
815 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
816
817 2001-02-06 Andrew Cagney <ac131313@redhat.com>
818
819 * MAINTAINERS: Add ``The Obvious Fix Rule''.
820
821 2001-02-06 Andrew Cagney <ac131313@redhat.com>
822
823 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
824
825 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
826
827 * gdbarch.sh: Include "gdb_assert.h".
828 (struct gdbarch): Change ``nr_data'' to unsigned.
829 (alloc_gdbarch_data, free_gdbarch_data): New functions.
830 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
831 architecture vector.
832 (struct gdbarch_data, struct gdbarch_data_registration): Move init
833 method to gdbarch_data. Add free method, make index unsigned.
834 (struct gdbarch_data_registry): Make nr unsigned.
835 (register_gdbarch_data): Add free parameter. Store in
836 gdbarch_data.
837 (init_gdbarch_data): Use set_gdbarch_data.
838 (set_gdbarch_data): New function.
839
840 * gdbarch.h, gdbarch.c: Re-generate.
841
842 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
843
844 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
845 fprintf_filtered with correct arguments.
846
847 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
848 Submitted by Paul Hilfinger (hilfingr@gnat.com)
849 and Andrei Petrov (and@genesyslab.com).
850 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
851 must be allocated dynamically, since these are no longer constants.
852 * infcmd.c: Ditto.
853 * regcache.c: Ditto.
854 * remote.c: Ditto.
855 * sol-thread.c: Ditto.
856 * valops.c: Ditto.
857 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
858 work-around for a missing Sun header file in solaris for sparc64.
859
860 2001-02-04 Philip Blundell <philb@gnu.org>
861
862 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
863 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
864 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
865 GET_THREAD_SIGNALS): Define.
866 * arm-linux-nat.c (fill_gregset): Correct type of argument.
867 (supply_gregset): Likewise.
868 (fill_fpregset): Likewise.
869 (supply_fpregset): Likewise.
870
871 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
872
873 * valops.c (value_cast): If casting a scalar to a pointer, do not
874 issue a message about truncation unless it exceeds the length of
875 an address, not the length of a pointer. This is because what the
876 user gives us is an address, not a pointer, and we will ultimately
877 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
878 to a pointer. This allows things like "print *(int *)0x01000234"
879 to work without generating a misleading message on a target having
880 two byte pointers and four byte addresses.
881
882 2001-02-05 Christopher Faylor <cgf@cygnus.com>
883
884 * win32-nat.c: Change PTR to void * throughout.
885
886 2001-02-05 J.T. Conklin <jtc@redback.com>
887
888 * signals.h: Removed.
889 * event-top.c (#include <signal.h>): Changed from signals.h.
890 * inflow.c: Likewise.
891 * mac-xdep.c: Likewise.
892 * ser-pipe.c: Likewise.
893 * ser-tcp.c: Likewise.
894 * standalone.c: Likewise.
895 * top.c: Likewise.
896 * utils.c: Likewise.
897 * Makefile.in: Removed signals.h from dependencies.
898
899 2001-02-05 Christopher Faylor <cgf@cygnus.com>
900
901 Change suggested by Dean Luick <luick@cray.com>
902 * inferior.h (step_over_calls_kind): Remove trailing comma from
903 last enum element.
904 (step_over_calls): Declare as extern rather than global.
905
906 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
907
908 * sh-tdep.c: Update copyright.
909 (sh_extract_return_value): Rewrite.
910 (sh3e_sh4_extract_return_value): New function.
911 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
912 version of the function for sh3e and sh4 CPUs.
913
914 2001-02-05 Michael Chastain <chastain@redhat.com>
915
916 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
917 to conform with interface change.
918
919 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
920
921 * config/djgpp/fnchange.lst: Tweak to make consistent with the
922 new files.
923
924 * config/djgpp/djconfig.sh: Use explicit absolute file name when
925 invoking `find'.
926
927 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
928 UART_FIFO_WORKS is defined. Otherwise use outportb.
929 From Francisco Pastor <fpastor.etra-id@etra.es>
930
931 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
932 with target.h's `to_xfer_memory' member.
933
934 2001-02-02 J.T. Conklin <jtc@redback.com>
935
936 * ppc-bdm.c (#include <signal.h>): Removed.
937 * remote-array.c: Likewise.
938 * remote-bug.c: Likewise.
939 * remote-e7000.c: Likewise.
940 * remote-mips.c: Likewise.
941 * remote-os9k.c: Likewise.
942 * remote-st.c: Likewise.
943 * remote-udi.c: Likewise.
944 * remote-vx29k.c: Likewise.
945 * remote-vx68.c: Likewise.
946 * remote-vx960.c: Likewise.
947 * remote-vxmips.c: Likewise.
948 * remote-vxsparc.c: Likewise.
949
950 2001-02-02 John Moore <jmoore@redhat.com>
951
952 * remote-utils.h (sr_set_device): Changed free() to xfree() where
953 appropriate. Also changed Copyright to include 2001.
954 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
955 * value.h (value_free): Likewise.
956 * gdbarch.sh (gdbarch_free): Likewise.
957 * gdbarch.c, gdbarch.h: Regenerated.
958
959 2001-02-02 John Moore <jmoore@redhat.com>
960
961 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
962 xfree(). Also changed Copyright to include 2001.
963
964 2001-02-02 J.T. Conklin <jtc@redback.com>
965
966 * monitor.c (#include "gdb_wait.h"): Removed.
967 * ocd.c: Likewise.
968 * ppc-bdm.c: Likewise.
969 * remote-adapt.c: Likewise.
970 * remote-array.c: Likewise.
971 * remote-bug.c: Likewise.
972 * remote-e7000.c: Likewise.
973 * remote-eb.c: Likewise.
974 * remote-es.c: Likewise.
975 * remote-mips.c: Likewise.
976 * remote-mm.c: Likewise.
977 * remote-nindy.c: Likewise.
978 * remote-os9k.c: Likewise.
979 * remote-rdi.c: Likewise.
980 * remote-rdp.c: Likewise.
981 * remote-sds.c: Likewise.
982 * remote-sim.c: Likewise.
983 * remote-st.c: Likewise.
984 * remote-udi.c: Likewise.
985 * remote-vx.c: Likewise.
986 * remote-vx29k.c: Likewise.
987 * remote-vx68.c: Likewise.
988 * remote-vx960.c: Likewise.
989 * remote-vxmips.c: Likewise.
990 * remote-vxsparc.c: Likewise.
991 * remote.c: Likewise.
992 * ser-pipe.c: Likewise.
993 * ser-unix.c: Likewise.
994 * Makefile.in: Updated dependencies.
995
996 2001-01-31 David Smith <dsmith@redhat.com>
997
998 * event-loop.c: Change inclusion of string.h to gdb_string.h and
999 updated the copyright notice.
1000 * ser-pipe.c: Ditto.
1001 * mi/mi-cmds.c: Ditto.
1002 * mi/mi-console.c: Ditto.
1003 * mi/mi-getopt.c: Ditto.
1004 * mi/mi-parse.c: Ditto.
1005
1006 2001-01-31 David Smith <dsmith@redhat.com>
1007
1008 * MAINTAINERS: Add David Smith to Write After Approval list.
1009
1010 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
1011
1012 * cli/cli-utils.c (putchar_filtered): Move function from here.
1013 * utils.c (putchar_filtered): To here.
1014 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
1015 * defs.h (putchar_filtered): To here.
1016
1017 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
1018
1019 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
1020 AC_FUNC_VFORK macro.
1021 * config.in, configure: Re-generate.
1022
1023 * gdb_vfork.h: New file.
1024 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
1025 * fork-child.c (fork_inferior): Ditto.
1026
1027 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
1028
1029 * defs.h (strsave): Delete declaration.
1030 * utils.c (strsave): Delete definition.
1031 * TODO (strsave): Update
1032
1033 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
1034 * sparcl-tdep.c (sparclite_open): Ditto.
1035 * mips-tdep.c (mips_set_processor_type_command): Ditto.
1036 (_initialize_mips_tdep): Ditto.
1037 * solib.c (solib_open): Ditto.
1038 * symfile.c (add_filename_language): Ditto.
1039 (set_ext_lang_command): Ditto.
1040 * source.c (init_source_path): Ditto.
1041 (mod_path): Ditto.
1042 * sh3-rom.c (sh3_open): Ditto.
1043 (sh3e_open): Ditto.
1044 * serial.c (serial_open): Ditto.
1045 * remote-mips.c (common_open): Ditto.
1046 * monitor.c (monitor_open): Ditto.
1047 * m32r-rom.c (m32r_upload_command): Ditto.
1048 * infcmd.c (path_command): Ditto.
1049 * f-exp.y (parse_number): Ditto.
1050 * breakpoint.c (create_longjmp_breakpoint): Ditto.
1051 (create_thread_event_breakpoint): Ditto.
1052 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
1053 (_initialize_arc_tdep): Ditto.
1054
1055 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
1056
1057 * cli/cli-script.c (define_command): Check for a bad hook value in
1058 switch statement.
1059
1060 2001-01-30 J.T. Conklin <jtc@redback.com>
1061
1062 * configure/sh/embed.mt: New file.
1063 * configure/sh/linux.mt: New file.
1064 * configure/sh/sh.mt: Removed.
1065 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
1066 (sh-*-*): Removed.
1067
1068 2001-01-29 Michael Chastain <chastain@redhat.com>
1069
1070 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
1071 symbol comparisons in binary search.
1072
1073 2001-01-27 Christopher Faylor <cgf@cygnus.com>
1074
1075 * win32-nat.c (child_xfer_memory): Add missing argument required by
1076 2001-01-23 change.
1077
1078 2001-01-27 Mark Kettenis <kettenis@gnu.org>
1079
1080 * ui-out.c (do_list_end): New function.
1081 (make_cleanup_ui_out_list_end): New function.
1082 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1083 * stack.c (print_frame) [UI_OUT]: Call
1084 make_cleanup_ui_out_list_end to make sure we mark the end of the
1085 list if we do a non-local exit. At the end of the function,
1086 instead of calling ui_out_list_end directly, let do_cleanups
1087 handle it.
1088
1089 2001-01-26 Fernando Nasser <fnasser@redhat.com>
1090
1091 Fix double parsing of filenames passed as command line arguments
1092 to GDB (causes weird handling of escape characters).
1093 Also, remove dependencies on the CLI from libgdb.
1094 * call-cmds.h: Remove declaration of exec_file_command().
1095 * gdbcore.h: Remove declaration of exec_file_command().
1096 Add declarations for exec_open() and exec_file_clear().
1097 * symfile.h: Add declarations for symbol_file_add_main() and
1098 symbol_file_clear().
1099 * exec.c (exec_open): New function. Implements to_open for exec
1100 targets.
1101 (exec_file_clear): New function. Makes GDB forget about a previously
1102 specified executable file.
1103 (exec_file_attach): Move parsing of arguments from here ...
1104 (exec_file_command): ... to here.
1105 (init_exec_ops): Use exec_open(), not exec_file_command() to
1106 implement to_open for exec targets.
1107 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1108 with default values. Used when the file name has already been parsed.
1109 (symbol_file_clear): New function. Makes GDB forget about previously
1110 read symbols.
1111 (symbol_file_command): Call the above function instead of inline code.
1112 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1113 "call-cmds.h".
1114 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1115 instead of exec_file_command() and symbol_file_command().
1116 (captured_main): Add comment.
1117 * corefile.c: Include "symfile.h".
1118 (core_file_command): Call symbol_file_add_main() instead of
1119 symbol_file_command().
1120 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1121 * infcmd.c: Include "symfile.h".
1122 (attach_command): Call symbol_file_add_main() instead of
1123 symbol_file_command().
1124 * infrun.c: Remove comment about the inclusion of "symfile.h",
1125 not any longer appropriate.
1126 (follow_exec): Call symbol_file_add_main() instead of
1127 symbol_file_command().
1128 * remote-es.c: Include "symfile.h".
1129 (es1800_load): Call symbol_file_add_main() instead of
1130 symbol_file_command().
1131 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1132 not any longer appropriate.
1133 (vx-wait): Call symbol_file_add_main() instead of
1134 symbol_file_command().
1135 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1136 instead of symbol_file_command().
1137 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1138 symbol_file_add_main() instead of exec_file_command() and
1139 symbol_file_command().
1140 * Makefile.in: Update dependencies.
1141
1142 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1143
1144 * remote-udi.c (udi_open): Change strdup to xstrdup.
1145 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1146 Update copyright message.
1147 * varobj.c (delete_variable_1): Likewise.
1148
1149 * gdb_string.h: Remove declaration of strdup. Update copyright
1150 message.
1151 * config/xm-mpw.h: Likewise.
1152 * config/i386/xm-i386mach.h: Likewise.
1153 * config/m68k/xm-apollo68b.h: Likewise.
1154 * config/m68k/xm-hp300bsd.h: Likewise.
1155 * config/rs6000/xm-rs6000.h: Likewise.
1156 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1157 * config/vax/xm-vaxult2.h: Likewise.
1158
1159 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1160
1161 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1162
1163 2001-01-25 J.T. Conklin <jtc@redback.com>
1164
1165 * target.c (target_xfer_memory_partial): Return -1 on failure due
1166 to invalid access mode attribute.
1167
1168 2001-01-25 Christopher Faylor <cgf@cygnus.com>
1169
1170 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1171
1172 2001-01-25 Mark Kettenis <kettenis@gnu.org>
1173
1174 * config/alpha/tm-fbsd.h: Update copyright.
1175 (USE_STRUCT_CONVENTION): Define in terms of
1176 alphabsd_use_struct_convention.
1177 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1178 * alphafbsd-tdep.c: New file.
1179
1180 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1181
1182 * top.c (print_gdb_version): Update Copyright year.
1183
1184 2001-01-24 J.T. Conklin <jtc@redback.com>
1185
1186 * dcache.c (dcache_write_line): Fix typo.
1187
1188 * memattr.c (delete_mem_region): Replace free() with xfree().
1189 (mem_number): Add explicit type.
1190
1191 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1192 (rw_common): Likewise.
1193
1194 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1195
1196 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1197 for the inferior program arguments.
1198 (run_command, run_no_args_command, init_infcmd)): Use accessor
1199 functions to set the inferior program arguments.
1200 * inferior.h: Add definitions to the accessor functions above.
1201
1202 2001-01-23 Jim Blandy <jimb@redhat.com>
1203
1204 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1205 Implement these correctly, using make_cv_type.
1206
1207 2001-01-23 J.T. Conklin <jtc@redback.com>
1208
1209 * exec.c (xfer_memory): Add attrib argument.
1210 * infptrace.c (child_xfer_memory): Likewise.
1211 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1212 * monitor.c (monitor_xfer_memory): Likewise.
1213 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1214 * remote-array.c (array_xfer_memory): Likewise.
1215 * remote-bug.c (bug_xfer_memory): Likewise.
1216 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1217 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1218 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1219 * remote-mips.c (mips_xfer_memory): Likewise.
1220 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1221 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1222 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1223 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1224 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1225 * remote-sds.c (sds_xfer_memory): Likewise.
1226 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1227 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1228 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1229 * remote-vx.c (vx_xfer_memory): Likewise.
1230 * remote.c (remote_xfer_memory): Likewise.
1231 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1232 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1233 * thread-db.c (thread_db_xfer_memory): Likewise.
1234
1235 * target.h (#include "memattr.h"): Added.
1236 (target_ops.to_xfer_memory): Add attrib argument.
1237
1238 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1239 * dcache.h (set_dcache_state): Removed declaration.
1240 * dcache.c (set_dcache_state): Removed definition
1241
1242 * dcache.c: Update module comment, as dcache is now enabled and
1243 disabled with memory region attributes instead of by the global
1244 variable "remotecache". Add comment describing the interaction
1245 between dcache and memory region attributes.
1246 (dcache_xfer_memory): Add comment describing benefits of moving
1247 cache writeback to a higher level.
1248 (dcache_struct): Removed cache_has_stuff field. This was used to
1249 record whether the cache had been accessed in order to invalidate
1250 it when it was disabled. However, this is not needed because the
1251 cache is write through and the code that enables, disables, and
1252 deletes memory regions invalidate the cache. Add comment which
1253 suggests that we could be more selective and only invalidate those
1254 cache lines containing data from those memory regions.
1255 (dcache_invalidate): Updated.
1256 (dcache_xfer_memory): Updated.
1257
1258 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1259 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1260 perform a uncached transfer if dcache_enabled_p was clear. This
1261 function is now only called if caching is enabled for the memory
1262 region.
1263 (dcache_info): Always print cache info.
1264
1265 * target.c (do_xfer_memory): Add attrib argument.
1266 (target_xfer_memory, target_xfer_memory_partial): Break transfer
1267 into chunks defined by memory regions, pass region attributes to
1268 do_xfer_memory().
1269 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1270
1271 * Makefile.in (SFILES): Add memattr.c.
1272 (COMMON_OBS): Add memattr.o.
1273 (dcache.o): Add target.h to dependencies.
1274 * memattr.c: New file.
1275 * memattr.h: Likewise.
1276
1277 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1278 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1279 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1280 * gdbserver/low-sim.c (#include "defs.h"): Removed.
1281 (mygeneric_load): Rename from generic_load.
1282
1283 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1284 (#include "defs.h"): Removed.
1285 (inferior_pid, perror_with_name): Remove declarations.
1286 * gdbserver/low-linux.c: Likewise.
1287 * gdbserver/low-nbsd.c: Likewise.
1288 * gdbserver/low-sparc.c: Likewise.
1289 * gdbserver/low-sun3.c: Likewise.
1290
1291 * i386-stub.c: Re-indent.
1292 * m68k-stub.c: Re-indent.
1293
1294 2001-01-22 Nicholas Duffek <nsd@redhat.com>
1295
1296 * gdbarch.sh (PARM_BOUNDARY): Define.
1297 * gdbarch.c: Regenerate.
1298 * gdbarch.h: Regenerate.
1299
1300 2001-01-22 J.T. Conklin <jtc@redback.com>
1301
1302 * ns32k-tdep.c: #include "frame.h"
1303 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
1304 appears to have been inadvertantly removed sometime in May 1999.
1305
1306 * Revert 2000-11-09 changes where shared library objects were
1307 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
1308 we'd like to be able to debug dynamically linked executables,
1309 this makes it impossible to build a cross debugger on a many
1310 hosts.
1311
1312 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1313 * config/i386/nbsdelf.mt: Likewise.
1314 * config/m68k/nbsd.mt: Likewise.
1315 * config/ns32k/nbsd.mt: Likewise.
1316 * config/powerpc/nbsd.mt: Likewise.
1317 * config/sparc/nbsd.mt: Likewise.
1318 * config/sparc/nbsdelf.mt: Likewise.
1319 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1320 * config/i386/nbsdelf.mh: Likewise.
1321 * config/m68k/nbsd.mh: Likewise.
1322 * config/ns32k/nbsd.mh: Likewise.
1323 * config/powerpc/nbsd.mh: Likewise.
1324 * config/sparc/nbsd.mh: Likewise.
1325
1326 2001-01-19 Jason Merrill <jason@redhat.com>
1327
1328 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1329 (process_one_symbol): Likewise.
1330 * dwarfread.c (handle_producer): Likewise.
1331
1332 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
1333
1334 * configure.in (build_warnings): Disable -Wuninitialized until GDB
1335 compiles with -Wuninitialized,-Werror.
1336 * configure: Regenerate.
1337
1338 * MAINTAINERS: Add list of buildable targets.
1339
1340 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1341
1342 * defs.h (STRCMP): Delete macro.
1343
1344 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1345 strcmp.
1346 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1347 * symfile.c (compare_symbols): Ditto.
1348 * standalone.c (open): Ditto.
1349 * remote-es.c (verify_break): Ditto.
1350 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1351
1352 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1353
1354 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1355
1356 * varobj.c (FREEIF): Delete macro.
1357 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1358 call.
1359
1360 2001-01-18 Nick Clifton <nickc@redhat.com>
1361
1362 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1363 (arc_print_insn): No bfd available, so pass NULL to
1364 arc_get_disassembler.
1365
1366 2001-01-09 James Ingham <jingham@inghji.apple.com>
1367
1368 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1369 a mangled symbol rather than recursing into lookup_symbol, since
1370 this will just re-unmangle the name & call lookup_symbol_aux -
1371 leading to an infinite recursion.
1372
1373 2001-01-18 Mark Kettenis <kettenis@gnu.org>
1374
1375 * infcmd.c (print_return_value): Restore another space lost by
1376 switch to UIOUT. ``$NN='' should be ``$NN =''.
1377
1378 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1379
1380 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1381 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1382 definition in parenthesis.
1383
1384 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1385
1386 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1387 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1388 packet.
1389 (remote_insert_hw_breakpoint): Ditto.
1390
1391 2001-01-17 J.T. Conklin <jtc@redback.com>
1392
1393 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
1394 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
1395 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1396 * m68knbsd-tdep.c: New file.
1397
1398 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1399
1400 * m68knbsd-nat.c: #include gdbcore.h.
1401
1402 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1403
1404 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1405
1406 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1407
1408 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1409 goes away -- just return false (ie. not stopped by watchpoint).
1410 * source.c (openp): Fix typo in comment.
1411
1412 2001-01-12 Nicholas Duffek <nsd@redhat.com>
1413
1414 * blockframe.c (generic_get_saved_register): Spelling fix.
1415 * frame.h (FRAME_FP): Spelling fix.
1416
1417 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1418
1419 * infcmd.c (print_return_value): Restore space lost by switch to
1420 UIOUT. ``$NN='' should be ``$NN =''.
1421
1422 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1423
1424 * regcache.c (set_register_cached, register_buffer,
1425 real_register, pseudo_register fetch_register, store_register):
1426 New functions.
1427 (register_changed, read_relative_register_raw_bytes_for_frame,
1428 registers_changed, registers_fetched, read_register_bytes,
1429 read_register_gen, write_register_gen, read_register,
1430 read_signed_register, write_register, supply_register): Replace
1431 register_valid[] with register_cached() and
1432 set_register_cached().
1433 (read_register_bytes, read_register_gen, write_register_gen,
1434 read_register, read_signed_register, write_register,
1435 supply_register): Replace registers[] with register_buffer().
1436 (read_register_bytes, read_register_gen, read_register,
1437 read_signed_register): Call fetch_register().
1438 (write_register_gen, write_register): Call real_register() and
1439 store_register().
1440 (write_register_bytes): Call store_register().
1441 * value.h (set_register_cached, register_buffer): Prototype.
1442 * remote.c (remote_fetch_registers): Allocate regs[] with a
1443 run-time size. Replace register_valid[] with
1444 set_register_cached().
1445 (store_register_using_P, remote_store_registers): Replace
1446 registers[] with register_buffer().
1447
1448 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1449
1450 * regcache.c: Change "write-back" comment to "write-through".
1451 Change "regno" to "regnum".
1452 (read_register, read_signed_register): Remove "raw" from return
1453 value description.
1454 (supply_register): Spelling fix.
1455 * value.h: Change "regno" to "regnum".
1456
1457 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1458
1459 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1460 to be installed.
1461
1462 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1463
1464 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1465
1466 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1467
1468 * valops.c (VALUE_SUBSTRING_START): Delete.
1469
1470 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1471
1472 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1473 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1474 (cli_utils_h): New variable.
1475 (cli/cli-utils.o): New rule.
1476 * cli/cli-utils.c: New file.
1477 * cli/cli-utils.h: New file.
1478
1479 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1480
1481 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1482 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1483
1484 2001-01-03 J.T. Conklin <jtc@redback.com>
1485
1486 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1487 comment.
1488
1489 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1490
1491 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1492 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1493 non-float types.
1494 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1495 Update copyright notice.
1496
1497 For older changes see ChangeLog-2000
1498 \f
1499 Local Variables:
1500 mode: change-log
1501 left-margin: 8
1502 fill-column: 74
1503 version-control: never
1504 End:
This page took 0.059864 seconds and 4 git commands to generate.