]> Git Repo - binutils.git/blame - gdb/ChangeLog
*** empty log message ***
[binutils.git] / gdb / ChangeLog
CommitLineData
7bc65f05
AC
12001-12-01 Andrew Cagney <[email protected]>
2
3680c638
AC
3 * Makefile.in (tm-news.h, tm-isi.h, xm-news1000.h): Delete.
4 (ALLDEPFILES): Delete news-xdep.c.
5 (news-xdep.o): Delete.
6 (isi-xdep.o): Delete.
7 * configure.tgt: Delete m68*-isi-*, m68*-sony-*, m68*-rom68k-*,
8 m68*-*bug-*, m68*-monitor-* and m68*-est-* targets.
9 * configure.host: Delete m68030-sony-*, m68*-isi-* and m68*-sony-*
10 Hosts.
11 * m68k-tdep.c (isi_skip_prologue): Delete function.
12 * news-xdep.c: Delete file.
13 * isi-xdep.c: Delete file.
14 * config/m68k/isi.mh: Delete file.
15 * config/m68k/isi.mt: Delete file.
16 * config/m68k/news.mh: Delete file.
17 * config/m68k/news.mt: Delete file.
18 * config/m68k/news1000.mh: Delete file.
19 * config/m68k/nm-news.h: Delete file.
20 * config/m68k/tm-isi.h: Delete file.
21 * config/m68k/tm-news.h: Delete file.
22 * config/m68k/xm-isi.h: Delete file.
23 * config/m68k/xm-news.h: Delete file.
24 * config/m68k/xm-news1000.h: Delete file.
25
ccb25a8a
AC
26 * kdb-start.c: Delete file.
27 * stuff.c: Delete file.
28
9b567150
AC
29 * NEWS: Note that a29k-nyu-sym1 and a29k-*-kern* were deleted.
30 * configure.host: Delete a29k-*-* host.
31 * configure.tgt: Delete a29k-*-kern* and a29k-*-sym1* targets.
32 * config/a29k/a29k-kern.mt: Delete file.
33 * config/a29k/nm-ultra3.h: Delete file.
34 * config/a29k/tm-ultra3.h: Delete file.
35 * config/a29k/ultra3.mh: Delete file.
36 * config/a29k/ultra3.mt: Delete file.
37 * config/a29k/xm-ultra3.h: Delete file.
38
7e24f0b1
AC
39 * NEWS: Note that i[3456]86-*-sunos* was deleted.
40 * Makefile.in (sun386-nat.o): Delete.
41 * configure.tgt: Delete i[3456]86-*-sunos* target.
42 * configure.host: Delete i[3456]86-*-sunos* host.
43 * sun386-nat.c: Delete.file.
44 * config/i386/nm-sun386.h: Delete file.
45 * config/i386/sun386.mh: Delete file.
46 * config/i386/sun386.mt: Delete file.
47 * config/i386/tm-sun386.h: Delete file.
48 * config/i386/xm-sun386.h: Delete file.
49
1406caf7
AC
50 * NEWS: Note that ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*
51 and ns32k-utek-* were deleted.
52 * Makefile.in (ultra3-nat.o, ultra3-xdep.o): Delete.
53 (umax-xdep.o, ns32km3-nat.o): Delete.
54 * configure.tgt: Delete ns32k-*-mach3*, ns32k-utek-sysv* and
55 ns32k-utek-* targets.
56 * configure.host: Delete ns32k-*-mach3*, ns32k-umax-* and
57 ns32k-utek-sysv* hosts.
58 * ultra3-nat.c: Delete file.
59 * ultra3-xdep.c: Delete file.
60 * umax-xdep.o: Delete file.
61 * ns32km3-nat: Delete file.
62 * config/ns32k/merlin.mh: Delete file.
63 * config/ns32k/merlin.mt: Delete file.
64 * config/ns32k/nm-umax.h: Delete file.
65 * config/ns32k/ns32km3.mh: Delete file.
66 * config/ns32k/ns32km3.mt: Delete file.
67 * config/ns32k/tm-merlin.h: Delete file.
68 * config/ns32k/tm-ns32km3.h: Delete file.
69 * config/ns32k/umax.mh: Delete file.
70 * config/ns32k/umax.mt: Delete file.
71 * config/ns32k/xm-merlin.h: Delete file.
72 * config/ns32k/xm-ns32km3.h: Delete file.
73 * config/ns32k/xm-umax.h: Delete file.
74
5e734e1f
AC
75 * NEWS: Note that m88*-harris-cxux* was deleted.
76 * configure.host: Delete m88*-harris-cxux* host.
77 * configure.tgt: Delete m88*-harris-cxux* target.
78 * config/m88k/cxux.mh: Delete file.
79 * config/m88k/cxux.mt: Delete file.
80 * config/m88k/nm-cxux.h: Delete file.
81 * config/m88k/tm-cxux.h: Delete file.
82 * config/m88k/xm-cxux.h: Delete file.
83
7768dd6c
AC
84 * NEWS: Note that powerpc-*-netware*, powerpcle-*-cygwin* and
85 powerpcle-*-solaris* were deleted.
86 * configure.host: Delete powerpcle-*-cygwin* and
87 powerpcle-*-solaris* hosts.
88 * configure.tgt: Delete powerpc-*-netware*, powerpcle-*-cygwin*
89 and powerpcle-*-solaris* targets.
90 * config/powerpc/cygwin.mh: Delete file.
91 * config/powerpc/cygwin.mt: Delete file.
92 * config/powerpc/nm-solaris.h: Delete.file.
93 * config/powerpc/ppc-nw.mt: Delete file.
94 * config/powerpc/solaris.mh: Delete file.
95 * config/powerpc/solaris.mt: Delete file.
96 * config/powerpc/tm-cygwin.h: Delete file.
97 * config/powerpc/tm-ppc-nw.h: Delete file.
98 * config/powerpc/tm-solaris.h: Delete file.
99 * config/powerpc/xm-cygwin.h: Delete file.
100 * config/powerpc/xm-mpw.h: Delete file.
101 * config/powerpc/xm-solaris.h: Delete file.
102
7bc65f05
AC
103 * NEWS, MAINTAINERS: Note that w65-*-* was deleted.
104 * configure.tgt: Delete w65-*-*.
105 * Makefile.in (w65-tdep.o): Delete.
106 * config/w65/tm-w65.h: Delete file.
107 * config/w65/w65.mt: Delete file.
108 * w65-tdep.c: Delete file.
109
e2caac18
AC
110 * NEWS: Mention deleted tic80-*-*.
111 * configure.tgt: Delete tic80-*-*.
112 * Makefile.in (tic80-tdep.o): Delete.
113 * config/tic80/tic80.mt: Delete.
114 * config/tic80/tm-tic80.h: Delete.
115 * tic80-tdep.c: Delete.
116 * MAINTAINERS: Note that tic80 was deleted.
117
6ded7999
KB
1182001-11-30 Kevin Buettner <[email protected]>
119
120 * ppc-linux-tdep.c (solib-svr4.h): Include.
121 (ppc_linux_svr4_fetch_link_map_offsets): New function.
122 * ppc-tdep.h (ppc_linux_svr4_fetch_link_map_offsets): Declare.
123 * rs6000-tdep.c (solib-svr4.h): Include.
124 (rs6000_gdbarch_init): Set up ppc_linux_svr4_fetch_link_map_offsets()
125 as the link map offsets fetcher.
126
127 * config/powerpc/aix.mt (TDEPFILES): Add solib-svr4.o.
128 * config/powerpc/macos.mt (TDEPFILES): Likewise.
129 * config/powerpc/nbsd.mt (TDEPFILES): Likewise.
130 * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
131 * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
132 * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
133 * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
134 * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
135 * config/rs6000/aix4.mt (TDEPFILES): Likewise.
136 * config/rs6000/rs6000.mt (TDEPFILES): Likewise.
137 * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
138
a42dd537
KB
1392001-11-30 Kevin Buettner <[email protected]>
140
141 From Louis Hamilton <[email protected]>:
142 * arm-tdep.c (solib-svr4.h): Include.
143 (arm_linux_svr4_fetch_link_map_offsets): New function.
144 * config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
145 (arm_linux_svr4_fetch_link_map_offsets): Declare.
146
21cfb3b6
DJ
1472001-11-30 Daniel Jacobowitz <[email protected]>
148
149 * values.c (value_primitive_field): Add embedded_offset to the
150 address of structure members.
151 * gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
152 attempting to access vtable pointer. Set using_enc_p if we cast.
153 (gnuv3_virtual_fn_field): Call value_cast with structure rather than
154 structure pointer. Cast to base type before attempting to access
155 vtable pointer.
156
16333c4f
EZ
1572001-11-29 Elena Zannoni <[email protected]>
158
159 * Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.
160
161 * ppc-tdep.h (PPC_GPLAST_REGNUM): Define.
162
163 * ppc-linux-nat.c: Include ppc-tdep.h.
164 (ppc_register_u_addr): Don't use the static array regmap[],
165 dynamically define the mapping instead.
166 (supply_gregset): Ditto.
167 (fill_gregset): Ditto.
168 (COPY_REG): Delete macro defintion.
169 (regmap): Delete array.
170
aead120c
JB
1712001-11-29 Jim Blandy <[email protected]>
172
c8f9d51c
JB
173 Tighten up GDB's support for returning structs by value.
174 * s390-tdep.c (s390_use_struct_convention): New function.
175 (s390_gdbarch_init): Register it as the S/390's
176 USE_STRUCT_CONVENTION method. Register
177 generic_cannot_extract_struct_value_address as our
178 EXTRACT_STRUCT_VALUE_ADDRESS method.
179 * arch-utils.c (generic_cannot_extract_struct_value_address): New
180 function.
181 * arch-utils.h: Add corresponding prototype.
182
aead120c
JB
183 * values.c (value_being_returned): Make error message a proper
184 sentence.
185
a8329558 1862001-11-27 Keith Walker <[email protected]>
aead120c 187
a8329558
KW
188 * dwarf2read.c (read_attribute_value): New function to handle
189 DW_FORM_indirect
190 (read_attribute): uses read_attribute_value
191
d0ad30c9
JB
1922001-11-29 Jim Blandy <[email protected]>
193
194 * s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
195 save the return address register, assume that the return address
196 is still in there.
197
54c92070
AC
1982001-11-27 Andrew Cagney <[email protected]>
199
200 * MAINTAINERS: Clarify obvious fix a little (as suggested by Eli
201 Zaretskii).
202
62f81eda
JB
2032001-11-25 Jim Blandy <[email protected]>
204
205 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
206
4ed90530
JB
2072001-11-27 Jim Blandy <[email protected]>
208
5c3cf190
JB
209 * s390-tdep.c: Get frame chains and saved pc values properly from
210 dummy frames.
211 (s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
212 saved PC from the dummy frame's registers.
213 (s390_frame_chain): Same for the saved SP.
214 (s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
215 the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
216 set correctly.
217
31c4d430
JB
218 * s390-tdep.c (s390_frame_chain): Remember that the SP's element
219 of the frame's saved_regs array is special.
220
4ed90530
JB
221 * s390-tdep.c (register_names): Call the general-purpose registers
222 `r0' -- `r15', and the floating-point registers `f0' -- `f15', to
223 match the assembly language.
224
97da3b20
CF
2252001-11-26 Pierre Muller <[email protected]>
226
227 * config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
228 HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
229 * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include
230 extended registers if HAVE_SSE_REGS is defined.
231 (mappings array): Add offset of extended registers.
232 (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
233
467d8519
TT
2342001-11-26 Tom Tromey <[email protected]>
235
236 * NEWS: Updated.
237 * event-loop.c (start_event_loop): Call
238 after_char_processing_hook.
239 * event-top.h (after_char_processing_hook): Declare.
240 * event-top.c (rl_callback_read_char_wrapper): Call
241 after_char_processing_hook.
242 (after_char_processing_hook): New global.
243 * top.c (operate_saved_history): New global.
244 (gdb_rl_operate_and_get_next): New function.
245 (init_main): Add the operate-and-get-next defun.
246 (gdb_rl_operate_and_get_next_completion): New function.
247
c2a727fa
TT
2482001-11-26 Tom Tromey <[email protected]>
249
250 * NEWS: Update for --args.
251 * infcmd.c (construct_inferior_arguments): Moved from ...
252 * fork-child.c: ... here.
253
b77b1eb7
JB
2542001-11-26 Jim Blandy <[email protected]>
255
256 * symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
257 comment explaining that hand-written assembly code can have line
258 number info but no debug info for an enclosing function.
259
7d69eeec
JJ
2602001-11-26 Jakub Jelinek <[email protected]>
261
262 * sparc-nat.c (fetch_inferior_registers): Don't rely
263 on CORE_ADDR being 32-bit.
264 (store_inferior_registers): Likewise.
265
1f5dc670
EZ
2662001-11-25 Eli Zaretskii <[email protected]>
267
c64a2835
EZ
268 * config/djgpp/config.sed: Fix an error in etc/ at "make install"
269 time on non-LFN systems where standards*.inf* expands to nothing.
270
1f5dc670
EZ
271 * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
272
d3ff4a77
CF
2732001-11-24 Pierre Muller <[email protected]>
274 Christopher Faylor <[email protected]>
275
276 * win32-nat.c (struct so_stuff): Add objfile *objfile field needed to
277 be able to remove the DLL when unloaded. Remove unused last field.
278 (handle_unload_dll): New function to handle unloading of DLL.
279 (solib_symbols_add): Change return type to struct objfile *.
280 (get_child_debug_event): Call handle_unload_dll function.
281
2a3d5645
CF
2822001-11-24 Christopher Faylor <[email protected]>
283
284 * win32-nat.c (_initialize_check_for_gdb_ini): New function.
285 * config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
286 (GDBINIT_FILENAME): Remove.
287
eb7cedd9
MK
2882001-11-23 Mark Kettenis <[email protected]>
289
290 Add x86 OpenBSD native configuration.
291 * config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
292 config/i386/nm-obsd.h: New files.
293 * configure.host (i[3456]86-*-openbsd*): New host.
294 * configure.tgt (i[3456]86-*-openbsd*): New target.
295 * NEWS: Update.
296
172d914f
AC
2972001-11-21 GDB Administrator <[email protected]>
298
299 * GDB 5.1 was released.
300
552c04a7
TT
3012001-11-21 Tom Tromey <[email protected]>
302
303 Fix for PR gdb/209, PR gdb/156:
304 * gdbarch.c, gdbarch.h: Rebuilt.
305 * gdbarch.sh: Added `construct_inferior_arguments'.
306 * cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
307 Typo fix.
308 * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
309 * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
310 (inferior_argc, inferior_argv): New globals.
311 (notice_args_set): New function.
312 (set_inferior_args): Clear inferior_argc and inferior_argv.
313 (set_inferior_args_vector): New function.
314 (get_inferior_args): Handle inferior argument vector.
315 (run_command): Use get_inferior_args().
316 (notice_args_read): New function.
317 (_initialize_infcmd): Don't call set_inferior_args.
318 * command.h: Typo fix.
319 (cmd_list_element): Added pre_show_hook.
320 * main.c (captured_main): Added --args option.
321 (print_gdb_help): Document --args.
322 * inferior.h (construct_inferior_arguments): Declare.
323 (set_inferior_args_vector): Likewise.
324 * fork-child.c (construct_inferior_arguments): New function.
325
da9c7185
KB
3262001-11-21 Kevin Buettner <[email protected]>
327
328 * lin-lwp.c (lin_lwp_attach_lwp): Make sure SIGCHLD is in set of
329 blocked signals.
330
331 * lin-lwp.c (lin_lwp_attach_lwp): Mark main thread as stopped.
332
98eedd63
JB
3332001-11-20 Jim Blandy <[email protected]>
334
335 * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
336 default definition; this is never used.
337
5bbc1a8e
KS
3382001-11-20 Keith Seitz <[email protected]>
339
340 * varobj.c (c_value_of_child): Release memory for "name" when
341 finshed using it.
342 (c_type_of_child): Likewise.
343 (cplus_value_of_child): Isolate the use of name_of_child to
344 one case that needs it.
345 Release memory for "name" when finished using it.
346
1ad24239
KS
3472001-11-20 Keith Seitz <[email protected]>
348
349 * top.c (gdb_init): Call init_ui_hook before initializing
350 the default UI.
351
4cb0dbef
EZ
3522001-11-19 Elena Zannoni <[email protected]>
353
354 * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
355 declaration.
356
f00d3753
EZ
3572001-11-19 Elena Zannoni <[email protected]>
358
359 * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
360 accessing registers[].
361 (fill_fpregset): Ditto.
362
8b6f1f3a
EZ
3632001-11-19 Elena Zannoni <[email protected]>
364
365 * infptrace.c (fetch_register): Dynamically allocate buffer for
366 register.
367 (store_register): Use regcache_collect, instead of accessing the
368 register buffer directly.
369
479412cd
DJ
3702001-11-19 Daniel Jacobowitz <[email protected]>
371
372 * mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
373 cur_frame to heuristic_proc_desc.
374 (heuristic_proc_desc): Add cur_frame argument. Do not read SP
375 if cur_frame == 0.
376 (after_prologue): Pass cur_frame == 0 to find_proc_desc.
377 (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
378 (mips_init_extra_frame_info): Likewise.
379
ab290c52
AC
3802001-11-19 Andrew Cagney <[email protected]>
381
382 * defs.h (return_to_top_level): Comment.
383
22e04375
AC
384Mon Nov 19 14:58:52 2001 Andrew Cagney <[email protected]>
385
386 * remote.c (remote_open_1, remote_async_open_1): Use ISO C string
387 concatenation for error parameter.
388 (remote_cisco_open): Ditto.
389
30c6b1fb
KS
3902001-11-19 Keith Seitz <[email protected]>
391
392 * varobj.c (c_value_of_child): Use the wrapper function,
393 gdb_value_struct_elt.
394 (cplus_value_of_child): Likewise.
395
bd1ef5d2
AC
3962001-11-18 Andrew Cagney <[email protected]>
397
398 * i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
399 * config/i386/tm-i386.h (NUM_REGS): Delete.
400
76fb44f4
KB
4012001-11-18 Kevin Buettner <[email protected]>
402
403 * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
404 conversion for I386_LINUX_ORIG_EAX_REGNUM.
405
ed909a0d
AC
4062001-11-18 Andrew Cagney <[email protected]>
407
408 * config/i386/embed.mt (TM_FILE): Set to tm-i386.h.
409 * config/i386/tm-embed.h: Delete.
410
4edb848c
AC
4112001-11-17 Andrew Cagney <[email protected]>
412
413 * Makefile.in (distclean): Explicitly delete Makefile et.al. in
414 gdbserver sub directory.
415
f87ece4d
AC
4162001-11-17 Andrew Cagney <[email protected]>
417
418 * README: Mention need for alloca(). Mention problems with
419 alpha-dec-osf4.0e. Clarify that comments refer to GDB 5.1.
420
8a406745
KB
4212001-11-17 Kevin Buettner <[email protected]>
422
423 * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
424 of accessing registers[] directly.
425
7dd945fa
KB
4262001-11-17 Kevin Buettner <[email protected]>
427
428 * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
429 when fetching ORIG_EAX.
430
c2152441
DJ
4312001-11-17 Daniel Jacobowitz <[email protected]>
432
433 * arm-linux-nat.c: Don't include <asm/ptrace.h>.
434 (fetch_register): Use elf_gregset_t instead of struct pt_regs.
435 (fetch_regs): Likewise.
436 (store_register): Likewise.
437 (store_regs): Likewise.
438
b0677c2e
DJ
4392001-11-17 Daniel Jacobowitz <[email protected]>
440
441 * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
442 with regcache_collect.
443 (fill_fpregset): Likewise.
444
d2b57b94
DJ
4452001-11-17 Daniel Jacobowitz <[email protected]>
446
447 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
448 and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
449 * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
450 * sparc-linux-nat.c: New file, from Mark Kettenis.
451
4bdf3d34
JJ
4522001-11-16 Jakub Jelinek <[email protected]>
453
454 * dwarf2read.c (dwarf_str_buffer): New.
455 (struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size.
456 (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define.
457 (dwarf2_has_info): Clear dwarf_str_offset.
458 (dwarf2_build_psymtabs): Read .debug_str section if present.
459 (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and
460 DWARF_STR_SIZE.
461 (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE.
462 (read_attribute): Handle DW_FORM_strp.
463 (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
464 handling code.
465 (read_indirect_string): New.
466 (dump_die): Handle DW_FORM_strp.
467
20a940cc
JB
4682001-11-16 Jim Blandy <[email protected]>
469
470 * s390-tdep.c: Tweak argument-passing to match GCC bugs.
471 (is_float_singleton, is_struct_like, is_float_like): New
472 functions, that isolate the weirdness.
473 (is_double_or_float, is_simple_arg, pass_by_copy_ref,
474 is_double_arg): Use is_struct_like and is_float_like, rather than
475 testing the type codes ourselves.
476 (s390_push_arguments): When passing args on the stack, align each
477 on to a four-byte boundary, regardless of what the type itself
478 needs.
479
e5d63811
BH
4802001-11-16 Ben Harris <[email protected]>
481
482 * Makefile.in (os9kread.o): Replace $< with autoconf-approved
483 $(srcdir)/....
484 (procfs.o): Ditto.
485 (z8k-tdep.o): Ditto.
486
1005d5ef
BH
4872001-11-16 Ben Harris <[email protected]>
488
489 * MAINTAINERS (write-after-approval): Add self.
490
a1677dfb
JB
4912001-11-15 Jim Blandy <[email protected]>
492
493 * s390-tdep.c (is_simple_arg): Structs and unions exactly eight
494 bytes long should be handled as DOUBLE_ARGs; don't recognize them
495 as SIMPLE_ARGs.
496
ad10f812
AC
4972001-11-12 Andrew Cagney <[email protected]>
498
499 * remote.c (struct packet_reg): Declare.
500 (struct remote_state): Add fields sizeof_g_packet and g_packet.
501 (init_remote_state): Initialize sizeof_g_packet and g_packet.
502 (free_remote_state): Free g_packet.
503 (packet_reg_from_pnum, packet_reg_by_regnum): New functions.
504 (remote_wait): Use above instead of gdbarch methods
505 REGISTER_RAW_SIZE and REGISTER_BYTES.
506 (remote_async_wait): Ditto.
507 (remote_fetch_registers, remote_store_registers): Ditto.
508 (store_register_using_P): Ditto.
509
9525aa90
AC
5102001-11-15 Andrew Cagney <[email protected]>
511
512 * remote.c (_initialize_remote): Don't multi-arch swap tty_input.
513 Second attempt.
514
faf833ca
AC
5152001-11-15 Andrew Cagney <[email protected]>
516
517 * utils.c (phex_nz): For default case, set str to phex_nz return
518 value.
45a1e866 519 (phex): Ditto.
faf833ca 520
193cb69f
AC
5212001-11-15 Andrew Cagney <[email protected]>
522
523 * TODO (register_buffer): Delete.
524 * regcache.c (register_buffer): Make static.
525 (regcache_collect): New function.
526 * regcache.h (register_buffer): Delete declaration.
527 (regcache_collect): Declare.
528 * remote.c (store_register_using_P): Rewrite using
529 regcache_collect.
530 (remote_store_registers): Ditto.
531 * go32-nat.c (store_register): Ditto.
532
d01949b6
AC
5332001-11-14 Andrew Cagney <[email protected]>
534
535 * remote.c (struct remote_state): Declare.
536 (get_remote_state): New function.
537 (init_remote_state): New function.
538 (remote_gdbarch_data_handle): New global.
539 (build_remote_packet_sizes): Delete function, moved to
540 init_remote_state.
541 (register_remote_packet_sizes): Delete function.
542 (actual_register_packet_size, remote_packet_size): Moved to
543 ``struct remote_state''.
544 (PBUFSIZE): Delete. Replaced by rs->remote_packet_size.
545 (free_remote_state): New function.
546 (get_memory_packet_size, get_memory_read_packet_size)
547 (set_thread, remote_unpack_thread_info_response)
548 (remote_get_threadinfo, parse_threadlist_response)
549 (remote_get_threadlist, remote_current_thread)
550 (remote_threads_info, remote_threads_extra_info)
551 (extended_remote_restart, get_offsets)
552 (get_offsets, remote_check_symbols, remote_open_1)
553 (remote_async_open_1, remote_detach, remote_async_detach)
554 (remote_resume, remote_async_resume, remote_wait)
555 (remote_async_wait, remote_fetch_registers)
556 (store_register_using_P, remote_store_registers)
557 (check_binary_download, putpkt_binary)
558 (remote_insert_breakpoint, remote_remove_breakpoint)
559 (remote_insert_watchpoint, remote_remove_watchpoint)
560 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
561 (compare_sections_command, remote_query)
562 (remote_rcmd, remote_rcmd, packet_command)
563 (remote_info_process): Update.
564
1ff9c3d6
AC
5652001-11-14 Andrew Cagney <[email protected]>
566
567 * remote.c: Include "gdb_assert.h".
568 (tty_input): Wire buffer to 400 bytes.
569 (readsocket): Check tty_input doesn't overflow.
570 (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch
571 tty_input.
572
86884b37
MS
5732001-11-14 Michael Snyder <[email protected]>
574
575 * d10v-tdep.c (d10v_pointer_to_address): Use new type flag
576 TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast
577 into the instruction address space.
578 * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
579
47663de5
MS
5802001-11-14 Michael Snyder <[email protected]>
581 Add address space identifiers to expression language for types.
582 * c-exp.y (space_identifier, cv_with_space_id,
583 const_or_volatile_or_space_identifier_noopt,
584 const_or_volatile_or_space_identifier): New terminals.
585 (ptype): Accept const_or_volatile_or_space_identifier.
586 (typebase): Accept const_or_volatile_or_space_identifier.
587 * c-typeprint.c (c_type_print_cv_qualifier): Rename to
588 c_type_print_modifier. Handle address space modified types.
589 * gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE):
590 New type flags.
591 (struct type): Add new field as_type for addr-space qualified types.
592 (TYPE_AS_TYPE): New macro, retrieves the chain of types that are
593 identical to this one except for address-space qualification.
594 * gdbtypes.c (alloc_type): Initialize new field 'as_type'.
595 (address_space_name_to_int): New function.
596 (address_space_int_to_name): New function.
597 (make_type_with_address_space): New function.
598 (make_cv_type): Handle as_type field of new struct type object.
599 * parse.c (check_type_stack_depth): New function.
600 (push_type_address_space): New function.
601 (follow_types): Handle types with address-space qualifier.
602 * parser-defs.h (enum type_pieces): Add enum tp_space_identifier.
603
0d43edd1
JB
6042001-11-14 Jim Blandy <[email protected]>
605
9a1befc9
JB
606 * s390-tdep.c (s390_pop_frame_regular): On the S/390, the frame
607 pointer and the SP are often the same, so we can't pop the frame
608 by setting the SP to the FP; we need to get the old SP from
609 saved_regs.
610
f2c6cfba
JB
611 * s390-tdep.c (s390_extract_return_value): Returned `float' values
612 can simply be copied bitwise from the registers into the value
613 object's buffer.
614
09025237
JB
615 * s390-tdep.c (s390_get_frame_info): Initialize SP's element of
616 the frame's saved_regs array correctly.
617
0d43edd1
JB
618 * symfile.c (simple_read_overlay_table): Make sure we can find
619 both `_novlys' and `_ovly_table' before we try anything else;
620 print a helpful error message.
621 (simple_overlay_update): No need to print error message here.
622
befc81ac
MS
6232001-11-14 Michael Snyder <[email protected]>
624
625 * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
626
032758dc
AC
6272001-11-10 Andrew Cagney <[email protected]>
628
629 * arm-tdep.c (arm_register_type): New function.
630 (arm_register_convertible): Delete.
631 (arm_register_convert_to_virtual): Delete.
632 (arm_register_convert_to_raw): Delete.
633 * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete.
634 (REGISTER_CONVERT_TO_VIRTUAL): Delete.
635 (REGISTER_CONVERT_TO_RAW): Delete.
636 (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type.
637 (arm_register_type): Declare.
638
8b982acf
EZ
6392001-11-13 Elena Zannoni <[email protected]>
640
641 From Andrew Cagney <[email protected]>:
642 * gdbtypes.h (builtin_type_int128, builtin_type_uint128): Declare.
643 * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize
644 new builtin types.
645
648f4f79
JB
6462001-11-13 Jim Blandy <[email protected]>
647
78f8b424
JB
648 * s390-tdep.c: Rewrite inferior function call code. This may
649 break zSeries support; that should be fixed soon.
650 #include "gdb_assert.h".
651 (is_integer_like, is_pointer_like, is_simple_arg,
652 pass_by_copy_ref, extend_simple_arg, is_double_arg, round_up,
653 round_down, alignment_of): New functions.
654 (s390_push_arguments): Rewritten to handle passing large arguments
655 by value, and to make more readable.
656
4c8287ac
JB
657 * s390-tdep.c (s390_pop_frame): Call generic_pop_current_frame, to
658 interact correctly with generic dummy frames.
659 (s390_pop_frame_regular): Move the guts of the frame-popping code
660 to here, to be called by generic_pop_current_frame. Use the
661 frame's saved_regs array; this works for `return' as well as
662 inferior function calls.
663
0adb2aba
JB
664 * s390-tdep.c (s390_gdbarch_init): Register the function
665 `standard_coerce_float_to_double', since GCC for the S/390 follows
666 the standard rules for passing floats.
667
641225a4
JB
668 * valops.c (default_coerce_float_to_double,
669 standard_coerce_float_to_double): Doc fixes.
670
648f4f79
JB
671 Patch from Peter Schauer:
672
673 * symtab.c (find_pc_sect_line): If we can't find the function
674 containing PC, we certainly won't have line number information for
675 that location, so return zero immediately.
676
0cb2e7c5
AC
6772001-11-10 Andrew Cagney <[email protected]>
678
679 * config/i960/tm-nindy960.h (REGISTER_CONVERTIBLE)
680 (REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Delete
681 undef.
682 * i960-tdep.c (i960_register_type): New function.
683 * config/i960/tm-i960.h (REGISTER_CONVERTIBLE): Delete.
684 (REGISTER_CONVERT_TO_VIRTUAL): Delete.
685 (REGISTER_CONVERT_TO_RAW): Delete.
686 (REGISTER_VIRTUAL_TYPE): Update. Call i960_register_type.
687
2c10d744
AC
6882001-11-10 Andrew Cagney <[email protected]>
689
690 * m88k-tdep.c (m88k_register_type): New function.
691 * config/m88k/tm-m88k.h (REGISTER_CONVERTIBLE): Delete.
692 (REGISTER_CONVERT_TO_VIRTUAL): Delete.
693 (REGISTER_CONVERT_TO_RAW): Delete.
694 (m88k_register_type): Declare.
695 (REGISTER_VIRTUAL_TYPE): Update. Call m88k_register_type.
696
226271d3
MK
6972001-11-11 Mark Kettenis <[email protected]>
698
699 * i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
700 * i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
701 * config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
702 (SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
703
c2636352
JB
7042001-11-12 Jim Blandy <[email protected]>
705
706 Patch from Andreas Schwab <[email protected]>:
707 * eval.c (evaluate_subexp_standard): Fix memory leak: use alloca
708 instead of xmalloc.
709
c26e4683
JB
7102001-11-12 Jim Blandy <[email protected]>
711
712 * corefile.c (write_memory_unsigned_integer,
713 write_memory_signed_integer): New functions.
714 (write_memory): Move to be with other write_memory_* functions.
715 * gdbcore.h (write_memory_unsigned_integer,
716 write_memory_signed_integer): New declarations.
717
9aa1fe7e
GK
7182001-11-11 Geoffrey Keating <[email protected]>
719
720 * dwarf2read.c (dwarf_decode_lines): Properly deal with
721 unknown standard opcodes.
722
5b582da3
AC
7232001-11-11 Andrew Cagney <[email protected]>
724
725 * README (alpha-dec-osf5.1): Mention -DUSE_LDR_ROUTINES.
726 (sparcv9-sun-solars2.8): Mention problem with 64 bit GCC 3.0.x.
727 (i586-sco-sysv5uw7.1.1): Mention problem with threads.
728
b18c45ed
AC
7292001-11-11 Andrew Cagney <[email protected]>
730
731 From Mark Kettenis <[email protected]>:
732 * breakpoint.c (breakpoint_re_set_one): Don't discard SHLIB
733 breakpoints when they fail.
734
3d6d86c6
AC
7352001-11-10 Andrew Cagney <[email protected]>
736
737 * printcmd.c, valprint.c, language.c, linespec.c, infcmd.c,
738 gnu-nat.c, findvar.c, expprint.c, typeprint.c, stack.c, top.c:
739 Replace value_ptr with struct value.
740
6943961c
AC
7412001-11-10 Andrew Cagney <[email protected]>
742
743 * c-valprint.c, ch-lang.c, ch-valprint.c, cp-valprint.c,
744 p-valprint.c, scm-exp.c, scm-lang.c, scm-valprint.c: Replace
745 value_ptr with struct value.
746
61051030
AC
7472001-11-10 Andrew Cagney <[email protected]>
748
749 * eval.c: Replace most occurances of value_ptr with struct value.
750
f312f057
JB
7512001-11-09 Jim Blandy <[email protected]>
752
d4d0c21e
JB
753 * s390-tdep.c: Don't use a call dummy.
754 (s390_fix_call_dummy, s390_pc_in_call_dummy): Delete.
755 (s390_push_return_address): Put the address of the inferior call
756 breakpoint in r14.
757 (s390_gdbarch_init):
758 - Provide trivial definition of s390_call_dummy_words; register it
759 with the gdbarch appropriately.
760 - Delete S390x_call_dummy_words.
761 - Gather inferior-call-related settings into a group.
762 - Use generic dummy frames.
763 - Put the inferior call breakpoint at the entry point.
764 - Use generic gdbarch methods: pc_in_call_dummy_at_entry_point,
765 generic_push_dummy_frame, generic_fix_call_dummy.
766 - There is a call dummy breakpoint offset; it's zero.
767
f7aaef7d 768 * s390-tdep.c: (s390_push_arguments): Write a back chain pointer
01c464e9
JB
769 into the dummy frame, to help us get backtraces.
770
f312f057
JB
771 * values.c (value_as_address): If VAL is a function or method,
772 just return its address; don't let COERCE_ARRAY convert its
773 address to a pointer, and then have unpack_long convert it back to
774 an address.
775
5598ce11
PM
7762001-11-06 Pierre Muller <[email protected]>
777
778 * p-lang.c (is_pascal_string_type): New function to determine if a
779 type is a string type.
780 * p-lang.h: Add prototype for is_pascal_string_type.
781 * p-valprint.c (pascal_val_print) : Use is_pascal_string_type function
782 to display strings nicely.
783
94a716bf
PM
7842001-11-06 Pierre Muller <[email protected]>
785
786 * p-exp.y (yylex): Only change case of expression if symbol is found.
787 Also check for GPC standard name form.
788
f6a9480e
AC
7892001-11-08 Andrew Cagney <[email protected]>
790
791 * gdb_indent.sh: New file.
792
64f9bb98
JB
7932001-11-08 Jim Blandy <[email protected]>
794
795 * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
796 got_load_len, to placate compiler.
797
cd3c07fc
MK
7982001-11-08 Mark Kettenis <[email protected]>
799
800 * i386-tdep.c (i386_gdbarch_init): Fix typo.
801
4c801202
JB
8022001-11-08 Jim Blandy <[email protected]>
803
8001d1e4
JB
804 * s390-tdep.c (s390_gdbarch_init): Use func_frame_chain_valid, not
805 file_frame_chain_valid.
806
8ac0e65a
JB
807 * s390-tdep.c (s390_get_frame_info): If the prologue loads r12
808 from the constant pool, but doesn't add in the constant pool's
809 address to it, then this function probably isn't using r12 as a
810 GOT pointer, and that load probably wasn't part of the prologue.
811
4c801202
JB
812 * s390-tdep.c (s390_gdbarch_init): Use the default
813 prepare_to_proceed function established by config/nm-linux.h;
814 don't try to set it to linuxthreads_prepare_to_proceed.
815
a62cc96e
AC
816Wed Nov 7 20:38:14 2001 Andrew Cagney <[email protected]>
817
818 * i386-tdep.c: Include "i386-tdep.h".
819 (XMALLOC): Define.
820 (i386_gdbarch_init): New function.
821 (_initialize_i386_tdep): Register bfd_arch_i386.
822 * config/i386/tm-i386.h (GDB_MULTI_ARCH): Define as
823 GDB_MULTI_ARCH_PARTIAL.
824 * i386-tdep.h: When partially multi-arch, conditionally define
825 all macros.
826
8ea43c6d
AC
827Wed Nov 7 20:45:32 2001 Andrew Cagney <[email protected]>
828
829 * i386-tdep.c (set_disassembly_flavor): Delete function.
830 (set_disassembly_flavor_sfunc): Delete function.
831
6a34fd2f
EZ
8322001-11-07 Elena Zannoni <[email protected]>
833
834 * dbxread.c (set_namestring): New function, replacing the
835 SET_NAMESTRING macro.
836 (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE,
837 CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete
838 definitions.
839 (read_dbx_symtab): Don't include partial-stab.h any more. Don't
840 reuse code in partial-stab.h, include the code directly, instead.
841
842 * Makefile.in (dbxread.o): Remove dependency on partial-stab.h.
843 (HFILES_NO_SRCDIR): Remove partial-stab.h.
844
845 * partial-stab.h: Remove file.
846
a72293e2
AC
8472001-11-07 Andrew Cagney <[email protected]>
848
849 * gdbarch.sh: For multi-arch functions, check there is a
850 predefault and use it as the static default.
851 * gdbarch.c: Re-generate.
852
8cf03c4c
MK
8532001-11-08 Mark Kettenis <[email protected]>
854
855 * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
856 terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
857 hardcoding the register number.
858
56f12751
AC
8592001-11-07 Andrew Cagney <[email protected]>
860
861 * gdbarch.sh (USE_STRUCT_CONVENTION): Default to
862 generic_use_struct_convention.
863 * gdbarch.h, gdbarch.c: Regenerate.
864 * values.c (USE_STRUCT_CONVENTION): Delete definition, moved to
865 gdbarch.h.
866
a4a7d16f
AC
8672001-11-06 Andrew Cagney <[email protected]>
868
869 * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value.
870 * gdbarch.c: Regenerate.
871
4dc13854
FF
8722001-11-06 Fred Fish <[email protected]>
873
874 * complaints.c (info_verbose): Remove unneeded decl, is in defs.h.
875 * dbxread.c: Ditto
876 * dwarf2read.c: Ditto.
877 * dwarfread.c: Ditto.
878 * exec.c: Ditto.
879 * hpread.c: Ditto.
880 * hpread.h: Ditto.
881 * mdebugread.c: Ditto.
882 * os9kread.c: Ditto.
883 * stack.c: Ditto.
884 * symfile.c: Ditto.
885 * tracepoint.c: Ditto.
886
7fe4d0d2
AC
8872001-11-06 Andrew Cagney <[email protected]>
888
889 * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention
890 David Taylor and Nick Duffek in past maintainers.
891
d3119d1e
EZ
8922001-11-06 Elena Zannoni <[email protected]>
893
894 * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB,
895 END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions.
896 (parse_partial_symbols): Don't include partial-stab.h any
897 more. Don't reuse code in partial-stab.h, include the code
898 directly, instead. Simplify code from partial-stab.h eliminating
899 ifdef DBXREAD_ONLY code.
900
901 * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h.
902
e2d46a8c
JB
9032001-11-06 Jim Blandy <[email protected]>
904
3ecc0ae2
JB
905 * s390-nat.c: #include "regcache.h", to get declaration for
906 `supply_register'. (The last change already added the dependency
907 of s390-nat.o on regcache.h. Oops.)
908
e81b020b
JB
909 * Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c.
910 (s390-tdep.o, s390-nat.o): New rules.
911
38937755 912 * s390-nat.c (s390_register_u_addr): Pass proper arguments to
e2d46a8c
JB
913 internal_error.
914
a985cd41
AC
9152001-11-06 Andrew Cagney <[email protected]>
916
917 * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value.
918 * gdbarch.c: Regenerate.
919
e6b47f07
AC
9202001-11-06 Andrew Cagney <[email protected]>
921
922 * blockframe.c (get_prev_frame): Replace #ifdef
923 INIT_EXTRA_FRAME_INFO with run-time test.
924
69a0d5f4
AC
9252001-11-05 Andrew Cagney <[email protected]>
926
927 * gdbarch.sh (push_return_address): Change to a function with
928 predicate.
929 * gdbarch.h, gdbarch.c: Re-generate.
930 * valops.c (hand_function_call): Replace #ifdef
931 PUSH_RETURN_ADDRESS with run-time test of PUSH_RETURN_ADDRESS_P.
932
c12260ac
CV
9332001-11-06 Corinna Vinschen <[email protected]>
934
935 * arch-utils.c (generic_in_function_epilogue_p): New function.
936 * arch-utils.h (generic_in_function_epilogue_p): Declare extern.
937 * breakpoint.c (watchpoint_check): Add test whether the pc is
938 currently in the epilogue of a function.
939 * gdbarch.c: Autogenerated from gdbarch.sh.
940 * gdbarch.h: Ditto.
941 * gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
942
c4620205
JB
9432001-11-05 Jim Blandy <[email protected]>
944
8114216b
JB
945 * config/s390/s390.mh (NATDEPFILES): Don't split this across
946 several lines with backslashes; the `sed' command in
947 configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
948 assignment doesn't handle lines extended with backslashes.
949
c4620205
JB
950 * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
951 using `+=' as well as `='.
952 * configure: Regenerated.
953
5fdff426
AC
9542001-11-05 Andrew Cagney <[email protected]>
955
956 * gdbarch.sh (init_extra_frame_info): Change to a function with
69a0d5f4 957 predicate.
5fdff426
AC
958 * gdbarch.h, gdbarch.c: Re-generate.
959 * blockframe.c (create_new_frame): Replace #ifdef
960 INIT_EXTRA_FRAME_INFO with run-time test of
961 INIT_EXTRA_FRAME_INFO_P.
962
f16a1923
AC
9632001-11-05 Andrew Cagney <[email protected]>
964
965 * gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all
966 error messages. Print in a single batch.
967 * gdbarch.c: Re-generate.
968
0fc087fe
MK
9692001-11-04 Mark Kettenis <[email protected]>
970
3fb1c838
MK
971 * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset,
972 fill_gregset): Add support for "orig_eax" register.
973
6441c4a0
MK
974 Add support for "orig_eax" pseudo register on Linux/x86.
975 * i386-linux-tdep.c: Include "inferior.h".
976 (i386_linux_register_name, i386_linux_register_byte,
977 i386_linux_register_raw_size): New functions.
978 (i386_linux_write_pc): New function.
979 * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
980 (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
981 REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
982 register.
983 (i386_linux_register_name, i386_linux_register_byte,
984 i386_linux_register_raw_size): New prototypes.
985 (TARGET_WRITE_PC): New define.
986 (i386_linux_write_pc): New prototype.
987
1a11ba71
MK
988 * i386-tdep.c (i386_register_offset): Renamed from
989 i386_register_byte. Made static.
990 (i386_register_size): Renamed from i386_register_raw_size. Made
991 static.
992 (i386_register_virtual_size): Removed.
993 (i386_register_byte, i386_register_raw_size,
994 i386_register_virtual_size): New functions.
995 (_initialize_i386_tdep): Initialize i386_register_offset instead
996 of i386_register_byte. Remove code to initialize
997 i386_register_virtual_size.
998 * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
999 i386_register_byte function.
1000 (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
1001 function.
1002 (REGISTER_VIRTUAL_SIZE): Redefine to use
1003 i386_register_virtual_size function.
1004 (i386_register_byte, i386_register_raw_size,
1005 i386_register_virtual_size): New functions.
1006
0fc087fe
MK
1007 * Makefile.in (ALLDEPFILES): Add i387-nat.c.
1008 (i387-nat.o): Add dependencies.
1009
1396e6f1
AC
10102001-11-02 Andrew Cagney <[email protected]>
1011
1012 * README: Mention problem with alpha-dec-osf5.1.
1013
5c7dd748
AC
10142001-11-02 Andrew Cagney <[email protected]>
1015
1016 * utils.c (internal_verror): Restore calls to abort().
1017 Fix PR gdb/219.
1018
3559696c
MC
10192001-11-02 Michael Chastain <[email protected]>
1020
1021 * MAINTAINERS: Update my entry.
1022
53e8ad3d
MS
10232001-11-01 Michael Snyder <[email protected]>
1024
1025 * symtab.c (operator_chars): Allow '*' and '[' to be quoted in
1026 operator names, to avoid regexp expansion.
1027 (search_symbols): Alloca buffer is too small, may get clobbered.
1028
990f9fe3
FF
10292001-11-01 Fred Fish <[email protected]>
1030
1031 * coff-solib.c (coff_solib_add): Add new readsyms arg.
1032 * irix5-nat.c (solib_add): Ditto.
1033 * osfsolib.c (solib_add): Ditto.
1034 * pa64solib.c (pa64_solib_add): Ditto.
1035 * pa64solib.c (add_to_solist): Ditto.
1036 * pa64solib.c (read_dld_descriptor): Ditto.
1037 * solib.c (solib_add): Ditto.
1038 * somsolib.c (som_solib_add): Ditto.
1039 * win32-nat.c (child_solib_add): Ditto.
1040 * xcoffsolib.c (solib_add): Ditto.
1041
1042 * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
1043 * pa64solib.c (add_to_solist): Ditto.
1044 * pa64solib.c (read_dld_descriptor): Ditto.
1045 * pa64solib.h (pa64_solib_add): Ditto.
1046 * solib.h (solib_add): Ditto.
1047 * somsolib.h (som_solib_add): Ditto.
1048 * config/i386/tm-cygwin.h (child_solib_add): Ditto.
1049
1050 * coff-solib.c (coff_solib_add): If readsyms is zero don't read
1051 symbols but do any other needed work for shared libs.
1052 * irix5-nat.c: Ditto.
1053 * osfsolib.c (solib_add): Ditto.
1054 * solib.c (solib_add): Ditto.
1055 * win32-nat.c (child_solib_add): Ditto.
1056 * xcoffsolib.c (solib_add): Ditto.
1057
1058 * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
1059 solib_add to force reading of shared library symbols.
1060 * osfsolib.c (sharedlibrary_command;): Ditto.
1061 * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
1062 * solib.c (sharedlibrary_command): Ditto.
1063 * somsolib.c (som_solib_sharedlibrary_command): Ditto.
1064 * xcoffsolib.c (sharedlibrary_command): Ditto.
1065
1066 * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
1067 unconditionally with auto_solib_add.
1068 * irix5-nat.c (solib_create_inferior_hook): Ditto.
1069 * osfsolib.c (solib_create_inferior_hook): Ditto.
1070 * solib.c (solib_create_inferior_hook): Ditto.
1071 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
1072 * solib-svr4.c (enable_break): Ditto.
1073 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
1074
1075 * corelow.c (solib_add_stub): Add auto_solib_add to args passed
1076 via SOLIB_ADD.
1077 * sol-thread.c (sol_thread_attach): Ditto.
1078 * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
1079
1080 * infcmd.c (attach_command): Remove auto_solib_add decl.
1081 Call SOLIB_ADD directly with auto_solib_add.
1082 * infrun.c (handle_inferior_event): Ditto.
1083
1084 * coff-solib.h (SOLIB_ADD): Add readsyms arg.
1085 * pa64solib.h (SOLIB_ADD): Ditto.
1086 * solib.h (SOLIB_ADD): Ditto.
1087 * somsolib.h (SOLIB_ADD): Ditto.
1088 * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
1089
1090 * fork-child.c (clone_and_follow_inferior): Remove unused
1091 auto_solib_add decl.
1092
1093 * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
1094 (read_dld_descriptor): Ditto.
1095 (pa64_solib_add): Call read_dld_descriptor with readsyms.
1096 (pa64_solib_in_dynamic_linker): Ditto.
1097
1098 * corelow.c (symfile.h): Need this for auto_solib_add declaration.
1099 * sol-thread.c (symfile.h): Ditto.
1100
1de2edba
AC
11012001-10-31 Andrew Cagney <[email protected]>
1102
1103 * s390-nat.c (s390_remove_watchpoint): Use xfree.
1104 (s390_insert_watchpoint): Use xmalloc.
1105
30b28db1
AC
11062001-10-31 Andrew Cagney <[email protected]>
1107
1108 * varobj.c: Replace value_ptr with ``struct value *''.
1109
72330bd6
AC
11102001-10-31 Andrew Cagney <[email protected]>
1111
1112 * varobj.c: Re-indent.
1113
d45fc520
AC
11142001-10-31 Andrew Cagney <[email protected]>
1115
1116 * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
1117 ``value_ptr'' with ``struct value *''.
1118 * s390-tdep.c (s390_push_arguments): Ditto.
1119
3a1c5313
AC
11202001-10-30 Andrew Cagney <[email protected]>
1121
1122 * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
1123 ``struct value *''.
1124 (struct frame_info, struct value): Add opaque declarations.
1125
68e9cc94
CV
11262001-10-31 Corinna Vinschen <[email protected]>
1127
1128 * arch-utils.c (generic_in_solib_call_trampoline): New function.
1129 * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
1130 * gdbarch.c: Regenerated from gdbarch.sh.
1131 * gdbarch.h: Ditto.
1132 * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
1133 * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
1134
60e6cc42
AC
11352001-10-31 Andrew Cagney <[email protected]>
1136
1137 From DJ Barrow.
1138 * s390-tdep.c: (s390_gdbarch_init): Don't initialize
1139 find_solib_trampoline_target.
1140
61387159
AC
11412001-10-31 Andrew Cagney <[email protected]>
1142
1143 * remote-vx.c (net_wait): Fix typo from PIDGET change.
1144
fc633446
MK
11452001-10-31 Mark Kettenis <[email protected]>
1146
1147 * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
1148 (REGISTER_NAME): New define.
1149 (i386_register_name): New prototype.
1150 * i386-tdep.c (i386_register_names): New variable.
1151 (i386_register_name): New function.
1152 * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
1153 config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
1154 REGISTER_NAMES.
1155
3f8ad85b
CF
11562001-10-31 Christopher Faylor <[email protected]>
1157
1158 * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
1159 the loaded DLL matches the on-disk case since the debugging API does
1160 not seem to ensure this. Calculate max name length here.
1161 (handle_load_dll): Move max name length calculation to
1162 register_loaded_dll.
1163
433144fb
DJ
11642001-10-31 Daniel Jacobowitz <[email protected]>
1165
1166 * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
1167
ddc54292
KS
11682001-10-30 Keith Seitz <[email protected]>
1169
1170 * wrapper.h (gdb_value_struct_elt): New function.
1171 * wrapper.c (gdb_value_struct_elt): Ditto.
1172 (do_captured_value_struct_elt): Ditto.
1173
34f47bc4
AC
11742001-10-30 Andrew Cagney <[email protected]>
1175
1176 * README, NEWS: Update for 5.1.
1177
4536bbc6
AC
11782001-10-30 Andrew Cagney <[email protected]>
1179
1180 * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
1181 -W... flags.
1182 * configure: Re-generate.
1183
c3c057c8
FF
11842001-10-30 Fred Fish <[email protected]>
1185
1186 * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
1187 * pa64solib.c (add_to_solist): Ditto.
1188 * win32-nat.c (_initialize_inftarg): Remove unnecessary
1189 initialization of auto_solib_add, it defaults to 1.
1190
b7209cb4
FF
11912001-10-27 Fred Fish <[email protected]>
1192
1193 * symfile.c (auto_solib_add): Update comment to note that
1194 this variable is now just used as a boolean to control shlib
1195 autoloading, and clarify when it is used.
1196 * symfile.h (auto_solib_add): Ditto.
1197
1198 * symfile.c (auto_solib_limit): New variable that holds the
1199 autoloading threshold instead of overloading auto_solib_add.
1200 * symfile.h (auto_solib_limit): Ditto.
1201
1202 * irix5-nat.c (_initialize_solib): Change auto-solib-add
1203 variable from var_zinteger to var_boolean and update help.
1204 * osfsolib.c (_initialize_solib): Ditto.
1205 * pa64solib.c (_initialize_pa64_solib): Ditto.
1206 * solib.c (_initialize_solib): Ditto.
1207 * somsolib.c (_initialize_som_solib): Ditto.
1208 * xcoffsolib.c (_initialize_solib): Ditto.
1209
1210 * pa64solib.c (pa64_solib_total_st_size): Update comment to
1211 note that the new auto_solib_limit variable is used instead
1212 of overloading auto_solib_add variable.
1213 (_initialize_pa64_solib): Ditto.
1214 * somsolib.c (som_solib_total_st_size): Ditto.
1215 (_initialize_som_solib): Ditto.
1216
1217 * pa64solib.c (_initialize_pa64_solib): Add new set/show
1218 commands for auto-solib-limit variable.
1219 * somsolib.c (_initialize_som_solib): Ditto
1220
1221 * pa64solib.c (add_to_solist): Check that auto_solib_add is
1222 set and use auto_solib_limit as the threshold size instead
1223 of auto_solib_add.
1224 * somsolib.c (som_solib_add): Ditto, and also change warning
1225 text about size threshold exceeded.
1226
dec66fe5
MK
12272001-10-21 Mark Kettenis <[email protected]>
1228
1229 * config/i386/tm-i386v.h: Don't include "regcache.h".
1230 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
1231 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
1232 Remove macros. The versions from "tm-i386.h" should work fine
1233 (and in most cases even better).
1234
c6ba6f0d
MK
12352001-10-30 Mark Kettenis <[email protected]>
1236
1237 * i386-tdep.c (i386_extract_return_value): Use
1238 convert_typed_floating to extract floating-point value from
1239 register buffer.
1240 (i386_store_return_value): Use convert_typed_floating to store
1241 floating-point return balue in register buffer
1242 (i386_register_virtual_type): Change type of floating-point
1243 registers to builtin_type_i387_ext.
1244 (i386_register_convert_to_virtual): Use convert_typed_floating to
1245 do the conversion.
1246 (i386_register_convert_to_raw): Likewise.
1247
43686d64
MK
12482001-10-29 Mark Kettenis <[email protected]>
1249
1250 * doublest.h (convert_typed_floating): New prototype.
1251 * doublest.c (convert_typed_floating): New function.
1252
87ffba60
MK
12532001-10-28 Mark Kettenis <[email protected]>
1254
1255 * doublest.c: Improve comments a bit.
1256 (floatformat_from_length): New function.
1257 (NAN): Define to 0.0 if not already defined.
1258 (extract_floating): Rewrite to use floatformat_from_length. Warn
1259 instead of error if LEN doesn't match a known floating-point type,
1260 and return NaN (or 0.0 if NaN isn't available) in that case.
1261 (store_floating): Likewise, but zero out the target byte-stream if
1262 LEN doesn't match a known floating-point type.
1263 (extract_typed_floating): Reformat a bit.
1264 (store_typed_floating): Reformat a bit. Add comment about zeroing
1265 out padding in the target buffer.
1266 * doublest.h (extract_floating, store_floating): Fix comment about
1267 deprecation of these functions. Add parameter names to prototypes.
1268
e371b258
MK
12692001-10-28 Mark Kettenis <[email protected]>
1270
4583280c
MK
1271 * i387-tdep.c (print_i387_value): Use extract_typed_floating to
1272 convert RAW to a DOUBLEST instead of extract_floating.
1273
e371b258
MK
1274 * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
1275 builtin_type_i387_ext to floatformat_i387_ext.
1276
17fd1ad9
DJ
12772001-10-24 Daniel Jacobowitz <[email protected]>
1278
1279 * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
1280 (fill_fpregset): Likewise.
1281
fa4e4598
OF
12822001-10-26 Orjan Friberg <[email protected]>
1283
1284 * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
1285 struct, not just the NUM_SPECREGS first entries.
1286 (bdap_prefix): Read PC before autoincrement.
1287
02cc9f49
CV
12882001-10-24 Corinna Vinschen <[email protected]>
1289
1290 * win32-nat.c (DebugSetProcessKillOnExit): New static function
1291 pointer to Windows' DebugSetProcessKillOnExit() function.
1292 (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
1293 (has_detach_ability): New function.
1294 (child_attach): If system has detach ability, enable it.
1295 (child_detach): If system has detach ability, actually
1296 detach from process.
1297 Change tty output to Linux format.
1298
3973eadd
JB
12992001-10-23 Jim Blandy <[email protected]>
1300
1301 Isolate STABS readers' use of the `textlow' and `texthigh' fields
1302 of `struct partial_symtab' to only a few locations. This change
1303 is not supposed to affect the way the values are computed, only
1304 where they live.
1305
1306 * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
1307 to the reader-specific structure.
1308 * mdebugread.c (struct symloc): Same.
1309 * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
1310 * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
1311 * dbxread.c (dbx_symfile_read): After we've built all our partial
1312 symbol tables, set each partial symtab's `textlow' and `texthigh'
1313 fields from our reader-specific structure.
1314 * mdebugread.c (mdebug_build_psymtabs): Same.
1315 * dbxread.c (start_psymtab): Initialize the reader-specific
1316 structure's `textlow' and `texthigh' from the new psymtab's.
1317 * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
1318 * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
1319 the reader-specific `textlow' and `texthigh', not the generic
1320 psymtab fields.
1321 * mdebugread.c (parse_lines, parse_partial_symbols,
1322 psymtab_to_symtab_1): Same.
1323 * partial-stab.h: Same.
1324
ce414844
AC
1325Tue Oct 23 18:59:42 2001 Andrew Cagney <[email protected]>
1326
1327 * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
1328 problems.
1329
8f236061
AC
1330Tue Oct 23 14:16:10 2001 Andrew Cagney <[email protected]>
1331
1332 * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
1333 (som_solib_desire_dynamic_linker_symbols): Compare integers with
1334 zero not NULL.
1335 * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
1336
d20bf2e8
AC
13372001-10-21 Andrew Cagney <[email protected]>
1338
1339 * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
1340 interface is always enabled.
1341
17732724
AC
13422001-10-21 Andrew Cagney <[email protected]>
1343
1344 * Makefile.in: Replace top.h with $(top_h). Replace expression.h
1345 with $(expression_h). Replace command.h with $(command_h).
1346 (language_h): Define. Replace language.h with $(language_h).
1347 Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
1348 $(varobj_h).
1349 (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
1350 (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
1351 (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
1352 (bcache_h, gdb_events_h, monitor_h): Ditto.
1353 (ser_unix_h, source_h): Ditto.
1354 (varobj_h): Update list.
1355
1356 * call-cmds.h: Add CALL_CMDS_H macro wrapper.
1357 * solist.h: Add SOLIST_H macro wrapper.
1358 * monitor.h: Add MONITOR_H macro wrapper.
1359 * typeprint.h: Add TYPEPRINT_H macro wrapper.
1360 * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
1361 * valprint.h: Add VALPRINT_H macro wrapper.
1362 * top.h: Add TOP_H macro wrapper.
1363
fd0407d6
AC
13642001-10-21 Andrew Cagney <[email protected]>
1365
1366 * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
1367 * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
1368 * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
1369 * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
1370 * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
1371 (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
1372 (x86-64-tdep.o): Update dependencies.
1373 * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
1374 * gdbarch.h, gdbarch.c: Re-generate.
1375
3c2fb7bd
MK
13762001-10-21 Mark Kettenis <[email protected]>
1377
1378 * infptrace.c (child_xfer_memory): Fix a few coding standards
1379 violations.
1380
c4282e67
EZ
13812001-10-21 Eli Zaretskii <[email protected]>
1382
1383 * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
1384
c9847381
AC
13852001-10-20 Andrew Cagney <[email protected]>
1386
75c9979e
AC
1387 * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
1388 (struct value): Add opaque declaration. Replace value_ptr with
1389 ``struct value *''.
1390 * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
1391 struct.
1392
c9847381
AC
1393 * wrapper.h (struct value): Add opaque declaration. Replace
1394 value_ptr with ``struct value *''.
1395 * wrapper.c: Replace value_ptr with ``struct value *''.
278cd55f 1396 * breakpoint.h, breakpoint.c: Ditto.
e933e538 1397 * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
c9847381 1398
f1e3ec29
AC
13992001-10-20 Andrew Cagney <[email protected]>
1400
1401 * alpha-nat.c: Include <alpha/coreregs.h> instead of
1402 <machine/reg.h>.
1403 (fetch_osf_core_registers): Define core_reg_mapping in a way that
1404 works on OSF5 as well as previous OSF versions.
1405
83413c55
CF
14062001-10-20 Christopher Faylor <[email protected]>
1407
1408 * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
1409 may not be able to read them in certain situations.
1410
457174f6
AC
14112001-10-18 Andrew Cagney <[email protected]>
1412
1413 * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
1414 * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
1415
4bb5d567
AC
14162001-10-18 Andrew Cagney <[email protected]>
1417
1418 * README: Mention problems with HP/UX.
1419
03dd37c3
AC
14202001-10-16 Andrew Cagney <[email protected]>
1421
1422 Based on code by John Moore <[email protected]>:
1423
1424 * utils.c (core_addr_to_string): New function for conversion of
1425 CORE_ADDR to string.
1426 (string_to_core_addr): New function to convert from string to
1427 CORE_ADDR.
1428 * defs.h: Added extern statements for the above.
1429
1ba7c32c
JM
14302001-10-17 Jason Molenda ([email protected])
1431
1432 * symtab.c (lookup_block_symbol): Break out of linear search
1433 if we're past the range of possible matches.
1434
7470a420
CF
14352001-10-16 Christopher Faylor <[email protected]>
1436
1437 * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
1438 load of already loaded DLL.
1439 (register_loaded_dll): Convert loaded DLL name to "posix" format or it
1440 will confuse subsequent opening of the filename due to dos paths.
1441 (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
1442
8cc1c882
EZ
14432001-10-15 Elena Zannoni <[email protected]>
1444
1445 * symtab.c (lookup_block_symbol): Update comment.
1446
1aa20aa8
AC
14472001-10-15 Andrew Cagney <[email protected]>
1448
1449 * value.h (value_as_address): Rename value_as_pointer.
1450 * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
1451 jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
1452 values.c: Update.
1453
dbbd9c57
AC
1454202001-10-15 Jim Ingham <[email protected]>
1455
1456 * valarith.c (value_sub): Don't pass a raw type to
1457 value_from_pointer, it has to go through check_typedef first.
1458
73d3c16e
AC
14592001-10-15 Andrew Cagney <[email protected]>
1460
1461 * gdbarch.sh (fallbackdefault): Set to one when predefault is
1462 empty.
1463 * gdbarch.h: Regenerate.
1464
fc0c74b1
AC
14652001-10-15 Andrew Cagney <[email protected]>
1466
1467 * mips-tdep.c (mips_integer_to_address): New function.
1468 (mips_gdbarch_init): Initialize pointer_to_address,
1469 address_to_pointer and integer_to_address.
1470
1471 * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
1472 (ADDRESS_TO_POINTER): Delete.
1473
1474 * d10v-tdep.c (d10v_integer_to_address): New function.
1475 (d10v_gdbarch_init): Initialize integer_to_address.
1476
1477 * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
1478 available.
1479
1480 * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
1481 * gdbarch.h, gdbarch.c: Regenerate.
1482
cacab7c4
MK
14832001-10-14 Mark Kettenis <[email protected]>
1484
39024782
MK
1485 * config/s390/nm-linux.h: Don't include <signal.h>.
1486 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
1487 GET_THREAD_SIGNAL): Remove.
1488
dc17571d
MK
1489 * config/nm-linux.h (struct objfile): Remove forward declaration.
1490 (linuxthreads_new_objfile): Remove prototype.
1491 (linuxthreads_pid_to_str): Remove prototype.
1492 (PREPARE_TO_PROCEED): Redefine in terms of
1493 lin_lwp_prepare_to_proceed.
1494 (struct target_waitstatus): Forward declaration.
1495 (child_wait): New prototype.
1496 (CHILD_WAIT): Define.
1497 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
1498 GET_THREAD_SIGNAL): Moved here from arch-specific files.
1499 * config/alpha/nm-linux.h, config/arm/nm-linux.h,
1500 config/ia64/nm-linux.h, config/mips/nm-linux.h,
1501 config/powerpc/nm-linux.h: Don't include <signal.h>.
1502 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
1503 GET_THREAD_SIGNAL): Remove.
1504 * config/i386/nm-linux.h: Likewise.
1505 (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
1506 * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
1507 Remove linux-thread.o. Add proc-service.o, thread-db.o and
1508 lin-lwp.o.
1509 (LOADLIBES): New variable.
1510
8e4d17db
MK
1511 * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
1512
c987d8c0
MK
1513 * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
1514
cacab7c4
MK
1515 Fix attaching to cloned processes. This fixes PR gdb/61.
1516 * lin-lwp.c (struct lwp_info): Add new member `cloned'.
1517 (is_cloned) Removed.
1518 (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
1519 waitpid explicitly. Mark the LWP as cloned if waitpid fails and
1520 retry with __WCLONE flag.
1521 (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
1522 (detach_callback): Replace use of is_cloned with explicit check on
1523 LWP id and process id.
1524 (stop_wait_callback): Replace use of is_cloned with check if LWP
1525 is marked as cloned.
1526 [CHILD_WAIT] (child_wait): New function.
1527 (lin_lwp_wait): Replace use of is_cloned with check if LWP is
1528 marked as cloned. Mark newly detected LWPs as cloned if detected
1529 by waitpid with __WCLONE flag.
1530 (kill_wait_callback): Replace use of is_cloned with check if LWP
1531 is marked as cloned.
1532 * config/i386/nm-linux.h (struct target_waitstatus): Add forward
1533 declaration.
1534 (child_wait): Add prototype.
1535 (CHILD_WAIT): Define.
1536
5769d3cd
AC
15372001-10-13 Andrew Cagney <[email protected]>
1538
1539 S/390 31 & 64 bit target and GNU/Linux native support.
1540 Contributed by D.J. Barrow <[email protected]> of IBM.
1541 * s390-nat.c, s390-tdep.c: New file.
1542 * config/s390/nm-linux.h, config/s390/s390.mh: New file.
1543 * config/s390/s390.mt, config/s390/s390x.mt: New file.
1544 * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
1545 * config/s390/xm-linux.h: New file.
1546 * NEWS: Update.
1547 * MAINTAINERS: Update.
1548
83e6b173
AC
15492001-10-13 Andrew Cagney <[email protected]>
1550
1551 From 2001-07-09 D.J. Barrow <[email protected]>:
1552 * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
1553 CALL_DUMMY_BREAKPOINT_OFFSET_P.
1554 * gdbarch.c: Regenerate.
1555
21bf60fe
MK
15562001-10-13 Mark Kettenis <[email protected]>
1557
1558 * thread-db.c: Fix a few formatting mistakes.
1559
fefd0a37
CF
15602001-10-12 Christopher Faylor <[email protected]>
1561
1562 * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
1563 list pointer to beginning rather than one beyond beginning.
1564
e88c90f2
DJ
15652001-10-12 Daniel Jacobowitz <[email protected]>
1566
1567 * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
1568
1569 * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
1570 (make_symbol_completion_list): Likewise.
1571 (make_symbol_overload_list): Likewise.
1572 * buildsym.c (finish_block): Likewise.
1573 * breakpoint.c (get_catch_sals): Likewise.
1574 * mdebugread.c (mylookup_symbol): Likewise.
1575 * objfiles.c (objfile_relocate): Likewise.
1576 * printcmd.c (print_frame_args): Likewise.
1577 * stack.c (print_block_frame_locals): Likewise.
1578 (print_block_frame_labels): Likewise.
1579 (print_frame_arg_vars): Likewise.
1580 * symmisc.c (dump_symtab): Likewise.
1581 * tracepoint.c (add_local_symbols): Likewise.
1582 (scope_info): Likewise.
1583
375f3d86
DJ
15842001-10-12 Daniel Jacobowitz <[email protected]>
1585
1586 * minsyms.c (msymbol_hash): Use better hash function.
1587 (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
1588
1589 * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
1590 binaries.
1591
55159471
DJ
15922001-10-12 Daniel Jacobowitz <[email protected]>
1593
1594 * printcmd.c (print_frame_args): Move symbol iteration explicitly
1595 inside the func != NULL block.
1596
30ef99d1
FN
15972001-10-12 Fernando Nasser <[email protected]>
1598
1599 * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
1600 maintainer.
1601
02e423b9
CF
16022001-10-12 Pierre Muller <[email protected]>
1603
d60dc82a 1604 * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
02e423b9
CF
1605 This fixes errors in "long long" handling for 'finish' and 'return'
1606 commands.
1607
16082001-10-12 Christopher Faylor <[email protected]>
1609
1610 * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
1611 library if it has already been loaded.
1612 (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
1613 any error messages.
1614 (safe_symbol_file_add): Ditto.
1615 (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
1616 it to safe_symbol_file_add.
1617 (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
1618 (child_solib_add): Ditto.
1619
1620 * win32-nat.c (handle_exception): Don't print "first chance"
1621 exceptions.
1622 (get_child_debug_event): Continue from exceptions if !handle_exception.
1623
1b15f1fa
TT
16242001-10-11 Tom Tromey <[email protected]>
1625
1626 * symtab.c (lookup_symtab): Removed.
1627 (lookup_symtab_1): Renamed to lookup_symtab.
1628
700b351b
CF
16292001-10-10 Christopher Faylor <[email protected]>
1630
1631 * win32-nat.c (get_child_debug_event): Close file handles created after
1632 process creation and DLL load.
1633 (child_create_inferior): Close unneeded process/thread handle after
1634 thread creation.
1635
4eab1e18
JB
16362001-10-10 Jim Blandy <[email protected]>
1637
1638 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
1639
4abb499e
KS
16402001-10-10 Keith Seitz <[email protected]>
1641
1642 * varobj.c (cplus_value_of_child): Deal with a failure
1643 to dereference a pointer object.
1644
8b2797db
JB
16452001-10-08 J. Brobecker <[email protected]>
1646
1647 * hpux-thread.c: rewrite find_active_thread() and find_tcb()
1648 to use ptid_t, instead of overloading the thread and the pid
1649 into the same 32-bit value. Make associated necessary adaptations.
1650 Also remove unused variable cached_active_thread.
1651
420effb8
ND
16522001-10-08 Nicholas Duffek <[email protected]>
1653
1654 * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
1655 entries.
1656
3eb970a8
MK
16572001-10-06 Mark Kettenis <[email protected]>
1658
1659 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
1660
78f49586
TT
16612001-10-04 Tom Tromey <[email protected]>
1662
1663 * main.c (enable_external_editor): Don't declare.
1664 (captured_main): Don't set enable_external_editor.
1665
ab31aa69
KB
16662001-10-02 Kevin Buettner <[email protected]>
1667
1668 * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
1669 to this list.
1670 (solib-sunos.o): Add dependencies.
1671 (solib-svr4.o): Revise dependencies.
1672 * solib-svr4.c: Remove SunOS shared library support.
1673 * solib-sunos.c: New file, created from solib-svr4.c, which still
1674 contains SunOS shared library support, but no SVR4 support.
1675
1676 * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
1677 solib-legacy.o from this list. Add solib-sunos.o.
1678 * config/i386/sun386.mt (TDEPFILES): Likewise.
1679 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
1680 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
1681 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
1682 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
1683 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
1684 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
1685
39ae698d
EZ
16862001-10-01 Elena Zannoni <[email protected]>
1687
1688 * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
1689
d5d0a62f
EZ
16902001-10-01 Elena Zannoni <[email protected]>
1691
1692 * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
1693 N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
1694 CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
1695 SET_NAMESTRING): Delete definitions.
1696 Don't include language.h any more.
1697 Don't include partial-stab.h any more.
1698 (scan_xcoff_symtab): Don't jump through hoops to reuse code in
1699 partial-stab.h, include the code directly, instead.
1700
1701 * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
1702
447aa9a6
AC
17032001-10-01 Andrew Cagney <[email protected]>
1704
1705 * infcmd.c (do_registers_info): Delete code dumping large
1706 registers. Handled by val_print.
1707
85de9627
AC
17082001-09-30 Andrew Cagney <[email protected]>
1709
1710 * gdbarch.sh (gdbarch_alloc): Name the new architecture
1711 ``current_gdbarch'' so that it, and not the identically named
1712 global is refered to by macros.
1713 * gdbarch.c: Regenerate.
1714
f3796e26
AC
17152001-09-29 Andrew Cagney <[email protected]>
1716
1717 * cli/cli-decode.c (add_set_boolean_cmd): Define.
1718 * cli/cli-decode.h (add_set_boolean_cmd): Declare.
1719 * command.h (add_set_boolean_cmd): Ditto.
1720 * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
1721 remotebreak"
1722
08e45a40
AC
17232001-09-29 Andrew Cagney <[email protected]>
1724
1725 * gdbarch.sh (gdbarch_dump): Sort output.
1726 * gdbarch.c: Regenerate.
1727
e712c1cf
AC
17282001-09-29 Andrew Cagney <[email protected]>
1729
1730 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
1731 architecture to infer the wordsize. Previous architecture may not
1732 be a PowerPC.
1733
d68f31a9
JB
17342001-09-27 J. Brobecker <[email protected]>
1735
1736 * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
1737 than a TT_PROC_STOP request to kill the inferior and its child
1738 processes. Otherwise, the inferior is not killed on HPUX 11.0.
1739 Removed the code that detaches the child processes since we just
1740 killed them.
1741
e3abfe1d
AC
17422001-09-26 Andrew Cagney <[email protected]>
1743
1744 * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
1745 variables.
1746 (serial_set_cmd, serial_show_cmd): New functions.
1747 (_initialize_serial): Add "set/show serial" command.
1748
ff1da24e
AC
17492001-09-26 Andrew Cagney <[email protected]>
1750
1751 * CONTRIBUTE: Update.
1752
e5e2b9ff
KB
17532001-09-26 Kevin Buettner <[email protected]>
1754
1755 * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
1756 argument ``gdbarch''.
1757 * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
1758 (default_svr4_fetch_link_map_offsets): Rename to
1759 legacy_fetch_link_map_offsets().
1760 (svr4_fetch_link_map_offsets): New function.
1761 (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
1762 (fetch_link_map_offsets_gdbarch_data): New static global.
1763 (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
1764 Revise to invoke set_gdbarch_data().
1765 (init_fetch_link_map_offsets): Change return type and add an
1766 argument so that it may be used as a gdbarch_data initializer.
1767 (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
1768 Use gdbarch data mechanism instead.
1769
86ed34a9 17702001-09-25 Jiri Smid <[email protected]>
c74ae012
JS
1771
1772 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
1773 (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
1774 by LINUX_SIGINFO_SIZE.
1775
4f337972
AC
17762001-09-24 Andrew Cagney <[email protected]>
1777
1778 * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
1779 variables.
1780 (maintenance_set_profile_cmd): New function.
1781 (maintenance_show_cmd, maintenance_set_cmd): New functions.
1782 (_initialize_maint_cmds): Add "maintenance set" and "maintenance
1783 show" and, commented out, "maintenance set/show profile" commands.
1784
f76febae
AC
17852001-09-24 Andrew Cagney <[email protected]>
1786
1787 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
1788 convert the pointer into a CORE_ADDRs.
1789
96d2f608
AC
17902001-09-24 Andrew Cagney <[email protected]>
1791
1792 * doublest.h (store_floating, extract_floating): Add comment
1793 indicating these functions are deprecated.
1794 (extract_typed_floating, store_typed_floating): Declare.
1795 * doublest.c: Include "gdbtypes.h".
1796 (extract_typed_floating, store_typed_floating): Define.
1797
1798 * stabsread.c (define_symbol): Use store_typed_floating.
1799 * valarith.c (value_binop): Ditto.
1800 * values.c (unpack_long): Use extract_typed_floating.
1801 (unpack_double): Ditto.
1802
7ab98e9e
OF
18032001-09-24 Orjan Friberg <[email protected]>
1804
1805 * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
1806 from correct register.
1807
1dbeeb7b
MK
18082001-09-22 Mark Kettenis <[email protected]>
1809
1810 * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
1811
c4d82c96
JS
18122001-09-21 Jiri Smid <[email protected]>
1813
1814 * config/i386/x86-64linux.mh: New file.
1815 * config/i386/x86-64linux.mt: New file.
1816 * config/i386/nm-x86_64.h: New file.
1817 * x86-64-linux-tdep.c: New file.
1818 * x86-64-linux-nat.c: New file.
1819 * x86-64-tdep.c: New file.
1820 * x86-64-tdep.h: New file.
1821 * i386-tdep.h: New file.
1822 * i387-nat.c: Include i386-tdep.h when multiarch.
1823 * i387-tdep.c: Ditto.
1824 * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
1825 and x86_64-linux-nat.c
1826 * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
1827 x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
1828
cab16195
JS
18292001-09-21 Jiri Smid <[email protected]>
1830
1831 * MAINTAINERS: Add myself to the write-after-approval list.
1832 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
1833 (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
1834 i386_insert_watchpoint, i386_remove_watchpoint): Add support for
1835 8-byte wide watchpoints.
1836 (i386_show_dr): Debug message format string change.
1837
3e9986d2
MS
18382001-09-21 Michael Snyder <[email protected]>
1839
1840 * c-exp.y (typebase): Accept (signed long long) as a type expr.
1841
56e2d25a
MS
18422001-09-20 Michael Snyder <[email protected]>
1843 Changes by Daniel Berlin <[email protected]>, to support
1844 better parsing of const and volatile type expressions.
1845 * c-exp.y (const_and_volatile, const_or_volatile_noopt,
1846 const_or_volatile): New non-terminals.
1847 (ptype): Use new rule for const_or_volatile.
1848 (typebase): Use new rule for const_or_volatile_noopt.
1849 * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
1850 * parse.c (follow_types): Handle tp_const and tp_volatile on the
1851 type stack: call make_cv_type to create new const/volatile type.
1852
1c4dcb57
KB
18532001-09-20 Kevin Buettner <[email protected]>
1854
1855 * solib-svr4.c (fetch_link_map_offsets): Add comment.
1856 (fetch_link_map_offsets_init): New static global.
1857 (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
1858 Revise implementation to use ``fetch_link_map_offsets_init''
1859 instead of ``fetch_link_map_offsets''.
1860
3a42e9d0
AM
18612001-09-20 Alan Modra <[email protected]>
1862
1863 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
1864 * dbxread.c: Likewise.
1865 * dwarf2read.c: Likewise.
1866 * dwarfread.c: Likewise.
1867 * somread.c: Likewise.
1868 * ultra3-nat.c: Likewise.
1869 * xcoffread.c: Likewise.
1870
e0441cf0
AC
18712001-09-19 Andrew Cagney <[email protected]>
1872
8535cb38
AC
1873 * cris-tdep.c (cris_get_signed_offset): Change return type to an
1874 explicitly signed char.
1875
e0441cf0
AC
1876 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
1877 function signature to match recent tracepoint.c:encode_actions
1878 changes.
1879 * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
1880
2b65245e
AC
18812001-09-18 Andrew Cagney <[email protected]>
1882
1883 * thread.c (do_captured_thread_select): Add uiout parameter.
1884 (do_captured_list_thread_ids): Ditto.
1885 * breakpoint.c (do_captured_breakpoint_query): Ditto.
1886
1887 * breakpoint.c (gdb_breakpoint_query): Update. Use
1888 catch_exceptions.
1889 * thread.c (gdb_list_thread_ids): Ditto.
1890 (gdb_thread_select): Ditto.
1891 (thread_command): Pass uiout to gdb_thread_select.
1892
1893 * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
1894 (gdb_thread_select, gdb_list_thread_ids): Ditto.
1895
2069d78d
KB
18962001-09-13 Kevin Buettner <[email protected]>
1897
1898 From Ilya Golubev <[email protected]>:
1899 * solib.c (clear_solib): Call `remove_target_sections' to fix
1900 stale pointers in `struct target_ops'.
1901 * irix5-nat.c (clear_solib): Likewise.
1902 * osfsolib.c (clear_solib): Likewise.
1903
348d75a5
JB
19042001-09-13 Jim Blandy <[email protected]>
1905
e8816aac
JB
1906 * monitor.c (monitor_load): Don't delete symtab users, or reset
1907 inferior_ptid.
1908
348d75a5
JB
1909 * monitor.c (monitor_load): Fix indentation.
1910
19112001-09-11 Jim Blandy <[email protected]>
1912
1913 * printcmd.c (print_scalar_formatted): Compare the length of the
1914 value against the lengths of the target's floating-point types,
1915 not the host's. Add support for `long double'.
1916
1917 * printcmd.c (print_scalar_formatted): Fix indentation.
1918
a5666cc9
JB
19192001-09-10 Jim Blandy <[email protected]>
1920
1921 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
1922 programs running on the board can produce output.
1923
6d6b80e5
JM
19242001-09-10 Jason Molenda ([email protected])
1925
1926 * NEWS: "ANS/ISO C" -> "ISO C".
1927 * MAINTAINERS (write-after-approval): Update my entry.
1928
7fc73f38
MK
19292001-09-08 Mark Kettenis <[email protected]>
1930
df5fdb3d
MK
1931 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
1932
4ad318e6
MK
1933 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
1934 config/m68k/xm-linux.h, config/mips/xm-linux.h,
1935 config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
1936 redundant inclusion of <unistd.h>.
1937
7fc73f38
MK
1938 * gdbtypes.h (struct block): Add forward declaration.
1939
f9c696d2
AC
19402001-09-07 Andrew Cagney <[email protected]>
1941
1942 * defs.h (enum return_reason): Renumber so that all values are
1943 negative.
1944 (RETURN_MASK): Negate reason.
1945 (catch_exception_ftype): Declare.
1946 (catch_exceptions): Declare.
1947 * top.c (catcher): New function, based on catch_errors. Add in
1948 parameter func_uiout and out parameters func_val, func_caught and
1949 func_cleanup. Change type of func to catch_exceptions_ftype.
1950 Save/restore uiout.
1951 (struct catch_errors_args): Define.
1952 (do_catch_errors): New function.
1953 (catch_errors): Rewrite, use do_catch_errors and catcher.
1954 (catch_exceptions): New function, use catcher.
1955
a2e2dd80
JB
19562001-09-07 Jim Blandy <[email protected]>
1957
1958 Correctly parse register values provided by the monitor.
1959 * rom68k-rom.c: #include "value.h".
1960 (is_hex_digit, hex_digit_value, is_whitespace,
1961 rom68k_supply_one_register): New static functions.
1962 (rom68k_supply_register): Call rom68k_supply_one_register, instead
1963 of monitor_supply_register; the latter was incorrectly parsing
1964 the values.
1965 * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
1966
93befcf3
MK
19672001-09-07 Mark Kettenis <[email protected]>
1968
1969 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
1970 to using setpgid if available now.
1971
b381d62d
KS
19722001-09-06 Keith Seitz <[email protected]>
1973
1974 From Ian Roxborough <[email protected]>
1975 * configure.in: Use ITCL_LIB_FULL_PATH and
1976 ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
1977 for gdb.
1978 * configure: Regenerated.
1979
9a058a09
KB
19802001-09-06 Kevin Buettner <[email protected]>
1981
1982 * dbxread.c (process_one_symbol): Don't use error result from
1983 find_stab_function_addr().
1984 * partial-stab.h (case 'F'): Likewise.
1985
1986 * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
1987 code match that used for case 'F'. This fixes the divergence
1988 that was introduced by my 1999-09-14 changes to partial-stab.h.
1989
2bf0cb65
EZ
19902001-09-05 Elena Zannoni <[email protected]>
1991
1992 * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
1993 in gdbarch.h.
1994 (TARGET_PRINT_INSN): Multiarch.
1995 * gdbarch.h: Regenerate.
1996 * gdbarch.c: Regenerate.
1997
1998 * arch-utils.c (legacy_print_insn): New function.
1999 * arch-utils.h (legacy_print_insn): Export.
2000
2001 * cris-tdep.c (cris_delayed_get_disassembler): Use
2002 TARGET_PRINT_INSN, instead of tm_print_insn.
2003 * d10v-tdep.c (print_insn): Ditto.
2004 * d30v-tdep.c (print_insn): Ditto.
2005 * m32r-tdep.c (dump_insn): Ditto.
2006 * v850-tdep.c (v850_scan_prologue): Ditto.
2007 * mcore-tdep.c (mcore_dump_insn): Ditto.
2008 * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2009
6369010f
JB
20102001-09-05 Jim Blandy <[email protected]>
2011
2012 * gdbtypes.h (struct type): Doc fix.
2013
d3d55eeb
EZ
20142001-09-04 Elena Zannoni <[email protected]>
2015
2016 From Daniel Jacobowitz <[email protected]>
2017 * dbxread.c (free_header_files): Make global.
2018 (init_header_files): Likewise.
2019 * stabsread.h (free_header_files): Add prototype.
2020 (init_header_files): Likewise.
2021 * mdebugread.c (mdebug_build_psymtabs): Initialize
2022 properly before using the stabs debug reader.
2023
16db6055 20242001-09-04 Elena Zannoni <[email protected]>
ef96bde8
EZ
2025
2026 From Daniel Jacobowitz <[email protected]>
2027 * dbxread.c (dbx_symfile_read): Only reinitialize
2028 the psymbol list if mainline or if both static
2029 and global lists are empty.
2030 * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
2031 * dwarfread.c (dwarf_build_psymtabs): Likewise.
2032 * xcoffread.c (xcoff_initial_scan): Likewise.
2033 * os9kread.c (os9k_symfile_read): Likewise.
16db6055 2034
ef96bde8
EZ
20352001-09-04 Elena Zannoni <[email protected]>
2036
16db6055
EZ
2037 From Daniel Jacobowitz <[email protected]>
2038 * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
2039 a name specially.
2040
f77b92bf
MK
20412001-09-01 Mark Kettenis <[email protected]>
2042
2043 Make GDB use libiberty regex implementation.
2044 * gdb_regex.h: Normalize protection against multiple inclusion.
2045 Include "xregex.h" instead of "gnu-regex.h".
2046 * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
2047 * cli/cli-decode.c: Likewise.
2048 * Makefile.in (REGEX): Remove.
2049 (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
2050 (ADD_FILES, ADD_DEPS): Remove $(REGEX).
2051 (POSSLIBS): Remove.
2052 (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
2053 (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
2054 xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
2055 gdb_regex.h in list of dependencies.
2056 (gnu-regex.o): Remove rule.
2057 * gnu-regex.c, gnu-regex.h: Remove files.
2058
a4f30b31
MS
20592001-08-31 Jason Molenda ([email protected])
2060
2061 * c-valprint.c (c_val_print): Second call to check_typedef ()
2062 is no longer necessary.
2063
902d7086
KB
20642001-08-31 Kevin Buettner <[email protected]>
2065
2066 * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
2067 terminate the prologue scan.
2068
2889e661
JB
20692001-08-30 Jim Blandy <[email protected]>
2070
9ec8e6a0
JB
2071 * symfile.c (sections_overlap): New function.
2072 (map_overlay_command): Call sections_overlap, instead of using
2073 incorrect logic to recognize overlapping sections.
2074
2889e661
JB
2075 * symfile.c (load_command): Invalidate the overlay cache.
2076
cd903d53
MK
20772001-08-30 Mark Kettenis <[email protected]>
2078
2079 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
2080
8ad2fcde
KB
20812001-08-29 Kevin Buettner <[email protected]>
2082
2083 From 2001-08-07 Daniel Jacobowitz <[email protected]>:
2084 * solib-svr4.c (enable_break): Check the inferior link map
2085 before assuming the inferior PC is at the start of the dynamic
2086 loader.
2087
e8759349
AC
20882001-08-28 Andrew Cagney <[email protected]>
2089
2090 * frame.h (struct frame_info): Fix documentation on fields
2091 saved_regs, next and prev.
2092
46711df8
MK
20932001-08-23 Mark Kettenis <[email protected]>
2094
2095 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
2096 gratuitious whitespace changes.
2097 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
2098 * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
2099 (sigsetmask) Don't define macro.
2100 (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
2101 async_stop_sig from event-top.c.
2102 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
2103 defined.
2104 * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
2105 order. Add sigsetmask.
2106 (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
2107 alphabetical order.
2108 * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
2109 config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
2110 (HAVE_SIGSETMASK): Remove.
964840f7 2111 * aclocal.m4, config.in, configure: Regenerated.
46711df8 2112
526eeb95
AC
21132001-08-26 Andrew Cagney <[email protected]>
2114
2115 From 2001-06-29 Andrew Cagney <[email protected]>:
2116 * config/powerpc/nbsd.mh (XM_FILE): Delete.
2117
c16ac28f
AC
21182001-08-21 Andrew Cagney <[email protected]>
2119
2120 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
2121 (HOST_DOUBLE_FORMAT): Delete macro.
2122
ceacb162
MK
21232001-08-24 Mark Kettenis <[email protected]>
2124
2125 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
2126 config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
2127 inclusion of <limits.h>.
2128
275f450c
AC
21292001-08-24 Andrew Cagney <[email protected]>
2130
2131 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
2132 that a register should be ignored, supply a value for the register
2133 from the raw registers[] buffer.
2134
12a498f3
AC
21352001-08-24 Andrew Cagney <[email protected]>
2136
2137 * go32-nat.c (go32_create_inferior): Use xfree instead of free.
2138 * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
2139 i386bsd-nat.c.
2140
598f52df
AC
21412001-08-21 Andrew Cagney <[email protected]>
2142
2143 * gdbtypes.h (builtin_type_ieee_single_big)
2144 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
2145 (builtin_type_ieee_double_little)
2146 (builtin_type_ieee_double_littlebyte_bigword)
2147 (builtin_type_i387_ext, builtin_type_m68881_ext)
2148 (builtin_type_i960_ext, builtin_type_m88110_ext)
2149 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
2150 (builtin_type_arm_ext_littlebyte_bigword)
2151 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
2152 (builtin_type_ia64_quad_big)
2153 (builtin_type_ia64_quad_little): Declare.
2154 * gdbtypes.c (builtin_type_ieee_single_big)
2155 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
2156 (builtin_type_ieee_double_little)
2157 (builtin_type_ieee_double_littlebyte_bigword)
2158 (builtin_type_i387_ext, builtin_type_m68881_ext)
2159 (builtin_type_i960_ext, builtin_type_m88110_ext)
2160 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
2161 (builtin_type_arm_ext_littlebyte_bigword)
2162 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
2163 (builtin_type_ia64_quad_big)
2164 (builtin_type_ia64_quad_little): Define.
2165 (_initialize_gdbtypes): Initialize builtin floatformat types.
2166
1a6fae3c
MK
21672001-08-23 Mark Kettenis <[email protected]>
2168
2169 * tracepoint.c (read_actions): Add FIXME for code depending on
2170 STOP_SIGNAL.
2171
7829b833
MH
21722001-08-23 Martin M. Hunt <[email protected]>
2173
2174 * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
2175 to download loop.
2176 (mips_load_srec): Ditto.
2177
701c159d
AC
21782001-08-22 Andrew Cagney <[email protected]>
2179
2180 * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
2181 of builtin_type_float, builtin_type_double and
2182 builtin_type_long_double.
2183 (recursive_dump_type): Print the floatformat name.
2184 * gdbtypes.h (struct type): Add type_specific field floatformat.
2185 (TYPE_FLOATFORMAT): Define
2186
99a6d8ba
KS
21872001-08-21 Keith Seitz <[email protected]>
2188
2189 * printcmd.c (print_insn): Use the given stream for
2190 output.
2191
a37b3cc0
AC
21922001-07-24 Andrew Cagney <[email protected]>
2193
2194 * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
2195 assembler version of function.
2196 (convert_from_extended, convert_to_extended): Rewrite. Use
2197 floatformat_to_doublest, floatformat_from_doublest,
2198 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
2199 (arm_push_arguments): Use extract_floating and store_floating to
2200 perform floating point conversions.
2201 (SWAP_TARGET_AND_HOST): Delete macro.
2202 * arm-linux-tdep.c (arm_linux_push_arguments): Use
2203 extract_floating and store_floating to perform floating point
2204 conversions.
2205
1c72f9b0
AC
22062001-08-20 Andrew Cagney <[email protected]>
2207
2208 * gdbtypes.h (struct type): Clarify meaning of field ``length''.
2209
705da579
KS
22102001-08-17 Keith Seitz <[email protected]>
2211
2212 * varobj.c (varobj_update): Change first parameter to
2213 pointer to struct varobj*. This function can delete
2214 varobjs, so we need to give callers the new varobj
2215 when this happens.
2216 (value_of_root): Update "var", too, if "var_handle"
2217 changes.
2218 * varobj.h (varobj_update): Likewise.
2219
2bf63d86
KS
22202001-08-17 Keith Seitz <[email protected]>
2221
2222 * Makefile.in (varobj_h): Define.
2223 (mi-cmd-var.o): Depends on varobj_h.
2224 (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
2225
d1c3b63a
KS
22262001-08-16 Keith Seitz <[email protected]>
2227
2228 * configure.in (GDBTK_SRC_DIR): We must have autoconf
2229 give us the absolute path to the source directory.
2230 * configure: Regenerated.
2231 * Makefile.in (GDBTK_SRC_DIR): Add variable so that
2232 autoconf can substitue it in for us.
2233 (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
2234 really do need an absolute pathname.
2235
f0b743a9
KS
22362001-08-15 Keith Seitz <[email protected]>
2237
2238 * Makefile.in (GDBTK_VERSION): Set a version number.
2239 (GDBTK_LIBRARY): New variable to point to location where
2240 gdbtk will install its tcl library. Changed all refereneces
2241 to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
2242 (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
2243 (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
2244 (all-gdbtk): Remove.
2245 (install-gdbtk): Remove.
2246 (gdbtk.o): Pass srcdir to file when compiling.
2247
22482001-08-15 Ian Roxborough <[email protected]>
2249
2250 * Makefile.in: Changed all references to the install directory
2251 "gdbtcl" to read "insight1.0".
2252
bdcd319a
CV
22532001-08-15 Corinna Vinschen <[email protected]>
2254
2255 * arch-utils.c (generic_skip_trampoline_code): New function.
2256 * arch-utils.h (generic_skip_trampoline_code): Declare external.
2257 * gdbarch.c: Regeberated from gdbarch.sh.
2258 * gdbarch.h: Ditto.
2259 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
2260 * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
2261
40b3352b
L
22622001-08-14 Daniel Jacobowitz <[email protected]>
2263 H.J. Lu ([email protected])
2264
2265 * partial-stab.h: valu should be a CORE_ADDR.
2266
22672001-08-14 H.J. Lu ([email protected])
2268
2269 * dbxread.c (SWAP_SYMBOL): Removed.
2270 (INTERNALIZE_SYMBOL): Check sign extended vma.
2271
ae9d9b96
CF
22722001-08-13 Christopher Faylor <[email protected]>
2273
2274 * top.c (SIGSETJMP): Protect env argument with parentheses.
2275 (SIGLONGJMP): Protect env argument with parentheses.
2276
6ca173e3
AC
22772001-08-11 Andrew Cagney <[email protected]>
2278
2279 * config/mn10300/mn10300.mt (TM_FILE): Delete.
2280 * configure.tgt: Add mn10300 to list of mulit-arch targets.
2281 * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
2282 * mn10300-tdep.c: To here.
2283
5ea92dfe
AC
22842001-08-11 Andrew Cagney <[email protected]>
2285
2286 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
2287 val a DOUBLEST. Use floatformat_to_doublest.
2288 (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
2289 * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
2290 (REGISTER_CONVERT_TO_RAW): Ditto.
2291
a15525c1
AC
22922001-08-11 Andrew Cagney <[email protected]>
2293
2294 * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
2295 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
2296 sp_regnum.
2297
c422e771
AC
22982001-08-11 Andrew Cagney <[email protected]>
2299
2300 * doublest.c (convert_doublest_to_floatformat): Rename
2301 floatformat_from_doublest. Make static.
2302 (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
2303 Make static.
2304 (floatformat_to_doublest): New function.
2305 (floatformat_from_doublest): New function.
2306 (host_float_format, host_double_format, host_long_double_format):
2307 New static variables.
2308 (store_floating, extract_floating): Always use
2309 floatformat_to_doublest and floatformat_from_doublest.
2310 * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
2311
f096a152
AC
23122001-08-11 Andrew Cagney <[email protected]>
2313
2314 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
2315 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
2316
39d4ef09
AC
23172001-08-07 Andrew Cagney <[email protected]>
2318
2319 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
2320 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
2321 * gdbarch.h, gdbarch.c: Regenerate.
2322
2323 * arch-utils.h (legacy_virtual_frame_pointer): Declare.
2324 * arch-utils.c: Include "gdb_assert.h".
2325 (legacy_virtual_frame_pointer): Define.
2326 * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
2327
2328 * tracepoint.c (encode_actions): Make frame_reg an int. Make
2329 frame_offset a LONGEST.
2330 * ax-gdb.c (gen_frame_args_address): Ditto.
2331 (gen_frame_locals_address): Ditto.
2332 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
2333 virtual_frame_pointer.
2334 (mn10300_virtual_frame_pointer): Make static. Update parameter
2335 list to match function signature.
2336 * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
2337
67c2c32c
KS
23382001-08-10 Keith Seitz <[email protected]>
2339
2340 * gdb-events.sh: Add architecture_changed event.
2341 * gdbarch.sh: Include gdb-event.h.
2342 (gdbarch_update_p): Notify UIs when architecture changes.
2343 * gdb-events.h: Regenerated.
2344 * gdb-events.c: Regenerated.
2345 * gdbarch.c: Regenerated.
2346
1297a2f0
MS
23472001-08-10 Michael Snyder <[email protected]>
2348
2349 * regcache.c (legacy_write_register_gen): Don't 'optimize out'
2350 a write_register to a pseudo-reg. Target_store_pseudo_register
2351 needs to get called, because these regs may be computed and may
2352 have side-effects.
2353
fd969be2
KS
23542001-08-10 Keith Seitz <[email protected]>
2355
2356 * gdb-events.sh: Deal with event notifications with no
2357 arguments.
2358
fb6e5c55
OF
23592001-08-10 Orjan Friberg <[email protected]>
2360
2361 * remote.c (read_frame): Correct off-by-one error in condition.
2362
a1bab801
DH
23632001-08-08 Don Howard <[email protected]>
2364
2365 * stabsread.c (read_type): Add support for const and volatile
2366 modifiers.
2367
455ecc72
DJ
23682001-08-02 Daniel Jacobowitz <[email protected]>
2369
2370 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
2371 and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
2372
a5cedf2f
KS
23732001-08-02 Keith Seitz <[email protected]>
2374
2375 * defs.h (SLASH_STRING): If not defined, set
2376 to "/", regardless of _WIN32, __CYGWIN__, or
2377 whatnot.
2378
d7275149
MK
23792001-08-02 Mark Kettenis <[email protected]>
2380
cc6dd2c0
MK
2381 * cli/cli-decode.h: Include "gdb_regex.h" instead of
2382 "gnu-regex.h".
2383
d7275149
MK
2384 * NEWS: Update.
2385
40cd916f
EZ
23862001-08-02 Eli Zaretskii <[email protected]>
2387
2388 * config/i386/xm-go32.h: Include xm-i386.h.
2389 (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
2390
b5de0fa7
EZ
23912001-08-02 Eli Zaretskii <[email protected]>
2392
2393 The following changes avoid polluting global namespace with the
2394 `enable' and `disable' identifiers, because some platforms define
2395 in their system headers symbols with global scope that go by those
2396 names.
2397
2398 * breakpoint.h (enum enable_state): Rename from `enum enable'.
2399 Also rename all the enum members to have the "bp_" prefix.
2400 (struct breakpoint): Rename the `enable' member to `enable_state'.
2401 (enum bpdisp): Rename all members to have the "disp_" prefix.
2402
2403 * breakpoint.c: All users of `enum enable' and `enum bpdisp'
2404 changed.
2405 (args_for_catchpoint_enable): Rename the `enable' member to
2406 `enable_p'. All users changed.
2407
2408 * tracepoint.h (enum enable): Remove.
2409 (struct tracepoint): The member `enabled' is now `int enabled_p'.
2410
2411 * tracepoint.c: All users of the `enabled' member changed.
2412
2413 * printcmd.c (struct display): The `status' member is now an int.
2414
2415 * memattr.h (struct mem_region): Rename the `status' member to
2416 `enabled_p'.
2417 (enum enable): Remove.
2418
2419 * memattr.c: Change all users of the `status' member of struct
2420 mem_region to use `enabled_p' instead.
2421
2422 * infcmd.c (run_stack_dummy): Use disp_del instead of del.
2423
2424 * go32-nat.c: Remove the kludgey work-around for conflicts between
2425 <dos.h> and "breakpoint.h".
2426
ad4571f3
CV
24272001-08-02 Corinna Vinschen <[email protected]>
2428
2429 * MAINTAINERS: Add myself to the write-after-approval list.
2430 * ser-tcp.c (tcp_open): Use `localhost' as default host if no
2431 hostname is given.
2432
64f6fcad
AC
24332001-08-01 Andrew Cagney <[email protected]>
2434
2435 * doublest.h (store_floating, floatformat_to_doublest): Make IN
2436 paramter a const void pointer.
2437 (floatformat_from_doublest): Make IN const, Make OUT a void
2438 pointer.
2439 * doublest.c (floatformat_to_doublest): Update.
2440 (floatformat_from_doublest): Update.
2441 (extract_floating): Update.
2442
d16aafd8
AC
24432001-07-31 Andrew Cagney <[email protected]>
2444
2445 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
2446 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
2447 (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
2448 (floatformat_to_doublest, floatformat_from_doublest)
2449 (floatformat_is_negative, floatformat_is_nan)
2450 (floatformat_mantissa, store_floating)
2451 (extract_floating): Move declaration from here.
2452 * doublest.h: To here. New file.
2453 * utils.c (get_field, floatformat_to_doublest, put_field)
2454 (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
2455 (floatformat_is_nan, floatformat_mantissa)
2456 (FLOATFORMAT_CHAR_BIT): Move from here.
2457 * doublest.c: To here. New file.
2458 * findvar.c (store_floating, extract_floating): Move from here.
2459 * doublest.c: To here.
2460 * Makefile.in (SFILES): Add doublest.c.
2461 (COMMON_OBS): Add doublest.o.
2462 (doublest.o): Specify dependencies.
2463 (doublest_h): Define.
2464
2465 * config/m88k/tm-m88k.h: Include "doublest.h".
2466 * config/i960/tm-i960.h: Ditto.
2467 * config/i386/tm-symmetry.h: Ditto.
2468 * rs6000-tdep.c, valarith.c: Ditto.
2469 * valprint.c, stabsread.c, sh-tdep.c: Ditto.
2470 * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
2471 * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
2472 * alpha-tdep.c, ax.h, expression.h: Ditto.
2473 * sh-tdep.c, parse.c, top.c, value.h: Ditto.
2474
2475 * Makefile.in (arm-tdep.o): Add $(doublest_h).
2476 (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
2477 (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
2478 (values.o, valprint.o, arm-linux-tdep.o): Ditto.
2479 (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
2480 (parser_defs_h): Ditto.
2481 (expression_h): Add $(doublest_h) and $(symtab_h).
2482
1b0cad1c
AC
24832001-08-01 Andrew Cagney <[email protected]>
2484
2485 * Makefile.in: Sort header definitions.
2486 (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
2487 Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
2488 and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
2489 $(annotate_h). Replace target.h with $(target_h). Replace
2490 gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
2491
1ca66634
MK
24922001-07-31 Mark Kettenis <[email protected]>
2493
2494 * config/i386/xm-i386.h: New file.
2495 * config/i386/xm-fbsd.h: Removed.
2496 * config/i386/xm-linux.h: Removed.
2497 * config/i386/fbsd.mh: Reorganize a bit.
2498 (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
2499 * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
2500 xm-linux.h.
2501
9e84cbde
JB
25022001-07-30 Jim Blandy <[email protected]>
2503
2504 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
2505
72473524
DJ
25062001-07-27 Daniel Jacobowitz <[email protected]>
2507
2508 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
2509 Check for SETPGRP_VOID separately if cross-compiling and ISO C
2510 headers are available.
2511
8d7f6b4a
MK
25122001-07-30 Mark Kettenis <[email protected]>
2513
4b418e06
MK
2514 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
2515 i386_dwarf_reg_to_regnum.
2516
8d7f6b4a
MK
2517 * i386-tdep.c (i386_register_convert_to_virtual): Replace
2518 assertion with a warning if we're asked to convert towards a
2519 non-floating-point type. Zero out the the buffer where the data
2520 is supposed to be stored in that case.
2521
6c56c069
EZ
25222001-07-29 Eli Zaretskii <[email protected]>
2523
f959bc41
EZ
2524 * config/djgpp/djconfig.sh: Unset CDPATH.
2525
a3b9cbb3
EZ
2526 * go32-nat.c (get_cr3): Temporary disable support for page tables
2527 in UMBs, as it is incomplete.
2528
6c56c069
EZ
2529 Support for stepping through longjmp in DJGPP programs:
2530
2531 * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
2532 (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
2533 (get_longjmp_target): Add prototype.
2534
de6ee558
AC
25352001-07-28 Andrew Cagney <[email protected]>
2536
2537 Fix some PID/TPID fallout for HP/UX.
2538 From 2001-07-22 Rodney Brown <[email protected]>:
2539 * infttrace.c (ptrace_wait): Match external declaration,
2540 and match target_post_wait declaration.
2541
93755ae6
AC
25422001-07-28 Andrew Cagney <[email protected]>
2543
2544 * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
158ff1e6 2545 (cris): Set --enable-gdb-build-warnings flag to -w.
93755ae6 2546
16f769f3
AC
25472001-07-28 Andrew Cagney <[email protected]>
2548
2549 From 2001-07-23 Andreas Schwab <[email protected]>:
2550 * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
2551 (TARGET_LONG_DOUBLE_BIT): Define.
2552 (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
2553 (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
2554 (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
2555 floating point registers.
2556 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
2557 (REGISTER_CONVERT_TO_RAW): Remove.
2558 * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
2559
5b7f31a4
AC
25602001-07-26 Andrew Cagney <[email protected]>
2561
2562 * thread.c, breakpoint.c: Include "gdb.h".
2563 * Makefile.in (gdb_h): Define.
2564 (HFILES_NO_SRCDIR): Add gdb.h.
2565 (mi-cmd-break.o, mi-main.o, thread.o)
2566 (breakpoint.o): Add dependency on $(gdb_h).
2567
2568 * defs.h (enum gdb_rc, gdb_breakpoint_query)
2569 (gdb_breakpoint, gdb_thread_select)
2570 (gdb_list_thread_ids): Move declaration from here ...
2571 * gdb.h: To here. New file.
2572
8aaf581c
SC
25732001-07-28 Stephane Carrez <[email protected]>
2574
2575 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
2576 (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
2577 (SFILES): Likewise.
2578 (tui-out.o): Define dependencies.
2579 (tui-hooks.o): Likewise.
2580
f9e2d830
AC
25812001-07-28 Andrew Cagney <[email protected]>
2582
2583 * MAINTAINERS: Update e-mail address of active @cygnus.com
2584 maintainers to @redhat.com.
2585
de6ed73f
AC
25862001-07-28 Andrew Cagney <[email protected]>
2587
2588 * README (Known bugs): Delete section.
2589 (Kernel debugging): Delete section.
2590 (Languages other than C): Delete section.
2591 (Host/target specific installation notes) New section.
2592
3d261580
MK
25932001-07-28 Mark Kettenis <[email protected]>
2594
85540d8c
MK
2595 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
2596 DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
2597 (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
2598 prototypes.
2599 * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
2600 config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
2601 i386_dwarf_reg_to_regnum.
2602 * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
2603 New functions.
2604
3d261580
MK
2605 * i386-tdep.c: Include "gdb_assert.h"
2606 (i386_register_convert_to_virtual): Fix such that it can handle
2607 conversion to any floating-point type. Assert that we are dealing
2608 with a floating-point first.
2609 (i386_register_convert_to_raw): Assert that TYPE is a
2610 floating-point type with length 12.
2611
2db5ca22
JM
26122001-07-27 John R. Moore <[email protected]>
2613
2614 * configure.in: Added dependency of gdb on tcl/tk libraries.
2615 * Makefile.in: Likewise.
2616 * configure: Regenerated with the above using autoconf.
2617
88e04cc1
EZ
26182001-07-26 Elena Zannoni <[email protected]>
2619
2620 * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
2621 NUM_REGS.
2622 (SH_DEFAULT_NUM_REGS): Define.
2623
2033c18a
EZ
26242001-07-26 Eli Zaretskii <[email protected]>
2625
2626 * go32-nat.c (read_memory_region): Make sure the segment limit was
2627 indeed set, to work around a Windows 2000 bug.
2628
9f30d7f5
DJ
26292001-07-25 Daniel Jacobowitz <[email protected]>
2630
2631 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
2632 * infttrace.c (child_xfer_memory): Likewise.
2633 * symm-nat.c (child_xfer_memory): Likewise.
2634 * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
2635 (write_inferior_memory): Likewise.
2636 * gdbserver/low-linux.c (read_inferior_memory): Likewise.
2637 (write_inferior_memory): Likewise.
2638 * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
2639 (write_inferior_memory): Likewise.
2640 * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
2641 (write_inferior_memory): Likewise.
2642 * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
2643 (write_inferior_memory): Likewise.
2644 * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
2645 (write_inferior_memory): Likewise.
2646
e23194cb
EZ
26472001-07-25 Eli Zaretskii <[email protected]>
2648
966beb0f
EZ
2649 * README: Mention how to make gdb.pdf.
2650
e23194cb
EZ
2651 * NEWS: Update.
2652
7c542009
SS
26532001-07-24 Stephen P. Smith <[email protected]>
2654
a3f3e535
SS
2655 * MAINTAINERS (Stephen P. Smith): Added to write after approval
2656 list.
2657
675fb869
AC
26582001-07-23 Andrew Cagney <[email protected]>
2659
2660 * mips-tdep.c (mips_push_arguments): Add comment explaining
2661 problem with LE o32 GCC.
2662
a7019e23
EZ
26632001-07-23 Elena Zannoni <[email protected]>
2664
2665 * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
2666 doesn't understand them.
2667
ab35b611
EZ
26682001-07-23 Elena Zannoni <[email protected]>
2669
2670 * memattr.c (mem_info_command): Reformat output to look more like
2671 'info break' output.
2672 (_initialize_mem): Improve help.
2673
0200359f
MK
26742001-07-23 Mark Kettenis <[email protected]>
2675
2676 * configure.in (AC_CHECK_FUNCS): Add setpggrp.
2677 (AC_FUNC_SETPGRP): Add.
2678 * aclocal.m4, configure, config.in: Regenerated.
2679 * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
2680 SETPGRP_ARGS. Always use setpgid if it is available, fall back on
2681 setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
2682 distinguish between the two setpgrp flavours.
2683 * config/xm-sysv4.h, config/arm/xm-linux.h,
2684 config/i386/xm-i386aix.h, config/i386/xm-sco.h,
2685 config/i386/xm-linux.h, config/i386/xm-ptx.h,
2686 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
2687 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
2688 config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
2689 * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2690
9f20bf26
EZ
26912001-07-23 Eli Zaretskii <[email protected]>
2692
2693 * go32-nat.c (read_memory_region): Set the granularity bit of the
2694 allocated segment according to its size, and adjust the limit to
2695 be page-aligned if the segment is page-granular.
2696
2697 * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
2698 (display_page_table, go32_pte, go32_pte_for_address): New functions.
2699 (_initialize_go32_nat): Initialize and document them.
2700
383d750b
MK
27012001-07-22 Mark Kettenis <[email protected]>
2702
2703 * i386gnu-nat.c: Include "i387-nat.h".
2704 (struct env387): Removed.
2705 (reg_offset): Fix comment.
2706 (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
2707 FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
2708 use i387_supply_fsave.
2709 (gnu_fetch_registers): Remove spurious whitespace.
2710 (convert_to_env387): Remove.
2711 (store_fpregs): Add argument regno. Use i387_fill_fsave instead
2712 of convert_to_env387.
2713 (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
2714 store_fpregs.
2715 * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
2716 * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
2717 (NATDEPFILES): Add i387-nat.o.
2718
1a12f22f
SC
27192001-07-22 Stephane Carrez <[email protected]>
2720
2721 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
2722 (m68hc11-tdep.o): Define dependencies.
2723
7d32ba20
SC
27242001-07-22 Stephane Carrez <[email protected]>
2725
2726 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
2727
5ecb1806
SC
27282001-07-21 Stephane Carrez <[email protected]>
2729
2730 * utils.c (init_page_info): Use tui_get_command_dimension.
2731 * printcmd.c (disassemble_command): Simplify tui specific code,
2732 use tui_is_window_visible, tui_show_assembly.
2733
25630444
MK
27342001-07-21 Mark Kettenis <[email protected]>
2735
2736 * i386bsd-nat.c: Do not include <sys/sysctl.h>.
2737 (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
2738 code to ...
2739 * i386fbsd-nat.c: ... here. New file.
2740 * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
2741 * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
2742 * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
2743 (i386fbsd-nat.o): Add dependencies.
2744
0150732f
DJ
27452001-07-19 Daniel Jacobowitz <[email protected]>
2746
2747 * signals.c: New file.
2748 * Makefile.in: Add signals.o.
2749 * target.c (struct signals, target_signal_to_name)
2750 (target_signal_from_name, target_signal_from_host)
2751 (do_target_signal_to_host, target_signal_to_host_p)
2752 (target_signal_to_host, target_signal_from_command): Move to
2753 signals.c.
2754 (initialize_targets): Move check of struct signals to...
2755 * signals.c (_initialize_signals): Here.
2756
e36118e7
AC
27572001-07-19 Andrew Cagney <[email protected]>
2758
2759 * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
2760
b4fc7a30
AC
27612001-07-19 Andrew Cagney <[email protected]>
2762
2763 From Stephen Smith:
2764 * configure.tgt (i*86-*-pe*): New target.
2765
4b048bc0
AC
27662001-07-19 Andrew Cagney <[email protected]>
2767
2768 From 2001-07-16 Rodney Brown <[email protected]>:
2769 * infttrace.c (child_thread_alive): Fix gdb_tid typo.
2770 * somsolib.c (no_shared_libraries): Provide stub.
2771 * xcoffsolib.c (no_shared_libraries): Provide stub.
2772
227288a0
SC
27732001-07-18 Stephane Carrez <[email protected]>
2774
2775 * Makefile.in (COMMON_OBS): Remove tui-file.o.
2776 (SUBDIR_TUI_OBS): Add it here.
2777 (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
2778 (main.o): Remove dependency with tui-file.h.
2779
f9eb4b01
EZ
27802001-07-17 Elena Zannoni <[email protected]>
2781
2782 * Makefile.in (tui-file.o): Update dependencies.
2783
d0c8cdfb
EZ
27842001-07-17 Elena Zannoni <[email protected]>
2785
2786 * top.c (catch_errors): Convert PTR to void * in parameters list.
2787 (quit_cover): Ditto.
2788
063190b6
SC
27892001-07-17 Stephane Carrez <[email protected]>
2790
2791 * source.c (find_source_lines): Remove tui test, must be replaced
2792 by appropriate warning hook.
2793 (print_source_lines): Remove tui hacks, must be replaced by cli.
2794 (forward_search_command): Remove tui hacks, can be replaced by
2795 appropriate calls to identify_source_line when tui scrolls.
2796 (reverse_search_command): Likewise.
2797
cf759d3b
ND
27982001-07-16 Nick Duffek <[email protected]>
2799
2800 * remote.c (init_remote_ops, init_remote_cisco_ops,
2801 init_remote_async_ops): Set to_pid_to_str and
2802 to_extra_thread_info correctly and in the same order as declared
2803 in target.h.
2804
0caabb7e
AC
28052001-07-16 Andrew Cagney <[email protected]>
2806
2807 * remote.c: Revert below. Included more than intended.
2808
943b3971
ND
28092001-07-16 Nick Duffek <[email protected]>
2810
2811 * remote.c (init_remote_ops, init_remote_cisco_ops,
2812 init_remote_async_ops): Set to_pid_to_str and
2813 to_extra_thread_info correctly and in the same order as declared
2814 in target.h.
2815
9ed10b08
ND
28162001-07-16 Nick Duffek <[email protected]>
2817
2818 * findvar.c (read_var_value): Apply value_as_pointer() to
2819 addresses retrieved from the target for LOC_BASEREG and
2820 LOC_BASEREG_ARG variables.
2821
24be5c34
OF
28222001-07-16 Orjan Friberg <[email protected]>
2823
2824 * NEWS: New target CRIS.
2825
314b6fb7
EZ
28262001-07-16 Elena Zannoni <[email protected]>
2827
2828 * top.c (show_commands): Remove extern decl of history_get, it's
2829 already in readline/history.h.
2830
210661e7
EZ
28312001-07-16 Elena Zannoni <[email protected]>
2832
2833 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
2834 execute_user_command, do_setshow_command, get_prompt, init_proc,
2835 serial_log_command): Remove extern declarations. Include
2836 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
2837 * gdbcmd.h (execute_user_command): Remove declaration, it's already
2838 in cli/cli-script.h.
2839 * command.h (do_setshow_command): Remove declaration, it's already
2840 in cli/cli-setshow.h.
2841 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
2842 * Makefile.in (infrun.o): Update dependencies.
2843 (top.o): Ditto.
2844 * cli/cli-setshow.h: Add comment for do_setshow_command.
2845
2584159e
EZ
28462001-07-16 Eli Zaretskii <[email protected]>
2847
2848 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
2849 call to chdir on this symbol rather than on __DJGPP__.
2850 (CANT_FORK) [__MSDOS__]: Move from here...
2851 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
2852 (GLOBAL_CURDIR) [__MSDOS__]: Define.
2853
cf54db79
OF
28542001-07-16 Orjan Friberg <[email protected]>
2855
2856 * configure.tgt: Recognise the CRIS architecture.
2857 * config/cris/cris.mt: New file for CRIS target.
2858 * cris-tdep.c: New file for CRIS target.
2859
64cdedad
EZ
28602001-07-15 Elena Zannoni <[email protected]>
2861
2862 * top.c (quit_cover, float_handler): Move definition up before use.
2863 (gdb_init): Move to end of file, to avoid calls to not yet defined
2864 functions.
2865 Delete prototypes.
2866
2cd58942
AC
28672001-07-14 Andrew Cagney <[email protected]>
2868
2869 * serial.h (SERIAL_ASYNC): Delete.
2870 (DEPRECATED_SERIAL_FD): Delete.
2871 (SERIAL_DEBUG): Delete.
2872 (SERIAL_DEBUG_P): Delete.
2873 (SERIAL_DRAIN_OUTPUT): Delete.
2874 (SERIAL_FLUSH_OUTPUT): Delete.
2875 (SERIAL_FLUSH_INPUT): Delete.
2876 (SERIAL_SEND_BREAK): Delete.
2877 (SERIAL_RAW): Delete.
2878 (SERIAL_GET_TTY_STATE): Delete.
2879 (SERIAL_SET_TTY_STATE): Delete.
2880 (SERIAL_PRINT_TTY_STATE): Delete.
2881 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
2882 (SERIAL_SETBAUDRATE): Delete.
2883 (SERIAL_SETSTOPBITS): Delete.
2884 (SERIAL_CAN_ASYNC_P): Delete.
2885 (SERIAL_IS_ASYNC_P): Delete.
2886 (SERIAL_UN_FDOPEN): Delete.
2887 (SERIAL_READCHAR): Delete.
2888 (SERIAL_CLOSE): Delete.
2889 (SERIAL_FDOPEN): Delete.
2890 (SERIAL_OPEN): Delete.
2891 * ser-unix.c: Update.
2892 * sparclet-rom.c: Update.
2893 * remote-bug.c: Update.
2894 * dsrec.c: Update.
2895 * xmodem.c: Update.
2896 * nindy-share/ttyflush.c: Update.
2897 * nindy-share/Onindy.c: Update.
2898 * utils.c: Update.
2899 * serial.c: Update.
2900 * remote-nindy.c: Update.
2901 * inflow.c: Update.
2902 * sparcl-tdep.c: Update.
2903 * sh3-rom.c: Update.
2904 * remote.c: Update.
2905 * remote-utils.c: Update.
2906 * remote-st.c: Update.
2907 * remote-sds.c: Update.
2908 * remote-rdp.c: Update.
2909 * remote-os9k.c: Update.
2910 * remote-nrom.c: Update.
2911 * remote-mips.c: Update.
2912 * remote-es.c: Update.
2913 * remote-e7000.c: Update.
2914 * remote-array.c: Update.
2915 * ocd.c: Update.
2916 * nindy-share/nindy.c: Update.
2917 * monitor.c: Update.
2918
ea7c478f
AC
29192001-07-14 Andrew Cagney <[email protected]>
2920
2921 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
2922 * mcore-tdep.c: Ditto.
2923 * sparc-tdep.c: Ditto.
2924 * sh-tdep.c: Ditto.
2925 * rs6000-tdep.c: Ditto.
2926 * ppc-linux-tdep.c: Ditto.
2927 * m68hc11-tdep.c: Ditto.
2928 * ia64-tdep.c: Ditto.
2929 * i386-tdep.c: Ditto.
2930 * arm-linux-tdep.c: Ditto.
2931 * hppa-tdep.c: Ditto.
2932 * h8500-tdep.c: Ditto.
2933 * fr30-tdep.c: Ditto.
2934 * arm-tdep.c: Ditto.
2935 * alpha-tdep.c: Ditto.
2936 * d30v-tdep.c: Ditto.
2937 * d10v-tdep.c: Ditto.
2938 * m32r-tdep.c: Ditto.
2939 * mips-tdep.c: Ditto.
2940 * v850-tdep.c: Ditto.
2941
d75b5104
EZ
29422001-07-15 Elena Zannoni <[email protected]>
2943
2944 * top.c (readline_line_completion_function, noop_completer): Move
2945 from here...
2946 * completer.c (readline_line_completion_function, noop_completer):
2947 ...to here.
2948 * gdbcmd.h (readline_line_completion_function, noop_completer):
2949 Move declarations from here...
2950 * completer.h (readline_line_completion_function, noop_completer):
2951 ...to here.
2952 * corefile.c: Include completer.h.
2953 * source.c: Ditto.
2954 * symfile.c: Ditto.
2955 * Makefile.in: Update dependencies.
2956
150985e3
EZ
29572001-07-15 Eli Zaretskii <[email protected]>
2958
2959 * go32-nat.c (go32_create_inferior): Support command lines longer
2960 than 126 characters.
2961
def90278
SC
29622001-07-14 Stephane Carrez <[email protected]>
2963
2964 * NEWS: New target 68HC11/68HC12.
2965
37767e42
SC
29662001-07-14 Stephane Carrez <[email protected]>
2967
2968 * utils.c (query): Remove tui hacks; tui must use the query_hook.
2969 * top.c (command_loop): Remove tui insert_mode hacks; don't call
2970 tuiCleanUp because this must be made with atexit by tui.
2971 * symfile.c (symbol_file_command): Remove call to TUIDO
2972 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
2973 not necessary when using the selected frame hooks.
2974 (print_stack_frame_stub): Likewise.
2975 (print_frame_info_base): Likewise.
2976 (print_frame_info): Likewise.
2977 (up_silently_command): Likewise.
2978 (down_silently_command): Likewise.
2979 (show_stack_frame): Likewise for TUIDO.
2980 (select_frame): Likewise.
2981 (select_and_print_frame): Likewise.
2982 (stack_publish_stopped_with_no_frame): Remove.
2983 (select_and_maybe_print_frame): Remove.
2984 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
2985 must use the initialize ui hook.
2986 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
2987 selected frame hooks.
2988 * event-top.c (command_handler): Remove tui insert_mode hack.
2989 * defs.h: Remove TUIDO; Only include tui.h.
2990 * breakpoint.c (mention): Remove calls to TUIDO.
2991 (delete_breakpoint): Remove tui hacks; tui must install
2992 the breakpoint hooks.
2993
0123ceaf
MK
29942001-07-14 Mark Kettenis <[email protected]>
2995
1fe7ac85
MK
2996 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
2997 * config/i386/nm-linux.h: ...to here. Change comments about user
2998 area/struct a bit.
2999
d0f3ce3c
MK
3000 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
3001
0123ceaf
MK
3002 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
3003 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
3004
4902674b
EZ
30052001-07-13 Elena Zannoni <[email protected]>
3006
3007 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
3008 generate an internal error.
3009 (e7000_fetch_registers): Initialize variable 'wanted'.
3010 (e7000_wait): Initialize variable 'wanted_nopc'.
3011 (e7000_store_register): Fix sprintf compiler warnings.
3012 (sub2_from_pc): Ditto.
3013 (e7000_open): Close the descriptor, not the name.
3014 (e7000_load): Fix compiler warnings.
3015 (sub2_from_pc): Ditto.
3016 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
3017
b7247919
MK
30182001-07-13 Mark Kettenis <[email protected]>
3019
3020 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
3021 <sys/sysctl.h>.
3022 (store_inferior_registers): Wrap long line.
3023 (i386bsd_dr_get_status): Fix typo in comment.
3024 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
3025 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
3026 (i386bsd_in_sigtramp): New prototype.
3027 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
3028 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
3029 (external) variables.
3030 (SIGCONTEXT_PC_OFFSET): Removed.
3031 (FRAME_SAVED_PC): New define.
3032 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
3033 (TDEPFILES): Add i386bsd-tdep.o.
3034
d1bacddc
DJ
30352001-07-12 Daniel Jacobowitz <[email protected]>
3036
3037 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
3038 definition.
3039
9a973a8f
MK
30402001-07-13 Mark Kettenis <[email protected]>
3041
3042 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
3043 are no registered LWPs yet.
3044
6ef7fa21
DJ
30452001-07-12 Daniel Jacobowitz <[email protected]>
3046
3047 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
3048 function.
3049 (CANNOT_STORE_REGISTER): Likewise.
3050
75e266ac
KS
30512001-07-12 Keith Seitz <[email protected]>
3052
3053 * remote-rdp.c: Include "serial.h"
3054
d0608e50
DJ
30552001-07-12 Daniel Jacobowitz <[email protected]>
3056
3057 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
3058 in HAVE_TERMIO/HAVE_TERMIOS cases.
3059
1e4fac59
MK
30602001-07-12 Mark Kettenis <[email protected]>
3061
de4ca854
MK
3062 * lin-lwp.c (stop_wait_callback): Add support for flushing
3063 signals. Use that in favour of the old code to get rid of
3064 superfluous SIGINTs.
3065 (lin_lwp_wait): Use the new support in stop_wait_callback to
3066 flush all but one SIGINT.
3067
635b0cc1
MK
3068 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
3069 to comment.
3070 (i386_store_return_value): Improve comments about storing
3071 floating-point return values.
3072
1e4fac59
MK
3073 * config/arm/xm-linux.h, config/i386/xm-linux.h,
3074 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
3075 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
3076 Removed. Taken care of by autoconf and terminal.h.
3077
49e790b0
DJ
30782001-07-12 Daniel Jacobowitz <[email protected]>
3079
3080 * mips-tdep.c (mips_type_needs_double_align): New function.
3081 (mips_push_arguments): Align o32 structs to even argument
3082 registers if necessary.
3083
e7df8212
DJ
30842001-07-11 Daniel Jacobowitz <[email protected]>
3085
3086 * config/djgpp/fnchange.lst: Add entries for
3087 mips-linux-nat.c and mips-linux-tdep.c.
3088
2b2d558c
MK
30892001-07-12 Mark Kettenis <[email protected]>
3090
9e158af1
MK
3091 * config/powerpc/xm-linux.h: Fix corrupted file.
3092
2b2d558c
MK
3093 * configure.in: Add check for sigsetjmp.
3094 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
3095 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
3096 * configure, config.in: Regenerated.
3097
3bbfbb92
EZ
30982001-07-11 Elena Zannoni <[email protected]>
3099
3100 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
3101 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
3102 PR_REGNUM fields.
3103
3104 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
3105 skip_prologue_hard_way().
3106 (skip_prologue_hard_way): Make it a function pointer.
3107 (sh_print_register): Use function pointer do_pseudo_register,
3108 instead of sh_do_pseudo_register.
3109 (sh_do_registers_info): Ditto.
3110 (sh_gdbarch_init): Initialize do_pseudo_register.
3111 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
3112 (skip_prologue_hard_way): Update.
3113 (sh_gdbarch_init): Move setting of frame_chain,
3114 get_saved_register, init_extra_frame_info, push_arguments,
3115 extract_return_value, pop_frame, store_struct_return,
3116 extract_struct_value_address, use_struct_convention,
3117 init_extra_frame_info to before target specific settings.
3118 (sh_gdbarch_init): Initialize new tdep fields
3119 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
3120 PR_REGNUM.
3121 (sh_push_arguments): Use new gdbarch_tdep fields
3122 {ARG0,ARGLAST}_REGNUM.
3123 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
3124 sh_init_extra_frame_info, sh_push_return_address,
3125 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
3126 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
3127 gdbarch_tdep->PR_REGNUM.
3128 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
3129
e64c0717
DJ
31302001-07-11 Daniel Jacobowitz <[email protected]>
3131
3132 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
3133 from it. Move definitions of REALTIME_LO and REALTIME_HI above
3134 include.
3135
6c8e04b5
DJ
31362001-07-11 Daniel Jacobowitz <[email protected]>
3137
3138 * MAINTAINERS: List myself for MIPS/Linux
3139 port.
3140
94dfea5d
DJ
31412001-07-11 Daniel Jacobowitz <[email protected]>
3142
3143 * gdbserver/remote-utils.c (remote_open): Only
3144 check for F_SETOWN if we had F_SETFL and FASYNC.
3145
f175af98
DJ
31462001-07-11 Daniel Jacobowitz <[email protected]>
3147
3148 From Michael Fedrowitz <[email protected]>:
3149
3150 * config/m68k/linux.mh: Remove core-regset.o.
3151 * m68klinux-nat.c: Fix comment.
3152 (supply_gregset): Change argument to elf_gregset_t *.
3153 (supply_fpregset): Change argument to elf_fpregset_t *.
3154 (fetch_core_registers): New function.
3155 (linux_elf_core_fns): Define.
3156 (_initialize_m68k_linux_nat): New function.
3157
21624696
AC
31582001-07-11 Andrew Cagney <[email protected]>
3159
3160 * configure.tgt: Mark d10v as pure multi-arch.
3161 * config/d10v/tm-d10v.h: Delete file.
3162 * config/d10v/d10v.mt (TM_FILE): Delete.
3163
819cc324
AC
31642001-07-10 Andrew Cagney <[email protected]>
3165
3166 * serial.h (typedef serial_t): Delete. Replace all references to
3167 serial_t with `struct serial *'.
3168 * serial.c: Update.
3169 * nindy-share/ttyflush.c: Update.
3170 * nindy-share/ttyflush.c: Update.
3171 * nindy-share/Onindy.c: Update.
3172 * nindy-share/nindy.c: Update.
3173 * remote-rdp.c: Update.
3174 * remote-sds.c: Update.
3175 * remote-st.c: Update.
3176 * remote-nindy.c: Update.
3177 * remote-mips.c: Update.
3178 * remote-e7000.c: Update.
3179 * remote-os9k.c: Update.
3180 * remote-nrom.c: Update.
3181 * remote-es.c: Update.
3182 * remote-array.c: Update.
3183 * ocd.c: Update.
3184 * mon960-rom.c: Update.
3185 * dsrec.c: Update.
3186 * inflow.c: Update.
3187 * ser-e7kpc.c: Update.
3188 * sparclet-rom.c: Update.
3189 * srec.h: Update.
3190 * ser-tcp.c: Update.
3191 * ser-go32.c: Update.
3192 * sparcl-tdep.c: Update.
3193 * w89k-rom.c: Update.
3194 * utils.c: Update.
3195 * sh3-rom.c: Update.
3196 * remote.c: Update.
3197 * ser-pipe.c: Update.
3198 * ser-unix.c: Update.
3199 * ser-unix.h: Update.
3200 * xmodem.c: Update.
3201 * xmodem.h: Update.
3202
30120c46
AC
32032001-07-11 J.T. Conklin <[email protected]>
3204
3205 From Greg McGary <[email protected]>:
cf30a8e1
C
3206 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
3207 of SIGIO.
3208 (input_interrupt): Don't block on read, in case we got redundant
3209 SIGIO. Don't gripe about redundant SIGIO.
3210 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
3211 handler while waiting.
3212 * gdbserver/low-linux.c (mywait): Likewise.
3213 * gdbserver/low-nbsd.c (mywait): Likewise.
3214 * gdbserver/low-sparc.c (mywait): Likewise.
3215
84c6c83c
KS
32162001-07-11 Keith Seitz <[email protected]>
3217
3218 * infrun.c (print_stop_reason): Add missing uiout field
3219 "reason" for SIGNAL_RECEIVED case.
3220
e6da861e
MK
32212001-07-11 Mark Kettenis <[email protected]>
3222
82de0203
MK
3223 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
3224 Remove unused macro's.
3225
e6da861e
MK
3226 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
3227 used.
3228
d8c852a1
EZ
32292001-07-11 Eli Zaretskii <[email protected]>
3230
3231 * go32-nat.c (info_dos_cmdlist): New variable.
3232 (go32_info_dos_command): New function.
3233 (_initialize_go32_nat): Convert all DOS-specific commands into
3234 subcommands of "info dos". Suggested by Andrew Cagney
3235 <[email protected]>.
3236
f8d13125
MK
32372001-07-11 Mark Kettenis <[email protected]>
3238
11d18042
MK
3239 * config/nm-linux.h: Fix comments.
3240
936742ab
MK
3241 * thread-db.c (enable_thread_event_reporting): Correct warning
3242 message about getting thread death breakpoint.
3243 Reported by John S Kallal <[email protected]>.
3244
ccb945b8
MK
3245 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
3246 (i386_store_return_value): Frob FPU status and tag word to make
3247 sure the return value is the only value on the FPU stack.
3248
f8d13125
MK
3249 * config/tm-linux.h: Do not include <signal.h>. Instead provide
3250 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
3251 already defined.
3252 * config/nm-linux.h: Include <signal.h>.
3253 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
3254 (__SIGRTMAX + 1) respectively.
3255
56ff796a
AC
32562001-07-10 Andrew Cagney <[email protected]>
3257
3258 * mcore-rom.c: Include "serial.h".
3259 * Makefile.in (mcore-rom.o): Depends on "serial.h".
3260
899ff3a2
AC
32612001-07-10 Andrew Cagney <[email protected]>
3262
3263 * Makefile.in (remote-bug.o): Depends on serial.h.
3264 * remote-bug.c: Include "serial.h".
3265 * MAINTAINERS: Mark m88k target as buildable.
3266 * TODO: Update.
3267
2bf1f4a1
JB
32682001-07-10 Jim Blandy <[email protected]>
3269
75af7f68
JB
3270 Clean up the D10V port so that GDB and the target program no
3271 longer disagree on how big pointers are.
3272 * findvar.c (value_from_register): Remove special case code for D10V.
3273 * printcmd.c (print_frame_args): Same.
3274 * valops.c (value_at, value_fetch_lazy): Same.
3275 * values.c (unpack_long): Same.
3276 * gdbarch.sh: Changes to effect the following:
3277 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
3278 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
3279 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
3280 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
3281 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
3282 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
3283 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
3284 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
3285 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
3286 gdbarch_d10v_convert_daddr_to_raw_ftype,
3287 gdbarch_d10v_convert_daddr_to_raw,
3288 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
3289 gdbarch_d10v_convert_iaddr_to_raw_ftype,
3290 gdbarch_d10v_convert_iaddr_to_raw,
3291 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
3292 * gdbarch.c: Delete the corresponding definitions.
3293 (struct gdbarch): Delete members d10v_make_daddr,
3294 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
3295 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
3296 (startup_gdbarch): Remove initializers for the above.
3297 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
3298 more.
3299 * d10v-tdep.c (d10v_register_virtual_type): Rather that
3300 claiming the stack pointer and PC are 32 bits long (which they
3301 aren't), say that the stack pointer is an int16_t, and the
3302 program counter is a function pointer. This allows the rest
3303 of GDB to make the appropriate conversions between the code
3304 pointer format and real addresses.
3305 (d10v_register_convertible, d10v_register_convert_to_virtual,
3306 d10v_register_convert_to_raw): Delete function; no registers
3307 are convertible now, so we use
3308 generic_register_convertible_not instead.
3309 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
3310 methods.
3311 (d10v_push_arguments, d10v_extract_return_value): Remove special
3312 cases for code and data pointers.
3313 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
3314 the target agree on how large pointers are. Say that addresses
3315 are 32 bits long. Register the address_to_pointer and
3316 pointer_to_address conversion functions. Since no registers are
3317 convertible now, register generic_register_convertible_not as the
3318 gdbarch_register_convertible method instead of
3319 d10v_register_convertible. Remove registrations for
3320 d10v_register_convert_to_virtual,
3321 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
3322 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
3323 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
3324 gdbarch_d10v_convert_iaddr_to_raw.
3325
ef166cf4
JB
3326 * printcmd.c (print_scalar_formatted): If we are printing an
3327 address, remember that TARGET_ADDR_BIT is not always equal to
3328 TARGET_PTR_BIT.
3329
2bf1f4a1
JB
3330 * valops.c (value_cast): When casting a pointer to an integer,
3331 don't convert it to an address.
3332
ba3a8523
AC
33332001-07-10 Andrew Cagney <[email protected]>
3334
3335 * remote-utils.h (struct serial): Declare as opaque. Remove
3336 include of "serial.h".
3337 * Makefile.in (remote_utils_h): Update.
3338
3339 * monitor.h (struct serial): Declare as opaque. Remove include of
3340 "serial.h".
3341 (struct monitor_ops): Replace serial_t with `struct serial *'.
3342 * monitor.c (monitor_desc): Ditto.
3343
2aa830e4
DJ
33442001-07-10 Daniel Jacobowitz <[email protected]>
3345
3346 * mips-linux-tdep.c: New file.
3347 * mips-linux-nat.c: New file.
3348 * config/mips/linux.mh: New file.
3349 * config/mips/linux.mt: New file.
3350 * config/mips/xm-linux.h: New file.
3351 * config/mips/nm-linux.h: New file.
3352 * config/mips/tm-linux.h: New file.
3353 * configure.host: Recognize mips*-*-linux*.
3354 * configure.tgt: Likewise.
3355 * NEWS: Mention mips*-*-linux* port.
3356
65e2f740
AC
33572001-07-09 Andrew Cagney <[email protected]>
3358
3359 * serial.h (struct serial): Rename `struct _serial_t'.
3360 * serial.c (XMALLOC): Define.
3361 (serial_open): Update. Use XMALLOC.
3362 (serial_fdopen): Ditto.
3363
090a2205
AC
33642001-07-07 Andrew Cagney <[email protected]>
3365
3366 * gdbtypes.h (builtin_type_void_data_ptr): Rename
3367 builtin_type_ptr.
3368 * gdbtypes.c (builtin_type_void_data_ptr): Update.
3369 (build_gdbtypes): Update.
3370 (_initialize_gdbtypes): Update.
3371 * values.c (value_as_pointer): Update.
3372 * utils.c (host_pointer_to_address): Update.
3373 (address_to_host_pointer): Update.
3374
8059d5aa
AC
33752001-07-08 Andrew Cagney <[email protected]>
3376
3377 * remote-udi.c (udi_wait): Make type, instead of name, of first
3378 parameter a ptid_t.
3379
cc61049c
AC
33802001-07-07 Andrew Cagney <[email protected]>
3381
3382 * ser-mac.c: Make obsolete.
3383 * Makefile.in (ser-mac.o): Ditto.
3384
10ba702d
EZ
33852001-07-08 Eli Zaretskii <[email protected]>
3386
3387 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
3388 (read_memory_region, get_descriptor, display_descriptor)
3389 (go32_sldt, go32_sgdt, go32_sidt): New functions.
3390 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
3391 away `disable' from dos.h, since breakpoint.h defines an enum
3392 member of the same name, and GCC 2.7.2 barfs.
3393 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
3394 dos-gdt, and dos-idt, all of them in the "info" class
3395
44312dba
KB
33962001-07-07 Kevin Buettner <[email protected]>
3397
3398 * procfs.c (create_procinfo): Allocate space for saved_entryset
3399 and saved_exitset.
3400 (destroy_one_procinfo): Free space allocated to saved_entryset
3401 and saved_exitset.
3402
5329c756
AC
34032001-07-07 Andrew Cagney <[email protected]>
3404
3405 * TODO (5.1): Update.
3406
51cc5b07
AC
34072001-07-07 Andrew Cagney <[email protected]>
3408
3409 * symtab.c (main_name): New function.
3410 (set_main_name): New function.
3411 * symtab.h: Declare.
3412 * TODO: Update
3413
3414 From 2000-03-05 Anthony Green <[email protected]>:
3415 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
3416 setting main_name.
3417 * blockframe.c (inside_main_func): Use main_name instead of
3418 "main".
3419 * symtab.c (find_main_psymtab): Ditto.
3420 * source.c (select_source_symtab): Ditto.
3421 * nlmread.c (nlm_symfile_read): Ditto.
3422 * rs6000-tdep.c (skip_prologue): Ditto.
3423
56ddd993
AC
34242001-07-07 Andrew Cagney <[email protected]>
3425
3426 * TODO: Convert most items into PRs.
3427
58eeadba
MK
34282001-07-07 Mark Kettenis <[email protected]>
3429
3430 * lin-lwp.c (status_to_str): New function.
3431 (lin_lwp_wait): Use it to print debug messages where appropriate.
3432
7f1659e6
MC
34332001-07-06 Michael Chastain <[email protected]>
3434
3435 * i387-tdep.c (print_i387_value): Fix pointer glitch.
3436
00d4fce6
MK
34372001-07-07 Mark Kettenis <[email protected]>
3438
3439 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
3440 commented with "paranoia" into gdb_assert.
3441 (select_event_lwp_callback): Likewise.
3442 (cancel_breakpoints_callback): Bail out early if LP is the event
3443 LWP. Add comment about backup up breakpoints. Fix formatting and
3444 debug message.
3445 (select_event_lwp): Make solely repsonsible for switching event
3446 LWP. Fix formatting and remove bogus "ERROR" debug message.
3447 Don't backup breakpoints from here.
3448 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
3449 handle that. Only call select_event_lwp if we're not waiting for
3450 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
3451
7de45904
MS
34522001-07-06 Michael Snyder <[email protected]>
3453
3454 * procfs.c (procfs_resume): Silence noisy warning.
3455
b1aeb4c5
MS
34562001-06-12 Michael Snyder <[email protected]>
3457
3458 * lin-lwp.c: Prevent thread starvation by using a monte carlo
3459 method to choose which of several event threads to handle next.
3460
3461 (stop_wait_callback): Defer pushback of breakpoint events until
3462 later; add SIGTRAP events to the queue of unhandled events.
3463 Keep calling waitpid until SIGSTOP retrieved. If more than one
3464 non-SIGSTOP event is retrieved, push them back onto the process
3465 queue using kill.
3466 (count_events_callback, select_singlestep_lwp_callback,
3467 select_event_lwp_callback, cancel_breakpoints_callback,
3468 select_event_lwp): New functions. Implement monte carlo method
3469 for selecting which of several SIGTRAP threads to handle next.
3470 Push back the breakpoint event for all threads other than the
3471 selected one.
3472 (lin_lwp_wait): Call select_event_lwp to decide which of several
3473 sigtrapped lwps to handle next.
3474 (resume_callback): Disable code that attempts to handle
3475 step_resume breakpoints. Let core gdb handle this.
3476
ee3a7b7f
JB
34772001-07-06 Jim Blandy <[email protected]>
3478
3479 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
3480 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
3481 (build_gdbtypes): Initialize it.
3482 (_initialize_gdbtypes): Swap it.
3483
e135b889 34842001-07-04 Daniel Jacobowitz <[email protected]>
ee3a7b7f 3485
e135b889
DJ
3486 * mips-tdep.c (mips32_op): Correct offset.
3487 (itype_op): Likewise.
3488 (itype_rs): Fix formatting.
3489 (itype_immediate): Fix formatting.
3490 (jtype_op): Correct offset.
3491 (jtype_target): Fix formatting.
3492 (rtype_op): Correct offset.
3493 (rtype_rs): Fix formatting.
3494 (rtype_rt): Likewise.
3495 (rtype_rd): Likewise.
3496 (rtype_shamt): Likewise.
3497 (rtype_funct): Likewise.
3498
3499 (mips32_next_pc): Fix formatting and comments. Recognize
3500 coprocessor 1 branches. Check the correct field for BLT family
3501 branches. Use itype_rt instead of itype_rs for the second register
3502 of a BNE or BNEL branch. Move (unreachable) default case.
3503
9dc5e2a9
AC
35042001-07-04 Andrew Cagney <[email protected]>
3505
3506 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
3507 (ui_out_is_mi_like_p): Declare.
3508 * ui-out.c (ui_out_is_mi_like_p): Define.
3509 (default_ui_out_impl): Initialize is_mi_like_p to zero.
3510 * cli-out.c (cli_ui_out_impl): Ditto.
3511 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
3512 (watchpoint_check, print_one_breakpoint, mention): Ditto.
3513 * infrun.c (print_stop_reason, normal_stop): Ditto.
3514
9022177c
DJ
35152001-07-05 Daniel Jacobowitz <[email protected]>
3516
3517 * mips-tdep.c (mips_software_single_step): New function.
3518 * config/mips/tm-mips.h: Add prototype for
3519 mips_software_single_step.
3520
2ac44c70
DJ
35212001-07-05 Daniel Jacobowitz <[email protected]>
3522
3523 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
3524 of greg_t.
3525 (fill_gregset): Likewise.
3526
bdda63b0
AC
35272001-07-05 Andrew Cagney <[email protected]>
3528
3529 * objfiles.c (open_mapped_file): Use lbasename instead of
3530 basename.
3531
af703f96
JB
35322001-07-05 Jim Blandy <[email protected]>
3533
7b570125
JB
3534 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
3535 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
3536 d10v_write_sp, d10v_write_fp, d10v_read_fp,
3537 d10v_push_return_address): Call the functions d10v_make_daddr,
3538 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
3539 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
3540 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
3541 D10V_CONVERT_DADDR_TO_RAW.
3542
af703f96
JB
3543 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
3544
e087d0d6
MK
35452001-07-05 Mark Kettenis <[email protected]>
3546
3547 * config/i386/xm-go32.h (HOST_I386): Removed.
3548 * config/i386/xm-linux.h (HOST_I386): Removed.
3549
c96646d0
MK
35502001-07-04 Mark Kettenis <[email protected]>
3551
3552 * i387-tdep.c (print_i387_value): Add extra space after final full
3553 stop in comment.
3554
af6c57ea
AC
35552001-07-04 Andrew Cagney <[email protected]>
3556
3557 * TODO (5.1): Update. Doco changes committed.
3558
9da8e4f8
AC
35592001-06-29 Andrew Cagney <[email protected]>
3560
3561 * config/arm/tm-arm.h: Include "floatformat.h".
3562
d0df8472
AC
35632001-06-29 Andrew Cagney <[email protected]>
3564
3565 * i387-tdep.c: Include "gdb_assert.h".
3566 (print_i387_value): Use extract_floating to extract the FP value
3567 from a zero padded local buffer.
3568
291903b1
AC
35692001-06-28 Andrew Cagney <[email protected]>
3570
3571 * TODO: Delete all thread items. The thread code was overhauled.
3572
80629b1b
EZ
35732001-07-04 Elena Zannoni <[email protected]>
3574
2ed3d0b5
EZ
3575 * memattr.c (create_mem_region): Move n to next memory region,
3576 to avoid infinite loop.
3577
80629b1b
EZ
3578 * memattr.h: Add copyright statement.
3579 * memattr.c: Ditto.
3580
2541c7cf
JB
35812001-07-04 Jim Blandy <[email protected]>
3582
0b010bcc
JB
3583 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
3584 (read_partial_die): Delete fourth argument; we return this info in
3585 the struct partial_die_info object itself now.
3586 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
3587 has_pc_info field of the partial die struct, rather than passing a
3588 variable by reference to read_partial_die.
3589
2541c7cf 3590 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 3591 code in loop condition.
2541c7cf 3592
5d12882f
MS
35932001-07-03 Michael Snyder <[email protected]>
3594
3595 * thread_db (find_new_threads_callback, thread_db_thread_alive,
3596 attach_thread): Update comments.
3597
00783ba9
MS
35982001-06-29 Ken Whaley <[email protected]>
3599
3600 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
3601 to TD_THR_UNKNOWN when looking for defunct zombie threads.
3602 (thread_db_thread_alive): Ditto.
3603 (find_new_threads_callback): Ditto.
3604
f7856c8f 36052001-07-02 Daniel Jacobowitz <[email protected]>
2740bf6c
DJ
3606
3607 * MAINTAINERS: Add myself to the write-after-approval list.
3608
36092001-07-02 Daniel Jacobowitz <[email protected]>
3610
f7856c8f
DJ
3611 * solib-svr4.c: Include "elf/mips.h".
3612 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
3613
f9aca02d
JB
36142001-07-02 Jim Blandy <[email protected]>
3615
3616 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
3617 dump_die_list, store_in_ref_table, follow_die_ref): Make these
3618 static; they're private functions.
3619
42a076f0
EZ
36202001-07-01 Mark Elbrecht <[email protected]>
3621
3622 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
3623
77467810
EZ
36242001-06-28 Elena Zannoni <[email protected]>
3625
3626 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
3627
85593179
AC
36282001-06-29 Andrew Cagney <[email protected]>
3629
3630 * config/djgpp/fnchange.lst: Sort.
3631
cde2d0fb
AC
36322001-06-28 Andrew Cagney <[email protected]>
3633
3634 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
3635 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
3636
37965979
AJ
36372001-06-29 Andreas Jaeger <[email protected]>
3638
3639 * MAINTAINERS: Add myself to the write-after-approval list.
3640
a1337894
AC
36412001-06-28 Andrew Cagney <[email protected]>
3642
3643 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
3644 (get_hex_word): Don't use HOST_BYTE_ORDER.
3645 (array_fetch_registers): Add variable ``reg''. Use
3646 store_unsigned_integer to byte-swap the register. Delete unused
3647 local ``regs''.
3648
aa8aac68
AC
36492001-06-28 Andrew Cagney <[email protected]>
3650
3651 * MAINTAINERS: Add Per Bothner to Java maintainers.
3652
a8016339
AC
36532001-06-28 Andrew Cagney <[email protected]>
3654
3655 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
3656 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
3657 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
3658 * TODO: Update.
3659 * MAINTAINERS: Update. arm-elf builds.
3660
f5e1cf12
JB
36612001-06-28 Jim Blandy <[email protected]>
3662
bf93dfed
JB
3663 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
3664
3665 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
3666 d10v_breakpoint_from_pc, d10v_register_byte,
3667 d10v_register_raw_size, d10v_register_virtual_size,
3668 d10v_register_virtual_type, d10v_register_convertible,
3669 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
3670 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
3671 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
3672 d10v_store_struct_return, d10v_store_return_value,
3673 d10v_extract_struct_value_address, d10v_frame_saved_pc,
3674 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
3675 d10v_frame_chain, d10v_frame_init_saved_regs,
3676 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
3677 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
3678 d10v_push_return_address, d10v_push_arguments,
3679 d10v_extract_return_value): Make these functions static.
3680
100a02e1
AC
36812001-06-28 Andrew Cagney <[email protected]>
3682
3683 From Fernando Nasser:
3684 * infrun.c (handle_inferior_event): Handle "nexti" inside function
3685 prologues.
3686
80b34fab
MS
36872001-06-28 Michael Snyder <[email protected]>
3688
3689 * infrun.c (handle_inferior_event): Replace prev_pc test in all
3690 calls to bpstat_stop_status (removed in 1999-09-24). This test
3691 helps distinguish stepping over a breakpoint trap from stepping
3692 thru a jump to the instruction after a breakpoint trap.
3693 (handle_inferior_event): Don't bother writing the PC if
3694 DECR_PC_AFTER_BREAK is zero (optimization).
3695 * breakpoint.c (bpstat_stop_status): Add comment explaining the
3696 purpose and usage of the "not_a_breakpoint" argument in computing
3697 the breakpoint address.
3698
1456ad8e
AC
36992001-06-28 Andrew Cagney <[email protected]>
3700
3701 From 2000-12-03 Stephane Carrez <[email protected]>:
3702 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
3703 (setreg_resp_delim_pattern): Likewise.
3704 (setmem_resp_delim_fastmap): New buffer.
3705 (setreg_resp_delim_fastmap): Likewise.
3706 (monitor_open): Initialize above regexp if they are defined.
3707 (monitor_write_memory): Use regexp to check the result of write.
3708 (monitor_store_register): Likewise to check result of register set.
3709
399371f6
AC
37102001-06-28 Andrew Cagney <[email protected]>
3711
3712 From 2000-06-14 John Marshall <[email protected]>:
3713 * coff-solib.c: Include symfile.h and objfiles.h to make
3714 OBJF_SHARED visible.
3715
b0e2e90a
AC
37162001-06-28 Andrew Cagney <[email protected]>
3717
3718 * configure.in (--enable-gdbmi): Enable by default.
3719 * configure: Regenerate.
3720 * TODO: Update.
3721 * NEWS: Update
3722
ad98fdaf
JB
37232001-06-28 Joel Brobecker <[email protected]>
3724
3725 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
3726 explaining the consequences of always returning zero. No code
3727 change.
3728
49dd83ba
AC
37292001-06-28 Andrew Cagney <[email protected]>
3730
3731 From 2001-06-08 Daniel Jacobowitz <[email protected]>:
3732 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
3733 to TARGET_SIGNAL_REALTIME_127.
3734 * target.c (struct signals): Add SIG63 to SIG127.
3735 (target_signal_from_host): Handle up to 127 signals.
3736 (do_target_signal_to_host): Likewise.
3737
29372230
AC
37382001-06-27 Andrew Cagney <[email protected]>
3739
3740 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
3741 from possibly unsigned char.
3742
a196c81c
AC
37432001-06-27 Andrew Cagney <[email protected]>
3744
3745 * ser-ocd.c: Delete file.
3746 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
3747 (ser-ocd.o): Delete target.
3748 * TODO: Update.
3749 * NEWS: Update.
3750
e7745bde
AC
37512001-06-27 Andrew Cagney <[email protected]>
3752
3753 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 3754 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 3755
d7faa9e7
AC
37562001-06-26 Andrew Cagney <[email protected]>
3757
3758 * breakpoint.c (breakpoint_1): Always output the breakpoint
3759 headings. Leave it to ui-out to decide which
3760
68c81b54
AC
37612001-06-25 Andrew Cagney <[email protected]>
3762
3763 * stack.c (print_frame): For ui_out, output a list of arguments.
3764
834091c8
KB
37652001-06-25 Kevin Buettner <[email protected]>
3766
3767 * MAINTAINERS (paper trail): Update.
3768
ef5cf84e
MS
37692001-06-25 Michael Snyder <[email protected]>
3770
3771 * infrun.c: Eliminate the "thread_step_needed" state variable,
3772 and replace it with a relatively simple test in resume.
3773 (resume): Replace thread_step_needed logic with a test for
3774 stepping, breakpoint_here_p and breakpoints_inserted.
3775 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
3776 (proceed): Discard thread_step_needed logic.
3777 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
3778 Discard thread_step_needed logic.
3779
cb90e81a
FN
37802001-06-24 Fernando Nasser <[email protected]>
3781
3782 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
3783 * rdi-share/host.h: Add missing parenthesis in conditional.
3784
39812ceb
C
37852001-06-22 J.T. Conklin <[email protected]>
3786
3787 * configure.in: include nlist.h when checking for member som_addr
3788 in struct so_map.
3789 * configure: regenerate.
3790
8d2139f3
KS
37912001-06-21 Keith Seitz <[email protected]>
3792
3793 * cli-out.c (cli_out_new): Initialize new structure member
3794 "suppress_output".
3795
b25959ec
AC
37962001-06-20 Andrew Cagney <[email protected]>
3797
3798 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
3799 (table_header_ftype): Ditto.
3800 * cli-out.c (cli_table_header): Update.
3801 * ui-out.c (ui_out_table_header): Update.
3802 (uo_table_header): Update.
3803 (default_table_header): Update.
3804 (append_header_to_list): Update.
3805 (struct ui_out_header): Add field ``col_name''.
3806 (append_header_to_list): Use xstrdup. Initialize col_name.
3807 * breakpoint.c (breakpoint_1): Pass COL_NAME to
3808 ui_out_table_header.
3809
698384cd
AC
38102001-06-19 Andrew Cagney <[email protected]>
3811
3812 * cli-out.c: Include "gdb_assert.h'.
3813 (struct ui_out_data): Add field ``suppress_output.
3814 (cli_table_begin): When NR_ROWS is zero, suppress_output.
3815 (cli_table_end): Clear suppress_output.
3816 (cli_table_body): Check suppress_output.
3817 (cli_table_header, cli_begin): Ditto.
3818 (cli_end, cli_field_int, cli_field_skip): Ditto.
3819 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
3820 (cli_text, cli_message, cli_wrap_hint): Ditto.
3821 * breakpoint.c (breakpoint_1): Close the ui_out table before
3822 printing the breakpoint not found message.
3823
d63f1d40
AC
38242001-06-18 Andrew Cagney <[email protected]>
3825
3826 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
3827 (default_table_begin): Ditto.
3828 (uo_table_begin): Ditto.
3829 * cli-out.c (cli_table_begin): Ditto.
3830 * ui-out.h (ui_out_table_begin): Update
3831 (table_begin_ftype): Update.
3832 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
3833 ui_out_table_begin.
3834
7f3b0473
AC
38352001-06-16 Andrew Cagney <[email protected]>
3836
3837 * breakpoint.c (breakpoint_1): Restructure. Compute the
3838 nr_printable_breakpoints. Move the header output to before the
3839 main print breakpoints loop.
3840 (user_settable_breakpoint): New function.
3841
b30bf9ee
AC
38422001-06-18 Andrew Cagney <[email protected]>
3843
3844 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
3845 "mi", "mi0" and "mi1".
3846
83905903
AC
38472001-06-17 Andrew Cagney <[email protected]>
3848
3849 * gdbarch.sh: Generate an error when conflicting macro
3850 definitions. Generate an error when both pure multi-arch and
3851 "tm.h".
3852 * gdbarch.h, gdbarch.c: Regenerate.
3853 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
3854
c2202abf
AC
38552001-06-17 Andrew Cagney <[email protected]>
3856
3857 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
3858 GDB_MULTI_ARCH_PARTIAL from two.
3859
0d70f41b
FN
38602001-06-17 Fernando Nasser <[email protected]>
3861
3862 From 2001-06-15 Eirik Fuller <[email protected]>
3863 * cli/cli-script.c (free_command_lines): Reset list pointer.
3864
7824d2f2
AC
38652001-06-16 Andrew Cagney <[email protected]>
3866
3867 * arch-utils.c (init_frame_pc_default): New function
3868 * arch-utils.h (init_frame_pc_default): Declare.
3869 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
3870 not init_frame_pc_noop.
3871 * gdbarch.h, gdbarch.c: Re-generate.
3872 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
3873 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
3874 init_frame_pc_noop.
3875
1622c8f7
AC
38762001-06-16 Andrew Cagney <[email protected]>
3877
3878 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
3879
01fb7433
AC
38802001-06-15 Andrew Cagney <[email protected]>
3881
3882 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
3883 (CANNOT_STORE_REGISTER): Ditto.
3884 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
3885 (CANNOT_STORE_REGISTER): Ditto.
3886 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
3887 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
3888 * arch-utils.h (cannot_register_not): Define.
3889 * arch-utils.c (cannot_register_not): Declare.
3890
10312cc4
AC
38912001-06-15 Andrew Cagney <[email protected]>
3892
3893 * gdbarch.sh: Clarify pre/post default
3894 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
3895 * blockframe.c (get_prev_frame): Remove #ifdef from around
3896 INIT_FRAME_PC_FIRST call.
3897 * arch-utils.c (init_frame_pc_noop): Define.
3898 * arch-utils.h (init_frame_pc_noop): Declare.
3899 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
3900 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
3901 * mips-tdep.c (mips_init_frame_pc_first): Make static.
3902 (mips_gdbarch_init): Initialize init_frame_pc_first.
3903 (mips_dump_tdep): Update.
3904
dd80620e
MS
39052001-06-15 Michael Snyder <[email protected]>
3906
3907 * infrun.c (context_switch): New function. Abstract the operation
3908 of saving and restoring infrun's state when switching threads.
3909 (handle_inferior_event): Normalize the handling of the 'thread hop'
3910 event (when the wrong thread hits a thread-specific breakpoint,
3911 and we need to solo-step that thread past the breakpoint).
3912 Call keep_going, instead of target_resume. Handle the subsequent
3913 singlestep-trap as a normal event instead of just resuming.
3914
875e1767
AC
39152001-06-15 Andrew Cagney <[email protected]>
3916
3917 * arch-utils.c (core_addr_identity): New function. Rename
3918 default_convert_from_func_ptr_addr.
3919 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
3920 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
3921 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
3922 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
3923 * mips-tdep.c (mips_addr_bits_remove): Make static.
3924 (mips_gdbarch_init): Initialize addr_bits_remove.
3925
4009c677
AC
39262001-06-15 Andrew Cagney <[email protected]>
3927
3928 From 2001-02-26 D.J. Barrow <[email protected]>:
3929 * configure.tgt: Add S/390 31 & 64 bit target configuration.
3930 * configure.host: Ditto for host.
3931
d6dd581e
AC
39322001-06-15 Andrew Cagney <[email protected]>
3933
3934 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
3935 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
3936 predicate.
3937 * gdbarch.h, gdbarch.c: Regenerate.
3938 * values.c (value_being_returned): Change the reference to
3939 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
3940
09843d7f
JB
39412001-06-15 Joel Brobecker <[email protected]>
3942
3943 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
3944 Write After Approval list.
3945
dc8acb97
MS
39462001-06-14 Michael Snyder <[email protected]>
3947
3948 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
3949 set_remote_protocol_qSymbol_packet_cmd): New functions.
3950 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
3951 (remote_check_symbols): New function. Implement qSymbol packet,
3952 allowing target to request symbol lookup service from gdb.
3953 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
3954 allowing symbol lookup from exec_bfd on connection to target.
3955 (remote_new_objfile): New function. Catch new objfile notifications
3956 from shared library module, and call remote_check_symbols.
3957 (_initialize_remote): Hook remote_new_objfile into the shared
3958 library notification chain. Add "set remote symbol-lookup" command.
3959
578c1fe6
KS
39602001-06-14 Keith Seitz <[email protected]>
3961
3962 * tracepoint.c (trace_command): We now have tracepoint
3963 events. Get rid of those ugly hooks.
3964 (tracepoint_operation): Likewise.
3965 (trace_pass_command): Likewise.
3966
6c0d3f6a
MS
39672001-06-13 Michael Snyder <[email protected]>
3968
3969 * gdbthread.h (struct thread_info): Add new fields:
3970 current_line, current_symtab, step_sp, for saved infrun state.
3971 * thread.c (save_infrun_state, load_infrun_state): Save and
3972 restore current_line, current_symtab, and step_sp.
3973 (add_thread): Rather than adding assignments to initialize
3974 the new fields, just use memset (tp, 0, sizeof (*tp).
3975 This way future new fields will not be overlooked.
3976 * infrun.c (handle_inferior_event): Save and restore save_sp,
3977 current_line, and current_symtab when switching threads.
3978
16075ace
EZ
39792001-06-13 Elena Zannoni <[email protected]>
3980
3981 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
3982 testsuite/gdb.mi.
3983
31889e00
AC
39842001-06-11 Andrew Cagney <[email protected]>
3985
3986 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
3987 (lookup_partial_symtab, file_matches): Ditto.
3988 (make_source_files_completion_list): Ditto.
3989 (make_file_symbol_completion_list): Ditto. Make local char*
3990 variable ``tail'' constant.
3991 (make_source_files_completion_list): Ditto with ``base_name''.
3992 * source.c (open_source_file): Use lbasename. Make ``p'' const
3993 char *.
3994
4ac40b29
EZ
39952001-06-13 Eli Zaretskii <[email protected]>
3996
3997 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
bfefb583 3998 (SLASH_STRING): Remove unused definitions.
4ac40b29
EZ
3999 * config/i386/xm-cygwin.h: Likewise.
4000
6b28c186
AC
40012001-06-12 Andrew Cagney <[email protected]>
4002
4003 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
4004 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
4005 * ui-out.h: Update declarations.
4006
1f8cc6db
AC
4007Mon Jun 11 17:26:43 2001 Andrew Cagney <[email protected]>
4008
4009 * source.c (openp): Make parameters ``path'' and ``string''
4010 constant.
4011 (openp): Use alloca to safely duplicate ``string''. Make local
4012 variables ``p'' and ``p1'' constant. Delete char* casts.
4013 * defs.h: Update.
4014
4015 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
4016 (lookup_symtab, lookup_partial_symtab): Ditto.
4017 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
4018
88379baf
AC
40192001-06-11 Andrew Cagney <[email protected]>
4020
4021 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
4022 (ui_out_table_header, ui_out_field_int): Ditto.
4023 (ui_out_field_core_addr, ui_out_field_string): Ditto.
4024 (ui_out_field_stream, ui_out_field_fmt): Ditto.
4025 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
4026 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
4027 (ui_out_field_core_addr, ui_out_field_stream): Update.
4028 (ui_out_field_string, ui_out_field_fmt): Update.
4029 (ui_out_text, ui_out_message): Update.
4030 (append_header_to_list): Make char* parameters constant.
4031 (uo_table_header, uo_table_begin): Ditto.
4032 (uo_field_int, uo_field_skip): Ditto.
4033 (uo_field_string, uo_field_fmt): Ditto.
4034 (uo_text, uo_message): Ditto.
4035
c94fdfd0
EZ
40362001-06-11 Eli Zaretskii <[email protected]>
4037
4038 * completer.c (gdb_completer_loc_break_characters): New variable.
4039 (line_completion_function): If we are completing on locations,
4040 back up the start of word pointer past all characters which can
4041 appear in a location spec.
4042 (location_completer): New function.
4043
4044 * completer.h: Add prototype for location_completer.
4045
4046 * symtab.c (make_source_files_completion_list)
4047 (add_filename_to_list, not_interesting_fname): New functions.
4048 (filename_seen): New function, body extracted from
4049 output_source_filename.
4050 (output_source_filename): Call filename_seen to check if the file
4051 was already printed.
4052 (make_symbol_completion_list): If TEXT includes a
4053 double-quoted string, return an empty list, not NULL.
4054 (make_file_symbol_completion_list): New function, similar to
4055 make_symbol_completion_list but with an additional argument
4056 SRCFILE.
4057
4058 * symtab.h (make_file_symbol_completion_list)
4059 (make_source_files_completion_list): Add prototypes.
4060
4061 * breakpoint.c (_initialize_breakpoint): Make location_completer
4062 be the completion function for all commands which set breakpoints
4063 and watchpoints.
4064 (top-level): #include "completer.h".
4065
4066 * tracepoint.c (_initialize_tracepoint): Make location_completer
4067 be the completion function for the "trace" command.
4068 (top-level): #include "completer.h".
4069
4070 * printcmd.c (_initialize_printcmd): Make location_completer be
4071 the completion function for the "print", "inspect", "call", and
4072 "disassemble" commands.
4073 (top-level): #include "completer.h".
4074
4075 * infcmd.c (_initialize_infcmd): Make location_completer be the
4076 completion function for the "go", "jump", and "until" commands.
4077 (top-level): #include "completer.h".
4078
0b6a968e
CF
40792001-06-10 Christopher Faylor <[email protected]>
4080
4081 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
4082 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
4083 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
4084 * defs.h: Ditto.
4085 * m32r-rom.c: Ditto.
4086 * p-exp.y: Ditto.
4087 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
4088 faster compilation.
4089 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
4090 * nindy-share/ttyflush.c: Ditto.
4091 * rdi-share/host.h: Ditto.
0b6a968e
CF
4092 * ser-go32.c (dos_readchar): Remove call to obsolete function.
4093 * remote-sim.c (gdb_os_poll_quit): Ditto.
4094 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
4095
4096 * main.c (captured_main): Eliminate special Cygwin checks.
4097 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
4098
e2e11a41
AC
40992001-06-09 Andrew Cagney <[email protected]>
4100
bf5efbab
AC
4101 * Makefile.in (gdbcmd_h): Add ui_out_h.
4102 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
4103 (thread.o, top.o): Ditto.
4104
e2e11a41
AC
4105 * ui-out.h (table_begin_ftype): Make string parameters constant.
4106 (table_header_ftype): Ditto.
4107 (field_int_ftype): Ditto.
4108 (field_skip_ftype): Ditto.
4109 (field_string_ftype): Ditto.
4110 (field_fmt_ftype): Ditto.
4111 (text_ftype): Ditto.
4112 (message_ftype): Ditto.
4113 * cli-out.c (cli_table_begin): Ditto.
4114 (cli_table_header): Ditto.
4115 (cli_field_int): Ditto.
4116 (cli_field_skip): Ditto.
4117 (cli_field_string): Ditto.
4118 (cli_field_fmt): Ditto.
4119 (cli_text): Ditto.
4120 (cli_message): Ditto.
4121 (out_field_fmt): Ditto.
4122 * ui-out.c (default_table_begin): Ditto.
4123 (default_table_header): Ditto.
4124 (default_field_int): Ditto.
4125 (default_field_skip): Ditto.
4126 (default_field_string): Ditto.
4127 (default_field_fmt): Ditto.
4128 (default_text): Ditto.
4129 (default_message): Ditto.
4130
2e663524
MS
41312001-06-08 Michael Snyder <[email protected]>
4132
4133 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
4134 remove_breakpoint, so that the subsequent test for
4135 bpt->inserted will succeed, and duplicates will be fixed up.
4136
bebd888e
PB
41372001-06-08 Per Bothner <[email protected]>
4138
4139 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
4140
8f45b7fe
KS
41412001-06-07 Keith Seitz <[email protected]>
4142
4143 * tracepoint.c (tracepoint_opertation): Add ui event
4144 notifications.
4145 (trace_pass_command): Ditto.
4146
b76a2a57
AC
41472001-06-07 Andrew Cagney <[email protected]>
4148
4149 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 4150 (HP/PA): Jeff Law stepped down
b76a2a57 4151
72e74a21
JB
41522001-06-07 Jim Blandy <[email protected]>
4153
4154 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
4155 variable values as operators.
4156
8c6ee715
KS
41572001-06-07 Keith Seitz <[email protected]>
4158
4159 * gdb-events.sh: Fix quote escaping which was obsoleted
4160 by last patch.
4161
9e791099
KS
41622001-06-07 Keith Seitz <[email protected]>
4163
4164 * gdb-events.sh: Make if statements and tests
4165 a little more portable.
4166 Don't use shell's echo command to put strings containing
4167 escaped characeters into a file -- different flavors of /bin/sh
4168 require differnt levels of escaping. Use cat <<EOF instead.
4169 Our internal field separator is a colon. Change all
4170 commands which assume it is a space.
4171
fce0e6e1
MK
41722001-06-06 Mark Kettenis <[email protected]>
4173
4174 * lin-lwp.c (struct lwp_info): Add member `resumed'.
4175 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
4176 LWP it's called for.
4177 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
4178 SIGSTOP is reported.
4179 (resume_clear_callback): New function.
4180 (resume_set_callback): New function.
4181 (lin_lwp_resume): Mark all LWP's that we're going to resume as
4182 resumed, and unmark all others.
4183 (status_callback): Only report a pending wait status if we pretend
4184 that LP has been resumed.
4185 (resumed_callback): New function.
4186 (lin_lwp_wait): Add assertions to check that LWP's are properly
4187 marked as resumed. Partially revert 2001-05-25 patch by Michael
4188 Snyder: do not resume all threads. Add comment explaining the
4189 problems associated with this bit of code.
4190
54403c59
KS
41912001-06-07 Keith Seitz <[email protected]>
4192
4193 * MAINTAINTERS: Syd Polk is stepping down from
4194 maintaining libgui. I am replacing him.
4195
1d06468c
EZ
41962001-06-07 Eli Zaretskii <[email protected]>
4197
4198 * config/mips/tm-irix6.h: New file.
4199
4200 * config/mips/irix6.mh: New file.
4201
4202 * config/mips/irix6.mt: New file.
4203
4204 * config/mips/xm-irix6.h: New file.
4205
4206 * config/mips/nm-irix6.h: New file.
4207
4208 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
4209 disassembler info in tm_print_insn_info as appropriate for the N32
4210 ABI. Force N32 ABI to be the default if the CPU is R8000 or
4211 R10000.
4212
4213 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
4214
4215 * configure.host (mips*-sgi-irix6*): Ditto.
4216
3d499020
AC
42172001-06-07 Andrew Cagney <[email protected]>
4218
4219 * gnu-v3-abi.c: Include "gdb_assert.h".
4220 (build_gdb_vtable_type): Replace abort() with gdb_assert().
4221
ceaa8edf
JB
42222001-06-06 Jim Blandy <[email protected]>
4223
c5f5341b
JB
4224 * cp-abi.h: Rearrange code to put documentation comments above the
4225 functions we export. The actual function table itself simply
4226 refers to those functions. Minor doc fixes.
4227
ceaa8edf
JB
4228 * gdbarch.sh: Changes to effect the following:
4229 * gdbarch.c (initialize_non_multiarch): New function.
4230 * gdbarch.h (initialize_non_multiarch): New declaration.
4231 * arch-utils.c (initialize_current_architecture): For
4232 non-multiarch configurations, call initialize_non_multiarch.
4233
0cd64fe2
AC
42342001-06-06 Andrew Cagney <[email protected]>
4235
4236 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
4237 declaration.
4238 (compare_symbols): Ditto.
4239
8849f47d
JL
42402001-06-06 Jonathan Larmour <[email protected]>
4241
4242 * arch-utils.c (generic_prepare_to_proceed): Allow for having
4243 stopped due to a Ctrl-C as well as breakpoints.
4244
4245 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
4246 support thread switches after Ctrl-C.
4247 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
4248 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
4249 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
4250
b3cc3077
JB
42512001-06-06 Jim Blandy <[email protected]>
4252
4253 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
4254 per-architecture data should be registered at initialization time,
4255 before any gdbarch objects get used, so the generality is
4256 unnecessary.
4257
ba9fe036
KS
42582001-06-06 Keith Seitz <[email protected]>
4259
4260 * gdb-events.sh (function_list): Add tracepoint_create,
4261 tracepoint_delete, and tracepoint_modify events.
4262 * gdb-events.c: Regenerated.
4263 * gdb-events.h: Regenerated.
4264
e28f816a
KS
42652001-06-06 Keith Seitz <[email protected]>
4266
4267 * gdb-events.sh: Update copyrights.
4268 Change free to xfree.
4269 * gdb-events.c: Regenerated.
4270 * gdb-events.h: Regenerated.
4271
c3690141
EZ
42722001-06-06 Eli Zaretskii <[email protected]>
4273
4274 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
4275 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
4276 * completer.c: Ditto.
4277 * cli/cli-cmds.c (cd_command): Ditto.
4278
37ba1196
EZ
42792001-06-04 Eli Zaretskii <[email protected]>
4280
1012bd0e
EZ
4281 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
4282 (mips_set_processor_type_command): Remove unused variable j.
4283 (mips_breakpoint_from_pc): Declare breakpoint instruction
4284 sequences as unsigned char, to avoid compiler warnings.
4285
fe4e3eb8
EZ
4286 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
4287 instead of system-specific define's like _WIN32 and __MSDOS__.
4288 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
4289 ROOTED_P.
4290 (top-level): #include "filenames.h".
4291
4292 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
4293 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
4294 (top-level): #include "filenames.h".
4295
4296 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
4297 (SLASH_STRING): Define only for _WIN32.
4298
4299 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
4300 __MSDOS_.
4301
4302 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
4303 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
4304 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
4305 (top-level): #include "filenames.h".
4306
37ba1196
EZ
4307 * go32-nat.c (go32_wait): Change the return value to ptid_t.
4308
4309 * config/djgpp/fnchange.lst: Add two new files in the
4310 gdb/testsuite/gdb.c++/ directory to the remapped names.
4311
4312 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
4313
3c875b6f
JB
43142001-06-01 Jim Blandy <[email protected]>
4315
4316 Expand the gdbarch per-architecture data vector as needed, rather
4317 than requiring that all per-architecture data be registered before
4318 the first gdbarch object is allocated.
4319 * gdbarch.sh: Changes to effect the following:
4320 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
4321 declarations and definitions.
4322 (check_gdbarch_data): New function, and declaration.
4323 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
4324 zero is good enough.
4325 (free_gdbarch_data): Tolerate a null data pointer. Free only
4326 those data items gdbarch->data actually has allocated.
4327 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
4328 (gdbarch_update_p): No need to call init_gdbarch_data.
4329
98f96ba1
KB
43302001-06-01 Kevin Buettner <[email protected]>
4331
4332 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
4333 on types that we wish to recurse on.
4334 (slot_alignment_is_next_even): New function.
4335 (ia64_push_arguments): Call slot_alignment_is_next_even() to
4336 examine the type in order to decide if it's necessary to skip
4337 an odd slot.
4338
c6ad9598
MS
43392001-06-01 Michael Snyder <[email protected]>
4340
8601f500
MS
4341 * thread.c (delete_step_resume_breakpoint): New function.
4342 Maintain internal consistency of the thread list while deleting
4343 a step_resume_breakpoint.
4344 * gdbthread.h (delete_step_resume_breakpoint): Export.
4345 * breakpoint.c (bpstat_find_step_resume_breakpoint):
4346 Make thread-aware: don't return a step_resume_breakpoint
4347 for the wrong thread.
4348 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
4349 instead of delete_breakpoint_current_contents.
4350 (fetch_inferior_event): Ditto.
4351 (handle_inferior_event): Call delete_step_resume_breakpoint
4352 instead of delete_breakpoint.
c6ad9598
MS
4353 * infrun.c (handle_inferior_event): After singlestepping over a
4354 thread-specific breakpoint, use currently_stepping() to decide
4355 whether to step or continue.
4356
531017df
JB
43572001-06-01 Jim Blandy <[email protected]>
4358
b27b8843
JB
4359 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
4360 these static --- there's no reason other files should use these.
4361
d0bbfec7
JB
4362 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
4363 Fix memory leak.
4364
531017df
JB
4365 * partial-stab.h: New complaint: function_outside_compilation_unit.
4366 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
4367 complain, and don't try to set pst's start address.
4368
d469a809
KB
43692001-05-31 Kevin Buettner <[email protected]>
4370
4371 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
4372 match the location at which the kernel is placing the sigcontext
4373 struct.
4374
58ab00f9
KB
4375 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
4376 (refine_prologue_limit): New function.
4377 (examine_prologue): Further limit number of instructions
4378 scanned by calling refine_prologue_limit(). Revise way in
4379 which the end of prologue address is computed for frameless
4380 functions.
4381
9fd7143a
CF
43822001-05-29 Christopher Faylor <[email protected]>
4383
4384 * partial-stab.h: Revert previous patch.
4385
34a7837a
CF
43862001-05-29 Christopher Faylor <[email protected]>
4387
4388 * partial-stab.h: Consistently guard against pst being NULL.
4389
ad53e288
AO
43902001-05-29 Alexandre Oliva <[email protected]>
4391
4392 * symfile.c (compare_psymbols, compare_symbols): Declare using
4393 PTR, as in the definition.
09d011c5
AO
4394 * minsyms.c (compare_minimal_symbols): Likewise.
4395 * coffread.c (find_targ_sec): Likewise.
4396 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
4397 * mipsread.c (alphacoff_locate_sections): Likewise.
4398 * mdebugread.c (compare_blocks): Likewise.
ad53e288 4399
b41be06e
ND
44002001-05-25 Nick Duffek <[email protected]>
4401
4402 * solib.c (update_solib_list): Move target_resize_to_sections()
4403 into solib_map_sections() loop.
4404 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
4405 bfd_get_arch_size() fails.
4406
a1cd1908
ND
44072001-05-25 Nick Duffek <[email protected]>
4408
4409 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
4410 solib-osf.o.
4411 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
4412 with solib-osf.o and solib.o.
4413 * config/alpha/alpha-osf2.mh: Likewise.
4414 * config/alpha/alpha-osf3.mh: Likewise.
4415 * solib-osf.c: New file, renamed and largely rewritten from
4416 osfsolib.c.
4417
aa6c0017
MS
44182001-05-25 Michael Snyder <[email protected]>
4419
c4365b19
MS
4420 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
4421 to consume the SIGSTOP generated by PTRACE_ATTACH.
4422 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
4423 try again to get the SIGSTOP event.
4424 (lin_lwp_wait): Resume all threads when ignoring a signal.
4425 This will insure that newly attached threads get resumed.
5f885618 4426 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
4427 * remote.c (remote_write_bytes): Update 'p' packet pointer.
4428
4b1fedf1
JB
44292001-05-25 Jim Blandy <[email protected]>
4430
4431 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
4432 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
4433 useful value, then we should fix that instead.
4434
fa3b51d2
ND
44352001-05-24 Nick Duffek <[email protected]>
4436
4437 * solist.h (struct so_list): Document the requirement that
4438 current_sos initialize some fields to 0.
4439
2747183e
MK
44402001-05-24 Mark Kettenis <[email protected]>
4441
4442 * gnu-nat.c: Include <ctype.h>.
4443 (gnu_pid_to_exec_file): Add PID parameter.
4444 (set_sig_thread_cmd): Use PIDGET on return value from
4445 thread_id_to_pid.
4446 (proc_string): Use MERGEPID to construct argument to
4447 pid_to_thread_id.
4448
e4f237da
KB
44492001-05-22 Kevin Buettner <[email protected]>
4450
4451 * breakpoint.c (breakpoint_address_is_meaningful): New function.
4452 (check_duplicates): Don't compare non-meaningful addresses.
4453
5fd913cc
MS
44542001-05-22 Michael Snyder <[email protected]>
4455
4456 * thread-db.c: Allow for defunct zombie threads.
4457 (attach_thread): Do not attempt to attach zombie thread.
4458 (thread_db_thread_alive): Return false for defunct zombie thread.
4459 (find_new_threads_callback): Don't add defunct zombie thread to list.
4460
7ed49443
JB
44612001-05-22 Jim Blandy <[email protected]>
4462
4463 Add support for the GNU V3 C++ ABI.
4464 (Includes changes by Dan Berlin.)
4465
4466 * gnu-v3-abi.c: New file.
4467 * minsyms.c: #include "value.h" and "cp-abi.h".
4468 (install_minimal_symbols): Check the minimal symbol table for
4469 symbols that look mangled in the V3 style, and select the V3 ABI
4470 if we find any.
4471 * Makefile.in (SFILES): Add gnu-v3-abi.c.
4472 (COMMON_OBS): Add gnu-v3-abi.o.
4473 (gnu-v3-abi.o): Add new rule.
4474 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
4475
a44999d5
JB
44762001-05-21 Jim Blandy <[email protected]>
4477
8d65888a
JB
4478 * values.c (value_primitive_field): If we're extracting a base
4479 class, then the type of the result should be the base class being
4480 extracted, not the type of which it is a base class.
4481
a44999d5
JB
4482 * value.h (struct value): Doc fix, and rearrange members to place
4483 them near their explanations.
4484
6c3f2dbf
MS
44852001-05-21 Michael Snyder <[email protected]>
4486
4487 * remote.c (remote_async_wait): Added new variable fieldsize.
4488 Add fieldsize (return value of hex2bin) to string pointer p.
4489
b4fa4770
SC
44902001-05-20 Stephane Carrez <[email protected]>
4491
4492 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
4493 (m68hc11_analyze_instruction): Update the pc correctly.
4494 (m68hc11_guess_from_prologue): Take into account the stack correction
4495 for the saving address.
4496
2b127877
DB
44972001-05-07 Daniel Berlin <[email protected]>
4498
4499 Changes by Jim Ingham:
4500
4501 * values.c (value_change_enclosing_type): New function. If the
4502 new enclosing type is larger than the old one, we need to allocate
4503 more space.
4504 * value.h: Add value_change_enclosing_type prototype.
4505 * valops.c (value_cast): Use it.
4506 (value_assign): Use it.
4507 (value_addr): Use it.
4508 (value_ind): Use it.
4509 (value_full_object): Use it.
4510
45112001-05-07 Daniel Berlin <[email protected]>
4512
984e377c
JB
4513 * values.c (value_static_field): Handle static fields that have a
4514 constant value.
2b127877 4515
736d0890
MS
45162001-05-17 Michael Snyder <[email protected]>
4517
4518 * blockframe.c (create_new_frame): Zero all the fields via memset,
4519 rather than zeroing them one by one.
4520
a577b05c
EZ
45212001-05-17 Eli Zaretskii <[email protected]>
4522
4523 * top.c (user_args): Remove unused declaration.
4524
b8adfa9f
MS
45252001-05-16 Michael Snyder <[email protected]>
4526
4527 * infcmd.c (do_registers_info): Move alloca outside of loop.
4528
97345198
MS
45292001-05-15 John S Kallal <[email protected]>
4530
4531 * remote.c (remote_wait): Added new variable fieldsize.
4532 Add fieldsize (return value of hex2bin) to string pointer p.
4533
aca21d9a
MK
45342001-05-15 Mark Kettenis <[email protected]>
4535
4536 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
4537 info.bfd_arch_info.
4538
b08cfdb6
KB
45392001-05-14 Kevin Buettner <[email protected]>
4540
4541 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
4542 Adjust format strings for printing LWPs to account for the fact
4543 that the type returned by GET_LWP() is now a long instead of an
4544 int.
4545
ca6724c1
KB
45462001-05-14 Kevin Buettner <[email protected]>
4547
4548 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
4549 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
4550 (ptid_get_tid, ptid_equal): New function declarations.
4551 * infrun.c (null_ptid, minus_one_ptid): New variables.
4552 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
4553 (ptid_get_tid, ptid_equal): New functions.
4554 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
4555 inferior_ptid, and target_last_wait_ptid.
4556
4557 * defs.h (ptid_t): Redefine to be a struct rather than an int.
4558 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
4559 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
4560 new ptid accessors and constructor.
4561
4562 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
4563 MKLID, MKTID, ISTID): Provide new definitions for these macros.
4564 The old macros are retained, but disabled via #if 0 in order
4565 to aid in future restructuring. See FIXME.
4566
4567 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
4568 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
4569 * infptrace.c (PIDGET, TIDGET): Likewise.
4570 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
4571 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
4572 * proc-service.c (MERGEPID): Likewise.
4573 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
4574 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
4575 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
4576 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
4577 Likewise.
4578 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
4579 Likewise.
4580
4581 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
4582 (GET_LWP): Redefine in terms of ptid_get_lwp().
4583 (GET_PID): Redefine in terms of ptid_get_pid().
4584 (is_lwp): Redefine without the need for THREAD_FLAG.
4585 (BUILD_LWP): Redefine in terms of ptid_build().
4586 * lin-thread.c (THREAD_FLAG): Delete macro definition.
4587 (GET_LWP): Redefine in terms of ptid_get_lwp().
4588 (GET_PID): Redefine in terms of ptid_get_pid().
4589 (GET_THREAD): Redefine in terms of ptid_get_tid().
4590 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
4591 (is_lwp, is_thread): Redefine.
4592 (linux_child_wait, check_all_signal_numbers)
4593 (linuxthreads_discard_global_state, attach_thread): Declare these
4594 functions to squash warnings about missing declarations.
4595 * sol-thread.c (THREAD_FLAG): Delete macro definition.
4596 (GET_PID): Redefine in terms of ptid_get_pid().
4597 (GET_LWP): Redefine in terms of ptid_get_lwp().
4598 (GET_THREAD): Redefine in terms of ptid_get_tid().
4599 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
4600 (is_lwp, is_thread): Redefine.
4601 * thread-db.c (THREAD_FLAG): Delete macro definition.
4602 (GET_PID): Redefine in terms of ptid_get_pid().
4603 (GET_LWP): Redefine in terms of ptid_get_lwp().
4604 (GET_THREAD): Redefine in terms of ptid_get_tid().
4605 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
4606 (is_lwp, is_thread): Redefine.
4607
4608 * corelow.c (add_to_thread_list, get_core_register_section):
4609 Eliminate hacks needed to prevent regressions when inferior_ptid
4610 wasn't wide enough to hold the core file thread id in the pid
4611 component of inferior_ptid.
4612
234fa6d1
MS
46132001-05-14 Michael Snyder <[email protected]>
4614
4615 * remote.c (hex2bin): Make first argument const.
4616 Require explicit count, don't accept null-terminated str.
4617 (remote_resume, remote_async_resume): White space fix-up.
4618 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
4619
caadab2c
MK
46202001-05-13 Mark Kettenis <[email protected]>
4621
4622 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
4623 basename (NAME). The FreeBSD basename returns a pointer to a
4624 static buffer, even if it's simply returning a string identical to
4625 its argument.
4626 (lookup_partial_symtab): Likewise.
4627
2644f393
MS
46282001-05-14 Michael Snyder <[email protected]>
4629
cb0ba49e 4630 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 4631
183a2f1a
KB
46322001-05-14 Kevin Buettner <[email protected]>
4633
4634 * solib.h (no_shared_libraries): Make declaration match definition
4635 in solib.c.
4636
1dd1751e
AC
46372001-05-14 Andrew Cagney <[email protected]>
4638
4639 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
4640 * solib.h (no_shared_libraries): Declare.
4641
b732d07d
AC
46422001-05-12 Andrew Cagney <[email protected]>
4643
4644 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
4645 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
4646 user specified values when available.
4647 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
4648 architecture from info.bfd_arch_info.
4649 * gdbarch.c, gdbarch.h: Regenerate.
4650
67dd5ca6
FN
46512001-05-12 Fernando Nasser <[email protected]>
4652
4653 * remote-e7000.c (e7000_open): Check for bad baud rate.
4654 * remote-st.c (st2000_open): Ditto.
4655
529acb48
JB
46562001-05-11 Jim Blandy <[email protected]>
4657
f8e42d24
JB
4658 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
4659 and ui_out_tuple_end instead of ui_out_list_begin and
4660 ui_out_list_end.
4661
529acb48
JB
4662 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
4663 dependencies. Reorder dependencies to match #includes in file,
4664 for easier verification.
4665
666547aa
AC
4666Fri May 11 13:32:50 2001 Andrew Cagney <[email protected]>
4667
4668 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
4669 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
4670 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
4671 * cli/cli-setshow.c: Ditto.
4672 * printcmd.c: Ditto.
4673 * stack.c: Ditto.
4674
4675 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
4676 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
4677 (ui_out_tuple_begin): New function.
4678 (ui_out_tuple_end): New function.
4679 (ui_out_tuple_begin_end): New function.
4680 (make_cleanup_ui_out_list_begin_end): Replace
4681 make_cleanup_ui_out_list_end function.
4682 * ui-out.h (ui_out_list_begin): Update declaration.
4683 (make_cleanup_ui_out_list_begin_end): Replace
4684 make_cleanup_ui_out_list_end declaration.
4685 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
4686 (ui_out_tuple_begin_end): Declare.
4687
30c98d84
JB
46882001-05-11 Jim Blandy <[email protected]>
4689
4690 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
4691
1faa59a8
AC
46922001-05-11 Andrew Cagney <[email protected]>
4693
4694 From 2001-03-26 Rodney Brown <[email protected]>
4695 * config/pa/tm-hppa.h: Remove trigraph.
4696 * hp-symtab-read.c (hpread_type_translate): Provide return value.
4697 (hpread_read_struct_type): Remove trigraph. Add parameter in
4698 `warning'.
4699 (hpread_read_array_type): Provide return value.
4700 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
4701 value.
4702 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
4703 trigraph.
4704
99567b1b
JB
47052001-05-11 Jim Blandy <[email protected]>
4706
4707 * mips-tdep.c (mips_store_return_value,
4708 mips_extract_return_value): Pass arguments to
4709 return_value_location in the proper order.
4710
d3814881
AC
47112001-05-11 Andrew Cagney <[email protected]>
4712
4713 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
4714 (version.c): Depends on file ``version.in''. Extract version
4715 number from ``version.in'' file.
4716 (clean mostlyclean): Update.
4717 * version.in: New file.
5d6640b1 4718 * NEWS: Update.
d3814881 4719
4d28f7a8
KB
47202001-05-11 Kevin Buettner <[email protected]>
4721
4722 * breakpoint.c (set_raw_breakpoint): Add new parameter
4723 representing the breakpoint's type. Adjust all callers.
4724 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
4725 (create_thread_event_breakpoint): Don't test for zero return
4726 value from set_raw_breakpoint(). It can never be zero.
4727 (create_exception_catchpoint, watch_command_1): Move logic
4728 which calculates the breakpoint type prior to the call to
4729 set_raw_breakpoint().
4730
08b4f080
FN
47312001-05-11 Fernando Nasser <[email protected]>
4732
4733 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
4734 (hardwire_setbaudrate): Set errno to EINVAL and return with error
4735 if the conversion of the baud rate to code fails.
4736
127431f9
AC
47372001-05-10 Andrew Cagney <[email protected]>
4738
4739 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
4740 * ui-out.c (struct ui_out_end_cleanup_data): Define.
4741 (do_cleanup_end): New function. Replace do_list_end.
4742 (make_cleanup_ui_out_end): New function.
4743 (make_cleanup_ui_out_begin_end): New function.
4744 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
4745
5dbc5e5f
EZ
47462001-05-10 Elena Zannoni <[email protected]>
4747
4748 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
4749 and make Kevin Buettner ([email protected]) the reference person.
4750
8e40d292
EZ
47512001-05-10 Elena Zannoni <[email protected]>
4752
4753 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
4754
5a703563
FN
47552001-05-10 Fernando Nasser <[email protected]>
4756
4757 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
4758
6311b07d
AC
4759Thu May 10 16:26:47 2001 Andrew Cagney <[email protected]>
4760
4761 * Makefile.in (mi-main.o): Compile with -Werror.
4762
30559e10
MS
47632001-05-10 Michael Snyder <[email protected]>
4764
f78f6cf1
MS
4765 * remote.c (remote_open_1): Call no_shared_libraries, so that
4766 symbols for shared libraries can be reloaded per session.
4767 (remote_async_open_1): Ditto.
30559e10
MS
4768 * remote.c (bin2hex, hex2bin): New functions. Factor out these
4769 two conversions which are coded for repeatedly in this module.
4770 (remote_threads_extra_info, remote_wait, remote_async_wait,
4771 store_register_using_P, remote_store_registers, remote_write_bytes,
4772 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
4773 of coding the conversions inline.
4774 (fromhex): Not exported, change from extern to static.
4775
0a1d9791
AC
47762001-05-10 Andrew Cagney <[email protected]>
4777
4778 * arch-utils.c (initialize_current_architecture): Delete obsolete
4779 ``info architecture'' command.
4780 (info_architecture): Delete function.
4781
ee055267
AC
47822001-05-10 Andrew Cagney <[email protected]>
4783
4784 * TODO (5.1, 5.2): Update.
4785
85886af6
AC
47862001-05-09 Andrew Cagney <[email protected]>
4787
4788 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
4789 stuff.
30559e10 4790
ecb9ce7e
KS
47912001-05-10 Keith Seitz <[email protected]>
4792
4793 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
4794 and gdbtk-stack.o.
4795 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
4796 (gdbtk-bp.o): New rule.
4797 (gdbtk-register.o): New rule.
4798 (gdbtk-stack.o): New rule.
4799 (gdbtk-cmds.o): Update dependencies.
4800 (gdbtk.o): Ditto.
4801 (gdbtk-hooks.o): Ditto.
4802 (gdbtk-varobj.o): Ditto.
4803
f7635dd9
FN
48042001-05-10 Fernando Nasser <[email protected]>
4805
4806 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
4807 variables, not just unregister them.
4808
0755e6c1
FN
48092001-05-10 Fernando Nasser <[email protected]>
4810
4811 * varobj.c (c_number_of_children): Check for target type of void*,
4812 not the target type name. Allow dereferencing char*.
4813
d7db6da9
FN
48142001-05-10 Fernando Nasser <[email protected]>
4815
4816 * symfile.c (symbol_file_add_main_1): New static function.
4817 Passes the flags arguments to symbol_file_add() and takes care
4818 of any necessary reinitializations.
4819 (symbol_file_command): Call symbol_file_add_main_1() instead of
4820 symbol_file_add().
4821 (symbol_file_add_main): Ditto.
4822
3d6e28e2
KB
48232001-05-09 Kevin Buettner <[email protected]>
4824
4825 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
4826 string change in 2001-05-03 changes.
4827 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
4828 changes.
4829
01263b57
KB
48302001-05-09 Kevin Buettner <[email protected]>
4831
4832 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
4833 component from inferior_ptid.
4834 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
4835 ptid.
4836
74a151fa
EZ
48372001-05-09 Elena Zannoni <[email protected]>
4838
4839 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
4840 conditional for help with connections through parallel ports,
4841 given that the actual code for downloading through a parallel port
4842 is not conditionalized.
4843
4844 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
4845 unmaintaned, and probably on its way to obsolescence.
4846
d7a0d72c
MK
48472001-05-09 Mark Kettenis <[email protected]>
4848
0d17c81d
MK
4849 * i386-tdep.c (i386_frame_saved_pc): New function.
4850 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
4851 i386_frame_saved_pc.
4852 (i386_frame_saved_pc): New prototype.
4853
d7a0d72c
MK
4854 * i386-tdep.c (i386_register_virtual_type): New function.
4855 (i386_register_convertible): New function.
4856 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
4857 of i386_register_virtual_type.
4858 (REGISTER_CONVERTIBLE): Redefine in terms of
4859 i386_register_convertible.
4860 (i386_register_virtual_type, i386_register_convertible): New
4861 prototypes.
4862
ad8fe2ce
JB
48632001-05-08 Jim Blandy <[email protected]>
4864
33757489
JB
4865 * Makefile.in (mn10300-tdep.o): New rule.
4866
4867 * Makefile.in (gdb_string_h): Define. Use it throughout.
4868 Some rules were already using this, even though it isn't defined.
4869
c2c197ae
JB
4870 * Makefile.in (obstack_h, target_h): Define; these are already
4871 used elsewhere, but have been expanding to the empty string.
4872 (memattr_h): Define; needed by target_h.
4873
c064f384
JB
4874 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
4875 static. (This was accidentally omitted from the earlier patch.)
4876
23436510
JB
4877 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
4878 (mn10300_gdbarch_init): Register it as the architecture's
4879 dwarf2_reg_to_regnum method.
4880
ae83b20d
JB
4881 Correct and expand handling of `movm' instruction, and register
4882 saves in general.
4883 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
4884 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
4885 (enum movm_register_bits): New enum.
4886 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
4887 bits, not hex literals. Handle the `other', `exreg0', and
4888 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
4889 r6, and r7, not r2, r3, r4, and r5.
4890 (saved_regs_size): New function.
4891 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
4892 of computing the same thing inline, incorrectly.
4893
bf4b70a5
JB
4894 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
4895 dummy_breakpoint_offset; it's zero.
4896
ee9f9641
JB
4897 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
4898 stuff out into mn10300_pop_frame_regular, and use
4899 generic_pop_current_frame. This lets us share code, and also
4900 makes this function's prototype match that expected by gdbarch.
4901 Make this function static.
4902 (mn10300_pop_frame_regular): New function.
4903 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
4904 gdbarch's pop_frame method.
4905 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
4906 (mn10300_pop_frame): Delete declaration.
4907
2ac51b36
JB
4908 * mn10300-tdep.c (mn10300_saved_pc_after_call,
4909 mn10300_extract_return_value,
4910 mn10300_extract_struct_value_address, mn10300_store_return_value,
4911 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
4912 mn10300_frame_chain, mn10300_skip_prologue,
4913 mn10300_push_arguments, mn10300_push_return_address,
4914 mn10300_store_struct_return, mn10300_frame_saved_pc,
4915 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
4916 Make these functions static; they should only be visible to the
4917 outside world as gdbarch methods.
4918
af4e72e9
JB
4919 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
4920 unused declaration.
4921
584f96a8
JB
4922 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
4923 in some rational order.
4924
82d983b6
JB
4925 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
4926 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
4927
ad8fe2ce
JB
4928 Use gdbarch for most target parameters for the MN10300, rather
4929 than the tm-*.h file.
4930 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
4931 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
4932 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
4933 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
4934 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
4935 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
4936 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
4937 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
4938 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
4939 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
4940 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
4941 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
4942 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
4943 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
4944 Delete definitions. We register gdbarch methods for these now.
4945 (struct frame_info, struct type, struct value): Delete forward
4946 declarations of these types; they're no longer necessary, since we
4947 don't have function declarations here any more.
4948 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
4949 some default gdbarch methods.
4950 (mn10300_store_struct_return): Return void, as expected by
4951 gdbarch.
4952 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
4953 as expected by gdbarch.
4954 (mn10300_frame_init_saved_regs): Provide dummy definition for
4955 this, as required by gdbarch.
4956 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
4957 by gdbarch. Register gdbarch methods or values for all the stuff
4958 removed from tm-10300.h, listed above.
4959
631ec795
AC
49602001-05-08 Andrew Cagney <[email protected]>
4961
4962 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
4963 cli_list_end.
4964 (cli_ui_out_impl): Update.
4965
4966 * ui-out.c (default_begin, default_end): Replace
4967 default_list_begin and default_list_end.
4968 (default_ui_out_impl): Update.
4969 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
4970 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
4971 ui_out_list_end.
4972 (ui_out_list_begin, ui_out_list_end): New. Compatibility
4973 functions.
4974 (struct ui_out_level): Add field type.
4975 (push_level, pop_level): Update. Add type parameter.
4976
4977 * ui-out.h (enum ui_out_type): Declare.
4978 (ui_out_begin, ui_out_end): Declare.
4979 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
4980 and list_end_ftype.
4981 (struct ui_out_impl): Update.
4982
80f49b30
AC
49832001-05-07 Andrew Cagney <[email protected]>
4984
4985 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
4986 ``list_flag'' to ``depth''.
4987 * ui-out.c (default_list_begin, default_list_end): Update.
4988 (uo_list_begin, uo_list_end): Update.
4989 (MAX_UI_OUT_LEVELS): Define.
4990 (struct ui_out_level): Define.
4991 (top-level): Include "gdb_assert.h".
4992 (struct ui_out): Add fields ``level'' and ``levels''. Delete
4993 fields ``list_flag'' and ``field_count''.
4994 (ui_out_new): Update.
4995 (verify_field_proper_position): Update.
4996 (current_level, push_level, pop_level): New functions.
4997 (ui_out_list_begin): Use push_level.
4998 (ui_out_list_end): Use pop_level.
4999 (ui_out_field_int): Use current_level.
5000 (ui_out_field_skip): Ditto.
5001 (ui_out_field_fmt): Ditto.
5002
7aedc9f8
MS
50032001-05-08 Michael Snyder <[email protected]>
5004
5005 * language.c (longest_local_hex_string_custom): Strlen test is
5006 inverted -- reverse the sense of the test.
5007
c6ec85d6
MK
50082001-05-08 Mark Kettenis <[email protected]>
5009
5010 * config/i386/tm-i386v.h (struct frame_info, struct
5011 frame_saved_regs): Remove declarations.
5012 (i386_frame_num_args): Remove prototype.
5013
f938fa6a
AC
50142001-05-07 Andrew Cagney <[email protected]>
5015
5016 * MAINTAINERS: I'm no longer actively maintaining the mn10300
5017 target.
5018
fb106663
AC
50192001-05-04 Andrew Cagney <[email protected]>
5020
5021 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
5022 WinGDB.
5023
ce696e05
KB
50242001-05-06 Kevin Buettner <[email protected]>
5025
5026 * inferior.h (save_inferior_ptid): Declare.
5027 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
5028
5029 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
5030 Delete these functions.
5031 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
5032 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
5033 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
5034 Likewise.
5035 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
5036 Likewise.
5037 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
5038 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
5039
5040 * somsolib.c (reset_inferior_ptid): Delete.
5041 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
5042 build the cleanup struct.
5043
5044 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
5045 a cleanup to save/restore inferior_ptid.
5046
c194fbe1
MK
50472001-05-06 Mark Kettenis <[email protected]>
5048
5049 Implement attach/detach for multi-threaded programs on Linux.
5050 * thread-db.c (keep_thread_db): Adjust comment.
5051 (deactivate_target): Removed.
5052 (thread_db_new_objfile): Don't call deactivate_target. Implement
5053 guts of deactivate_target inline instead.
5054 (attach_thread): Call ATTACH_LWP unconditionally if defined.
5055 (thread_db_attach): New function.
5056 (thread_db_detach): Don't call deactivate_target. Do necessary
5057 cleanup inline instead. Set inferior_ptid to LWP corresponding to
5058 the current user-level thread.
5059 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
5060 current user-level thread.
5061 (thread_db_create_inferior): Deactivate target vector if
5062 KEEP_THREAD_DB is zero.
5063 (thread_db_mourn_inferior): Don't call deactivate_target. Do
5064 necessary cleanup inline instead.
5065 (init_thread_db_ops): Initialize to_attach field to
5066 thread_db_attach.
5067 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
5068 (stop_wait_callback): Add prototype.
5069 (init_lwp_list): Add comment about when to re-initialize the LWP
5070 list.
5071 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
5072 Avoid adding publicates to the LWP list. Only mark an LWP as
5073 signalled if it doesn't correspond to a cloned process.
5074 (lin_lwp_attach): Add initial process to the LWP list. Make sure
5075 it's stopped and fake a SIGSTOP.
5076 (detach_callback): New function.
5077 (lin_lwp_detach): Implement.
5078 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
5079 Call child_ops.to_create_inferior directly instead of via
5080 target_beneath local.
5081 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
5082 directly instead of via target_beneath local.
5083
a7fdf62f
EZ
50842001-05-06 Eli Zaretskii <[email protected]>
5085
5086 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
5087 instead of non-portable search for `/'. Use FILENAME_CMP instead
5088 of STREQ, to account for case-insensitive filesystems.
5089 (top-level): #include "filenames.h".
5090
9f60f21b
JB
50912001-05-05 Jim Blandy <[email protected]>
5092
644a1fe1
JB
5093 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
5094 its address, to decide whether it's a watchpoint or not. Zero
5095 is a valid code address.
5096 (update_breakpoints_after_exec): Admonishing comments.
5097 * breakpoint.h (struct breakpoint): Doc fixes.
5098
9f60f21b
JB
5099 * breakpoint.c (check_duplicates): Take a breakpoint object as an
5100 argument, rather than an address and section. All callers changed.
5101
39f77062
KB
51022001-05-03 Kevin Buettner <[email protected]>
5103
5104 * defs.h (ptid_t): New typedef.
5105 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
5106
5107 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
5108 blockframe.c, breakpoint.c, breakpoint.h,
5109 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
5110 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
5111 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
5112 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
5113 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
5114 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
5115 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
5116 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
5117 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
5118 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
5119 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
5120 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
5121 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
5122 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
5123 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
5124 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
5125 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
5126 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
5127 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
5128 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
5129 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
5130 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
5131 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
5132 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
5133 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
5134 (inferior_pid): Rename to inferior_ptid everywhere - even in
5135 comments and obsolete ports. In cases where this variable
5136 really is supposed to be used as a process id, use PIDGET() to
5137 extract the process id component from inferior_ptid. The
5138 other cases, either involving other variables whose types had
5139 to be changed or functions whose signatures had to changed
5140 are listed separately below.
5141
5142 * arm-linux-nat.c (get_thread_id): Change type of argument
5143 representing a combined process/thread id from ``int'' to
5144 ``ptid_t''. Also change parameter name to ptid.
5145 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
5146 * corelow.c (core_file_thread_alive): Likewise.
5147 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
5148 * defs.h (*target_wait_hook): Likewise.
5149 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
5150 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
5151 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
5152 (gnu_resume): Likewise.
5153 * go32-nat.c (go32_wait, go32_resume): Likewise.
5154 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
5155 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
5156 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
5157 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
5158 (child_thread_alive): Likewise.
5159 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
5160 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
5161 * i386-linux-nat.c (child_resume): Likewise.
5162 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
5163 (store_debug_register, fetch_debug_register_pair)
5164 (store_debug_register_pair, ia64_linux_insert_watchpoint)
5165 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
5166 Likewise.
5167 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
5168 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
5169 (generic_target_write_pc, ptrace_wait, child_resume)
5170 (get_last_target_status): Likewise.
5171 * infptrace.c (ptrace_wait, child_resume): Likewise.
5172 * inftarg.c (child_wait, child_post_wait, child_thread_live)
5173 (child_pid_to_str): Likewise.
5174 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
5175 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
5176 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
5177 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
5178 (lin_lwp_pid_to_str): Likewise.
5179 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
5180 (thread_db_resume, thread_db_wait): Likewise.
5181 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
5182 (linuxthreads_resume, linuxthreads_wait): Likewise.
5183 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
5184 (child_pid_to_str): Likewise.
5185 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
5186 * mac-nat.c (child_wait, child_resume): Likewise.
5187 * mips-tdep.c (mips_read_pc): Likewise.
5188 * monitor.c (monitor_wait, monitor_resume): Likewise.
5189 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
5190 * ppc-bdm.c (bdm_ppc_wait): Likewise.
5191 * procfs.c (do_attach, procfs_wait, procfs_resume)
5192 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
5193 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
5194 (procfs_find_LDT_entry): Likewise.
5195 * regcache.c (read_register_pid, read_signed_register_pid)
5196 (write_register_pid, generic_target_read_pc, read_pc_pid)
5197 (generic_target_write_pc, write_pc_pid): Likewise.
5198 * regcache.h (read_register_pid, read_signed_register_pid)
5199 (write_register_pid): Likewise.
5200 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
5201 * remote-array.c (array_wait, array_resume): Likewise.
5202 * remote-bug.c (bug_wait, bug_resume): Likewise.
5203 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
5204 * remote-eb.c (eb_wait, eb_resume): Likewise.
5205 * remote-es.c (es1800_wait, es1800_resume): Likewise.
5206 * remote-mips.c (mips_wait, mips_resume): Likewise.
5207 * remote-mm.c (mm_wait, mm_resume): Likewise.
5208 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
5209 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
5210 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
5211 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
5212 * remote-sds.c (sds_wait, sds_resume): Likewise.
5213 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
5214 * remote-st.c (st2000_wait, st2000_resume): Likewise.
5215 * remote-udi.c (udi_wait, udi_resume): Likewise.
5216 * remote-vx.c (vx_wait, vx_resume): Likewise.
5217 * remote.c (remote_current_thread, remote_resume, remote_wait)
5218 (remote_async_resume, remote_async_wait, remote_cisco_wait)
5219 (remote_thread_alive): Likewise.
5220 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
5221 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
5222 (solaris_pid_to_str): Likewise.
5223 * symm-nat.c (child_wait, child_resume): Likewise.
5224 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
5225 (debug_to_notice_signals, debug_to_thread_alive)
5226 (normal_target_post_startup_inferior, normal_pid_to_str)
5227 (debug_to_post_startup_inferior): Likewise.
5228 * target.h (to_resume, to_wait, to_post_wait)
5229 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
5230 (to_pid_to_str [all in struct target_ops]): Likewise.
5231 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
5232 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
5233 (attach_thread, detach_thread, thread_db_resume, check_event)
5234 (thread_db_post_startup_inferior, thread_db_thread_alive)
5235 (thread_db_pid_to_str): Likewise.
5236 * thread.c (add_thread, delete_thread, find_thread_pid)
5237 (pid_to_thread_id, in_thread_list, load_infrun_state)
5238 (save_infrun_state, switch_to_thread, restore_current_thread)
5239 (make_cleanup_restore_current_thread): Likewise.
5240 * top.c (target_wait_hook): Likewise.
5241 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
5242 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
5243 (uw_thread_pid_to_str): Likewise.
5244 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
5245 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
5246 (cywin_pid_to_str): Likewise.
5247 * wince.c (child_wait, child_resume, win32_child_thread_alive):
5248 Likewise.
5249 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
5250 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
5251 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
5252 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
5253 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
5254 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
5255 (procfs_set_watchpoint): Likewise.
5256 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
5257 * config/i386/nm-ptx4.h (child_wait): Likewise.
5258 * config/i386/nm-symmetry.h (child_wait): Likewise.
5259 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
5260 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
5261 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
5262 (lin_lwp_attach_lwp): Likewise.
5263 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
5264 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
5265 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
5266 (hppa_pid_or_tid_to_str): Likewise.
5267 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
5268 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
5269 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
5270 (procfs_set_watchpoint): Likewise.
5271
5272 * gdbthread.h (thread_id_to_pid): Change return type which
5273 represents a combined process/thread id from ``int'' to
5274 ``ptid_t''.
5275 * gnu-nat.c (gnu_wait): Likewise.
5276 * go32-nat.c (go32_wait): Likewise.
5277 * hpux-thread.c (hpux_thread_wait): Likewise.
5278 * inferior.h (procfs_first_available): Likewise.
5279 * inftarg.c (child_wait): Likewise.
5280 * infttrace.c (ptrace_wait): Likewise.
5281 * lin-lwp.c (lin_lwp_wait): Likewise.
5282 * lin-thread.c (thread_db_wait): Likewise.
5283 * linux-thread.c (linuxthreads_wait): Likewise.
5284 * lynx-nat.c (child_wait): Likewise.
5285 * m3-nat.c (mach_really_wait): Likewise.
5286 * mac-nat.c (child_wait): Likewise.
5287 * monitor.c (monitor_wait): Likewise.
5288 * ppc-bdm.c (bdm_ppc_wait): Likewise.
5289 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
5290 * remote-adapt.c (adapt_wait): Likewise.
5291 * remote-array.c (array_wait): Likewise.
5292 * remote-bug.c (bug_wait): Likewise.
5293 * remote-e7000.c (e7000_wait): Likewise.
5294 * remote-eb.c (eb_wait): Likewise.
5295 * remote-es.c (es1800_wait): Likewise.
5296 * remote-mips.c (mips_wait): Likewise.
5297 * remote-mm.c (mm_wait): Likewise.
5298 * remote-nindy.c (nindy_wait): Likewise.
5299 * remote-os9k (rombug_wait): Likewise.
5300 * remote-rdi.c (arm_rdi_wait): Likewise.
5301 * remote-rdp.c (remote_rdp_wait): Likewise.
5302 * remote-sds.c (sds_wait): Likewise.
5303 * remote-sim.c (gdbsim_wait): Likewise.
5304 * remote-st.c (st2000_wait): Likewise.
5305 * remote-udi.c (udi_wait): Likewise.
5306 * remote-vx.c (vx_wait): Likewise.
5307 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
5308 (remote_cisco_wait): Likewise.
5309 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
5310 Likewise.
5311 * symm-nat.c (child_wait): Likewise.
5312 * target.c (debug_to_wait): Likewise.
5313 * target.h (to_wait [in struct target_ops]): Likewise.
5314 * thread.c (thread_id_to_pid): Likewise.
5315 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
5316 Likewise.
5317 * top.c (*target_wait_hook): Likewise.
5318 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
5319 * v850ice.c (v850ice_wait): Likewise.
5320 * win32-nat.c (child_wait): Likewise.
5321 * wince.c (child_wait): Likewise.
5322 * config/nm-lynx.h (child_wait): Likewise.
5323 * config/i386/nm-ptx4.h (child_wait): Likewise.
5324 * config/i386/nm-symmetry.h (child_wait): Likewise.
5325
5326 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
5327 to wait_ptid and change its type from ``int'' to ``ptid_t''.
5328 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
5329 but rename saved_inferior_pid to saved_inferior_ptid.
5330 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
5331 save_pid to save_ptid.
5332 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
5333 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
5334 saved_inferior_pid to saved_inferior_ptid.
5335 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
5336 * infrun.c (previous_inferior_pid [static global]): Likewise,
5337 but rename to previous_inferior_ptid.
5338 (resume): Likewise, but rename resume_pid to resume_ptid.
5339 (struct execution_control_state): Likewise, but rename
5340 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
5341 and waiton_pid to waiton_ptid.
5342 (target_last_wait_pid): Likewise, but rename to
5343 target_last_wait_ptid.
5344 * infttrace.c (saved_real_pid): Likewise, but rename to
5345 saved_real_ptid.
5346 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
5347 to saved_inferior_ptid.
5348 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
5349 (trap_ptid): Likewise, but renamed from trap_pid.
5350 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
5351 to gdb_ptid.
5352 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
5353 (thread_db_wait): Likewise, but rename ret_pid to retptid.
5354 * procfs.c (procfs_wait): Likewise, for retval whose name
5355 doesn't change. Also, ``temp'' becomes two separate variables,
5356 one named temp_tid (an int) and the other temp_ptid.
5357 (procfs_notice_thread): Likewise (type change) for gdb_threadid
5358 whose name does not change.
5359 * regcache.c (registers_ptid): Likewise, but renamed from
5360 registers_pid.
5361 (read_register_pid, read_signed_register_pid, write_register_pid):
5362 Likewise, but rename save_pid to save_ptid.
5363 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
5364 to saved_inferior_ptid.
5365 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
5366 * sol-thread.c (struct ps_prochandle): Likewise.
5367 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
5368 (sol_thread_wait): Likewise, for rtnval whose name does not
5369 change, and for save_pid which becomes save_ptid.
5370 (solaris_pid_to_str): Likewise for lwp whose name does not change.
5371 (sol_find_new_threads_callback): Likewise, for pid which becomes
5372 ptid.
5373 * target.h (target_resume, target_wait, target_post_wait)
5374 (target_post_startup_inferior, target_notice_signals)
5375 (target_thread_alive): Likewise.
5376 * thread.c (info_threads_command): Likewise, but rename
5377 current_pid to current_ptid.
5378 (struct current_thread_cleanup): Likewise, but rename field
5379 inferior_pid to inferior_ptid.
5380 * thread-db.c (find_new_threads_callback): Likewise, but rename
5381 pid to ptid.
5382 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
5383 change.
5384 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
5385 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
5386 but rename pid to ptid.
5387 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
5388 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
5389 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
5390 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
5391 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
5392 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
5393
5394 * arch-utils.c (generic_prepare_to_proceed): Test for the
5395 "zero" ptid by using ptid_equal() to test to see if variable
5396 in question is the same as null_ptid. This replaces a direct
5397 test against zero.
5398 * cxux-nat.c (add_shared_symbol_files): Likewise.
5399 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
5400 * infcmd.c (run_command): Likewise.
5401 * inflow.c (kill_command): Likewise.
5402 * infttrace.c (call_ttrace): Likewise.
5403 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
5404 * lin-thread.c (thread_db_kill): Likewise.
5405 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
5406 * remote-es.c (es1800_kill): Likewise.
5407 * sol-thread.c (sol_thread_create_inferior): Likewise.
5408 * solib.c (locate_base): Likewise.
5409 * target.c (nosupport_runtime): Likewise.
5410 * thread-db.c (thread_db_wait): Likewise.
5411 * top.c (quit_confirm, quit_force): Likewise.
5412 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
5413
5414 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
5415 Use ptid_equal to compare value of process/thread ids instead of
5416 ``=='' and ``!='' operators.
5417 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
5418 (stop_wait_callback, lin_lwp_wait): Likewise.
5419 * procfs.c (procfs_wait): Likewise.
5420 * regcache.c (read_register_bytes, read_register_gen)
5421 (write_register_gen, read_register, read_register_pid)
5422 (read_signed_register, read_signed_register_pid, write_register)
5423 (write_register_pid, supply_register): Likewise.
5424 * remote-vx.c (vx_resume): Likewise.
5425 * sol-thread.c (sol_thread_wait): Likewise.
5426 * symm-nat.c (kill_inferior): Likewise.
5427 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
5428 (in_thread_list, info_threads_command, switch_to_thread)
5429 (restore_current_thread): Likewise.
5430 * uw-thread (libtread_stub): Likewise.
5431
5432 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
5433
5434 * corelow.c (add_to_thread_list): Convert argument in add_thread()
5435 call to a ptid_t.
5436 * gnu-nat.c (inf_validate_procs): Likewise.
5437 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
5438 * remote.c (record_currthread, remote_threads_info): Likewise.
5439 * win32-nat.c (child_add_thread): Likewise.
5440
5441 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
5442 respectively, to save_inferior_ptid() and restore_inferior_ptid().
5443 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
5444 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
5445 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
5446 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
5447 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
5448 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
5449 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
5450
5451 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
5452 to be passed to target_resume() when all threads should resume.
5453 (resume): Set resume_ptid to RESUME_ALL rather than -1.
5454 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
5455 instead of -1.
5456 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
5457 a ptid_t in target_resume() call.
5458 * osfsolib.c (solib_create_inferior_hook): Likewise.
5459 * solib-svr4.c (solib_create_inferior_hook): Likewise.
5460
5461 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
5462 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
5463 difference being that the 0xffff pattern will be interpreted
5464 as -1.
5465 * lin-thread.c (PIDGET, PIDGET0): Likewise.
5466 * thread-db.c (PIDGET, PIDGET0): Likewise.
5467 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
5468 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
5469 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
5470 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
5471
5472 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
5473 mach_really_wait rather than mach_really__wait.
5474 * lin-thread.c (check_for_thread_event): Fix warning; make function
5475 actually return a value.
5476
5477 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
5478 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
5479 pid to ptid.
5480 * gdbarch.h, gdbarch.c: Regenerated.
5481
31e28849
JL
54822001-05-03 Jonathan Larmour <[email protected]>
5483
5484 * rdi-share/devsw.c: Include <time.h> for struct tm
5485
8d341142
EZ
54862001-05-03 Eli Zaretskii <[email protected]>
5487
5488 * config/djgpp/fnchange.lst: Add mappings for the new
5489 opcodes/openrisc-* files.
5490
9572d2b6
MS
54912001-05-01 Michael Snyder <[email protected]>
5492
9085700c 5493 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
5494 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
5495
977adac5
ND
54962001-05-01 Nicholas Duffek <[email protected]>
5497
5498 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
5499 (rs6000_in_solib_return_trampoline): Declare.
5500 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
5501 function.
5502 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
5503 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
5504 check after the CSECT check rather than before it. Allocate
5505 separate symtabs for CSECTs whose names begin with '@'.
5506 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
5507 Activate the misc_func_recorded mechanism for whose names begin
5508 with '@'.
5509
6d799331
C
55102001-04-30 J.T. Conklin <[email protected]>
5511
5512 * ppcnbsd-nat.c (fetch_inferior_registers)
5513 (store_inferior_registers, fetch_core_registers): Changed to use
5514 fpreg[] instead of r_regs[] to access floating point registers.
5515
7f4dbe94
EZ
55162001-04-30 Elena Zannoni <[email protected]>
5517
5518 * sh-tdep.c: Get rid of the function prototypes.
5519 (sh_sh4_build_float_register_type): Move earlier in file.
5520 (fv_reg_base_num): Ditto.
5521 (dr_reg_base_num): Ditto.
5522
540af400
MS
55232001-04-30 Michael Snyder <[email protected]>
5524
5525 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
5526 * lin-lwp.c: Ditto.
5527 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
5528 command to turn extra debugging output on / off.
540af400 5529
f5a6fc05
EZ
55302001-04-30 Eli Zaretskii <[email protected]>
5531
5532 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
5533 (top-level): #include filenames.h.
5534
5535 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
5536 FILENAME_CMP, to DTRT on non-Posix platforms.
5537 (top-level): #include filenames.h.
5538
5539
502dcf4e
AC
55402001-04-27 Andrew Cagney <[email protected]>
5541
5542 * gdbtypes.c (check_stub_method): Always initialize ``p''.
5543
cc3f9cbb
AC
55442001-04-27 Andrew Cagney <[email protected]>
5545
5546 * configure.host: Delete romp host.
5547 * TODO: Update.
5548
ed9c5cf2
AC
55492001-04-27 Andrew Cagney <[email protected]>
5550
5551 * TODO: Updates to 5.1. No more targets to obsolete.
5552
d1a310e7
DH
55532001-04-27 Don Howard <[email protected]>
5554
128437e6
DH
5555 (Changes from Kevin Buettner, with minor update by Don Howard.)
5556
5557 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
5558 typos in which hexadecimal constants were really intended to be
5559 binary constants.
5560 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
5561 * MAINTAINERS (Misc): Added myself to the write-after-approval
5562 list.
5563
015a42b4
JB
55642001-04-26 Jim Blandy <[email protected]>
5565
5566 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
5567
5568 Abstract out operations specific to particular C++ ABI's, and
5569 invoke them through a function table. This removes the C++ ABI
5570 dependencies scattered throughout the code, and allows us to
5571 cleanly add support for new C++ ABI's.
5572 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
5573 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
5574 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
5575 #include "cp-abi.h". These files all use functions now declared
5576 there.
5577 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
5578 Deleted. These services are now provided by functions declared in
5579 cp-abi.h.
5580 * value.h (value_rtti_type, value_virtual_fn_field): Same.
5581 * values.c (value_virtual_fn_field): Same, for this definition.
5582 * valops.c (value_rtti_type): Same.
5583 * c-typeprint.c (c_type_print_base): Use the functions from
5584 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
5585 tests.
5586 * dbxread.c (record_minimal_symbol): Same.
5587 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
5588 virtual_base_index_skip_primaries): Same.
5589 * jv-typeprint.c (java_type_print_base): Same.
5590 * linespec.c (find_methods, decode_line_1): Same.
5591 * symtab.c (gdb_mangle_name): Same.
5592 * Makefile.in (SFILES): Add the new .c files mentioned above.
5593 (cp_abi_h): New variable.
5594 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
5595 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
5596 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
5597 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
5598 dependency on $(cp_abi_h).
5599
f3fb8c85
MS
56002001-04-26 Michael Snyder <[email protected]>
5601
20b8570d
MS
5602 * thread-db.c (_initialize_thread_db): Add set/show command
5603 "debug-linux-threads" for debugging output.
5604 * lin-lwp.c (various): Use global "debug_linux_threads to
5605 turn on extra debugging output.
4c8de859 5606 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
5607 * target.c (normal_pid_to_str): Get rid of an ancient hack.
5608 * remote.c (remote_pid_to_str): New function for remote target.
5609
7f0b5c30
JB
56102001-04-24 Jim Blandy <[email protected]>
5611
5612 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
5613 qualifier on C++ references; all references are innately const.
5614
0af5533d
MK
56152001-04-20 Mark Kettenis <[email protected]>
5616
5617 * event-top.h: Fix formatting.
5618
d036b4d9
AC
56192001-04-17 Andrew Cagney <[email protected]>
5620
5621 * source.c (openp): Obsolete #ifdef MPW code.
5622 (open_source_file): Ditto.
5623 * event-top.c (display_gdb_prompt): Ditto.
5624 * utils.c (query): Ditto.
5625 (init_page_info): Ditto.
5626 (init_page_info): Delete #ifndef MPW.
5627 * top.c (gdb_readline): Ditto.
5628 * mac-xdep.c: Obsolete.
5629 * mac-gdb.r: Obsolete.
5630 * config/powerpc/xm-mpw.h: Obsolete.
5631 * config/xm-mpw.h: Obsolete.
5632 * mpw-make.sed: Obsolete.
5633 * mpw-config.in: Obsolete.
5634 * TODO: Update
5635 * NEWS: Update
5636
539ffe0b
MK
56372001-04-19 Mark Kettenis <[email protected]>
5638
5639 * i386-tdep.c (i386_frameless_function_invocation): New function.
5640 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
5641 in terms of i386_frameless_function_invocation. Adjust comment.
5642 (i386_frameless_function_invocation): New prototype.
5643
67e1e03a
MH
56442001-04-18 Martin M. Hunt <[email protected]>
5645
5646 * top.c (gdb_init): Don't call cli_out_new() to
5647 create global uiout if init_ui_hook is set. uiout will
5648 have to be initialized there.
5649
fbec36e2
AC
56502001-04-18 Andrew Cagney <[email protected]>
5651
5652 * arch-utils.c: Include "regcache.h".
5653
ed84f6c1
MK
56542001-04-18 Mark Kettenis <[email protected]>
5655
5656 * i386-tdep.c (i386_saved_pc_after_call): New function.
5657 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
5658 of i386_saved_pc_after_call.
5659 (i386_saved_pc_after_call): New prototype.
5660
c60a7562
MS
56612001-04-17 Michael Snyder <[email protected]>
5662
c9e030cf 5663 * i386-nat.c: Fix typo in comment.
c60a7562
MS
5664 * solib.c (no_shared_libraries): New function. Discard all symbols
5665 from shared libraries.
5666 (_initialize_solib): Add command "nosharedlibrary" as complement
5667 to the command "sharedlibrary". Unloads symbols for all solibs.
5668
514e603d
AC
56692001-04-16 Andrew Cagney <[email protected]>
5670
5671 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
5672 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
5673 (m68*-est-*, m68*-sony-*, m68*-isi-*):
5674 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
5675 * config/m68k/xm-news.h: Obsolete.
5676 * config/m68k/tm-news.h:
5677 * config/m68k/xm-news1000.h: Obsolete.
5678 * config/m68k/news.mh: Obsolete.
5679 * config/m68k/news.mt: Obsolete.
5680 * config/m68k/nm-news.h: Obsolete.
5681 * config/m68k/news1000.mh: Obsolete.
5682 * news-xdep.c: Obsolete.
5683 * Makefile.in (isi-xdep.o): Obsolete.
5684 (ALLDEPFILES): Delete isi-xdep.c.
5685 (tm-isi.h): Obsolete.
5686 * m68k-tdep.c (altos_skip_prologue): Update comments.
5687 (isi_skip_prologue): Obsolete.
5688 * isi-xdep.c: Obsolete.
5689 * config/m68k/xm-isi.h: Obsolete.
5690 * config/m68k/isi.mh: Obsolete.
5691 * config/m68k/tm-isi.h: Obsolete.
5692 * config/m68k/isi.mt: Obsolete.
5693
5694 * TODO: Update.
5695 * NEWS: Update.
5696
6240bebf
MS
56972001-04-17 Michael Snyder <[email protected]>
5698
5699 * remote.c (remote_open_1): On opening the remote target, activate
5700 the solib_create_inferior_hook, so that it can detect when the
5701 target loads shared libraries.
5702 (remote_async_open_1): Ditto.
5703
75ac9d7b
MS
57042001-04-17 Michael Snyder <[email protected]>
5705
5706 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
5707 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
5708 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
5709 * testsuite/gdb.trace/infotrace.exp: Ditto.
5710 * testsuite/gdb.trace/passcount.exp: Ditto.
5711 * testsuite/gdb.trace/while-stepping.exp: Ditto.
5712
b9569773
MS
57132001-04-17 Michael Snyder <[email protected]>
5714
5715 * thread-db.c (check_thread_signals): When looping over all
5716 signals, ignore signal zero.
5717 (disable_thread_signals): Ditto.
5718
81490ea1
MS
57192001-04-17 Eirik Fuller <[email protected]>
5720
5721 * thread.c (do_captured_thread_select): Allow the argument to the
5722 thread command to be an expression rather than a literal integer.
5723
e5434c3d
MK
57242001-04-17 Mark Kettenis <[email protected]>
5725
5726 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
5727 read_memory_unsigned_integer instead of read_memory_integer.
5728
00c7912d
KB
57292001-04-16 Kevin Buettner <[email protected]>
5730
5731 * solib-aix5.c (map_index_vs_section_name_okay): New function.
5732 (aix5_relocate_main_executable): Don't use file offsets for
5733 determining corresponding sections and map file entries. Call
5734 map_index_vs_section_name_okay() to do this instead.
5735
4d1bcd09
KB
57362001-04-16 Kevin Buettner <[email protected]>
5737
5738 * procfs.c (open_with_retry): New function.
5739 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
5740 (proc_get_LDT_entry): Call open_with_retry() instead of open().
5741
097e5c0b 57422001-04-16 Kevin Buettner <[email protected]>
1186f287
KB
5743
5744 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
5745 comparison against TRAP_HWBKPT constant yet again to account
5746 for the various values used by different kernel versions.
5747
9e0c176c
DB
57482001-04-16 Daniel Berlin <[email protected]>
5749
5750 * demangle.c (_initialize_demangler): Use xcalloc on the
5751 demangling_style_names, and make it a null terminated array of
5752 names, to avoid a crash.
5753
c833a37e
MK
57542001-04-16 Mark Kettenis <[email protected]>
5755
5756 * i386-tdep.c (i386_frame_chain): New function.
5757 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
5758 i386_frame_chain.
5759 (i386_frame_chain): New prototype.
5760
46c6cdcf
C
57612001-04-14 J.T. Conklin <[email protected]>
5762
5763 * target.h (target_ops): Removed to_core_file_to_sym_file vector
5764 function.
5765 * corelow.c (core_ops): Updated for above change.
5766 * gnu-nat.c (core_ops): Likewise.
5767 * inftarg.c (child_ops): Likewise.
5768 * monitor.c (monitor_ops): Likewise.
5769 * ppc-bdm.c (bdm_ppc_ops): Likewise.
5770 * remote-adapt.c (adapt_ops): Likewise.
5771 * remote-bug.c (bug_ops): Likewise.
5772 * remote-e7000.c (e7000_ops): Likewise.
5773 * remote-eb.c (eb_ops): Likewise.
5774 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
5775 * remote-mm.c (mm_ops): Likewise.
5776 * remote-nindy.c (nindy_ops): Likewise.
5777 * remote-nrom.c (nrom_ops): Likewise.
5778 * remote-os9k.c (rombug_ops): Likewise.
5779 * remote-rdp.c (remote_rdp_ops): Likewise.
5780 * remote-sim.c (gdbsim_ops): Likewise.
5781 * remote-st.c (st2000_ops): Likewise.
5782 * v850ice.c (v850ice_ops): Likewise.
5783 * target.c (cleanup_target): Likewise
5784 (update_current_target): Likewise.
5785 (setup_target_debug): Likewise
5786 (debug_to_core_file_to_sym_file): Removed.
5787
5788 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
5789 sets symbol file from information obtained from the core file.
5790 * corelow.c (core_file_to_sym_file): Removed.
5791
d1566ff5
FN
57922001-04-13 Fernando Nasser <[email protected]>
5793
5794 From Adam Mirowski <[email protected]>
5795 Fixed Insight on Solaris. It was not possible to debug a process
5796 because of EINTR "errors".
5797 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
5798 with EINTR, retry the call.
5799
6c98e688
KB
58002001-04-12 Kevin Buettner <[email protected]>
5801
5802 * solib-aix5.c (enum maptype): Delete.
5803 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
5804 member a pointer instead of a statically sized array.
5805 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
5806 array.
5807 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
5808 aix5_find_global_pointer): Search for correct mapping to use
5809 based on file offset instead of knowledge of whether the section
5810 is read-only or read/write.
5811 (aix5_find_gate_addresses): Use the first mapping instead of
5812 the (now defunct) MT_READONLY mapping.
5813
49282387
ND
58142001-04-12 Nicholas Duffek <[email protected]>
5815
5816 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
5817 "@".
5818
7f6b83a5
KB
58192001-04-12 Kevin Buettner <[email protected]>
5820
5821 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
5822
24f89b68
AC
58232001-04-09 Andrew Cagney <[email protected]>
5824
5825 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
5826 * config/i386/sun386.mh: Obsolete.
5827 * config/i386/sun386.mt: Obsolete.
5828 * config/i386/xm-sun386.h: Obsolete.
5829 * config/i386/tm-sun386.h: Obsolete.
5830 * config/i386/nm-sun386.h: Obsolete.
5831 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
5832 (sun386-nat.o): Target is obsolete.
5833 * sun386-nat.c: Obsolete.
5834 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
5835 * configure.host (i[3456]86-*-sunos*): Obsolete.
5836 * NEWS: Update.
5837 * TODO: Update.
5838
c114dcd5
C
58392001-04-10 J.T. Conklin <[email protected]>
5840
5841 * maint.c: Fix typo in comment.
5842
6755f5ad
KS
58432001-04-09 Keith Seitz <[email protected]>
5844
5845 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
5846
7700434b
KB
58472001-04-08 Kevin Buettner <[email protected]>
5848
5849 * fork-child.c (fork_inferior, clone_and_follow_inferior):
5850 Document fact that apparent call to vfork() might actually be
5851 a call to fork() instead.
5852 * ser-pipe.c (pipe_open): Likewise.
5853
d493eb33
KB
58542001-04-08 Kevin Buettner <[email protected]>
5855
5856 * printcmd.c (print_frame_args): Use a cleanup to invoke
5857 ui_out_list_end() so that the list count nesting flag will
5858 be decremented properly when an error occurs.
5859 * stack.c (print_frame): Likewise.
5860
af471f3c
C
58612001-04-06 J.T. Conklin <[email protected]>
5862
c839c4db
C
5863 * dcache.c (dcache_write_line): Fixed bugs where cache line was
5864 not written to target correctly.
5865
af471f3c
C
5866 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
5867 void return value;
5868 * gdbserver/low-nbsd.c: Likewise.
5869 * gdbserver/low-sparc.c: Likewise.
5870 * gdbserver/low-sun3.c: Likewise.
5871
d8e275b4
GK
58722001-04-06 Geoffrey Keating <[email protected]>
5873
5874 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
5875 (PTRACE_DETACH): Don't define.
5876
e02bc4cc
DS
58772001-04-06 David Smith <[email protected]>
5878
5879 * arch-utils.c (default_prepare_to_proceed)
5880 (generic_prepare_to_proceed): Added new functions.
5881 * arch-utils.h: New function declarations for
5882 default_prepare_to_proceed() and generic_prepare_to_proceed().
5883 * gdbarch.sh: Added PREPARE_TO_PROCEED.
5884 * gdbarch.c: Regenerated.
5885 * gdbarch.h: Regenerated.
5886 * inferior.h: Added get_last_target_status() declaration.
5887 * infrun.c (get_last_target_status): Added new function.
5888 (handle_inferior_event): Saves last pid and waitstatus, which will
5889 get returned by get_last_target_status().
5890
5891 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
5892 prepare_to_proceed() is potentially redundant since
5893 default_prepare_to_proceed() has been added.
5894 * linux-thread.c (prepare_to_proceed): Ditto.
5895 * lin-lwp.c (prepare_to_proceed): Ditto.
5896 * m3-nat.c (prepare_to_proceed): Ditto.
5897
1b2b2c16
AC
58982001-04-05 Andrew Cagney <[email protected]>
5899
5900 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
5901 and powerpc-*-netware* target.
5902 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
5903 Obsolete.
5904 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
5905 (powerpcle-*-solaris*): Obsolete.
5906 * config/powerpc/tm-cygwin.h: Obsolete.
5907 * config/powerpc/cygwin.mt: Obsolete.
5908 * config/powerpc/xm-cygwin.h: Obsolete.
5909 * config/powerpc/cygwin.mh: Obsolete.
5910 * config/powerpc/nm-solaris.h: Obsolete.
5911 * config/powerpc/xm-solaris.h: Obsolete.
5912 * config/powerpc/tm-solaris.h: Obsolete.
5913 * config/powerpc/solaris.mt: Obsolete.
5914 * config/powerpc/tm-ppc-nw.h: Obsolete.
5915 * config/powerpc/ppc-nw.mt: Obsolete.
5916 * TODO: Update.
5917 * NEWS: Update.
5918
063fd668
FN
59192001-04-06 Fernando Nasser <[email protected]>
5920
5921 * buildsym.c (record_line): Turn off unused addr bits.
5922
a250df2e
FN
59232001-04-06 Fernando Nasser <[email protected]>
5924
5925 From David Deephanphongs <[email protected]>
5926 * inferior.h: Fix declarations of get_inferior_args and
5927 set_inferior_args, which were missing the trailing 's'.
5928
1fcef334
JH
59292001-04-05 Jeff Holcomb <[email protected]>
5930
5931 * monitor.c (monitor_supply_register): Only report an error if we
5932 don't get a valid value.
5933
f032fb6e
EZ
59342001-04-05 Eli Zaretskii <[email protected]>
5935
5936 * README: Don't mention gdba.el.
5937
0191bed7
EZ
59382001-04-05 Elena Zannoni <[email protected]>
5939
5940 From Jimmy Guo <[email protected]>
5941 * top.c (init_main): set prompt if annotation_level>1,
5942 this is necessary when annotation_level is set to 2 via
5943 --annotate=2 command line option.
5944
4a1968f4
AC
59452001-04-04 Andrew Cagney <[email protected]>
5946
5947 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
5948 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
5949 * configure.host (a29k-*-*): Obsolete.
5950 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
5951 ultra3-xdep.c.
5952 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
5953 * config/a29k/tm-ultra3.h: Obsolete.
5954 * config/a29k/ultra3.mt: Obsolete.
5955 * config/a29k/ultra3.mh: Obsolete.
5956 * config/a29k/nm-ultra3.h: Obsolete.
5957 * config/a29k/xm-ultra3.h: Obsolete.
5958 * ultra3-xdep.c: Obsolete.
5959 * ultra3-nat.c: Obsolete.
5960 * config/a29k/a29k-kern.mt: Obsolete.
5961 * NEWS: Update.
5962 * TODO: Update.
5963
608506ed
CF
5964Wed Apr 4 21:48:42 2001 Christopher Faylor <[email protected]>
5965
5966 * main.c: Remove windows.h use.
5967 (gdbtk_test): Use PATH_MAX for home var calculation.
5968 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
5969 Win32 in colon test.
5970 * ser-tcp.c: Use modern __CYGWIN__ conditional.
5971 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
5972 (openp): Ditto.
5973 * symfile.c (symfile_bfd_open): Ditto.
608506ed 5974
6457bd47
MH
59752001-04-04 Martin M. Hunt <[email protected]>
5976
5977 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
5978 Handle all stream setup in gdbtk_init
5979
3df1b9b4
MK
59802001-04-04 Mark Kettenis <[email protected]>
5981
5982 * i386-tdep.c (i386_extract_return_value): Don't return the return
5983 value of a void function.
5984 (i386_store_return_value): Likewise.
5985
76f4ea53
AC
59862001-04-03 Andrew Cagney <[email protected]>
5987
5988 Obsolete w65-*-* target.
5989 * configure.tgt (w65-*-*): Obsolete.
5990 * config/w65/w65.mt: Obsolete.
5991 * config/w65/tm-w65.h: Obsolete.
5992 * w65-tdep.c: Obsolete.
5993 * NEWS: Update. Fix TiC80 description.
5994 * TODO: Update.
5995
52071915
AC
59962001-04-03 Andrew Cagney <[email protected]>
5997
5998 Obsolete tic80-*-* target.
5999 * configure.tgt (tic80-*-*): Obsolete.
6000 * config/tic80/tic80.mt: Obsolete.
6001 * config/tic80/tm-tic80.h: Obsolete.
6002 * tic80-tdep.c: Obsolete.
6003 * TODO: Update
6004 * NEWS: Update.
6005
44eaed12
C
60062001-04-02 J.T. Conklin <[email protected]>
6007
ba79cc81
C
6008 * remote-mips.c (S_IROTH): Moved definition from here.
6009 * gdb_stat.h (S_IROTH): to here.
6010
44eaed12
C
6011 * remote.c (remote_protocol_e, remote_protocol_E): Define.
6012 (set_remote_protocol_e_packet_cmd)
6013 (set_remote_protocol_E_packet_cmd)
6014 (show_remote_protocol_e_packet_command)
6015 (show_remote_protocol_E_packet_command): New functions.
6016 (init_all_packet_configs): Initialize remote_protocol_e and
6017 remote_protocol_E.
6018 (remote_resume, remote_async_resume): Support e/E command
6019 packets.
6020 (show_remote_cmd): Show state of remote_protocol_e and
6021 remote_protocol_E.
6022 (_initialize_remote): Add "set remote step-over-range-packet"
6023 and "set remote step-over-range-w-signal-packet" to CLI.
6024
bb19ff3b
AC
60252001-04-01 Andrew Cagney <[email protected]>
6026
6027 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
6028 ns32k-utek-*.
6029 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
6030 (umax-xdep.o, ns32km3-nat.o): Obsolete.
6031 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
6032 Obsolete.
6033 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
6034 Obsolete.
6035 * config/ns32k/merlin.mh: Obsolete.
6036 * config/ns32k/merlin.mt: Obsolete.
6037 * config/ns32k/xm-merlin.h: Obsolete.
6038 * config/ns32k/tm-merlin.h: Obsolete.
6039 * config/ns32k/nm-umax.h: Obsolete.
6040 * config/ns32k/umax.mh: Obsolete.
6041 * config/ns32k/umax.mt: Obsolete.
6042 * config/ns32k/xm-umax.h: Obsolete.
6043 * umax-xdep.c: Obsolete.
6044 * config/ns32k/ns32km3.mh: Obsolete.
6045 * config/ns32k/ns32km3.mt: Obsolete.
6046 * config/ns32k/tm-ns32km3.h: Obsolete.
6047 * config/ns32k/xm-ns32km3.h: Obsolete.
6048 * ns32km3-nat.c: Obsolete.
6049 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
6050 (merlin_frame_num_args): Ditto.
6051 * NEWS: Update.
6052 * TODO: Update.
6053
d6259d75
EZ
60542001-04-02 Eli Zaretskii <[email protected]>
6055
6056 * config/djgpp/fnchange.lst: Tweak due to
6057 expect/example/chesslib.c.
6058
971ff545
KB
60592001-04-02 Kevin Buettner <[email protected]>
6060
6061 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
6062 unsigned int to unsigned long. Also, fix format string.
6063 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
6064 use an undeclared variable. Also, delete declaration and
6065 initialization of ``fp'' because it is otherwise unused.
6066 * remote-bug.c (sleep): Delete declaration.
6067 (bug_store_register, bug_write_memory, bug_read_memory)
6068 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
6069 format statements and cast certain sprintf() arguments to
6070 eliminate warnings.
6071 (bug_load): Likewise for call to printf_filtered().
6072 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
6073 assignment to ``pc''. The necessary assignment is done in
6074 hand_function_call() after the invocation of FIX_CALL_DUMMY().
6075
4e4f46a1
DB
60762001-03-20 Daniel Berlin <[email protected]>
6077
6078 * symtab.c (completion_list_add_name): Remove duplicate string checks,
6079 readline already does this, and it's much faster at it, too.
6080
ba8629a9
EZ
60812001-04-01 Eli Zaretskii <[email protected]>
6082
6083 * go32-nat.c: Minor tweaks, to pacify the ari script.
6084
7bf0983e
MK
60852001-04-01 Mark Kettenis <[email protected]>
6086
f7af9647
MK
6087 * i386-tdep.c (i386_extract_struct_value_address): New function.
6088 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
6089 in terms of i386_extract_struct_value_address.
6090 (i386_extract_struct_value_address): New prototype.
6091
7bf0983e
MK
6092 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
6093 value to `unsigned long'. Change type of `value' to `unsigned
6094 long'.
6095 (i386_linux_dr_set): Change type of second argument to `unsigned
6096 long'.
6097 (i386_linux_dr_set_control): Change type of first argument to
6098 `unsigned long'.
6099 (i386_linux_dr_get_status): Change type of return value to
6100 unsigned long.
6101 * config/i386/nm-linux.h (i386_linux_dr_set_control,
6102 i386_linux_dr_get_status): Adjust prototypes accordingly.
6103
6e4862ff
KB
61042001-03-31 Kevin Buettner <[email protected]>
6105
6106 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
6107 TRAP_HWBKPT constant to match that in the kernel headers for
6108 Linux/IA-64.
521f1f96 6109
1e8d0a7b
MK
61102001-03-31 Mark Kettenis <[email protected]>
6111
0afdd437
MK
6112 * i386bsd-nat.c: Include "gdb_assert.h".
6113 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
6114 already defined.
6115 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
6116 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
6117 i386bsd_dr_get_status): New functions.
6118 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
6119 (I386_USE_GENERIC_WATCHPOINTS): Define.
6120 Include "i386/nm-i386.h".
6121 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
6122 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
6123 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
6124 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
6125 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
6126 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
6127 ptrace request.
6128 * config.in, configure: Regenerate.
6129
4bcc3944
MK
6130 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
6131 register before enabling it by setting the control register.
6132 (i386_remove_aligned_watchpoint): Reset address register after
6133 disabling it by setting the control register.
6134
1e8d0a7b
MK
6135 * i386-tdep.c (i386_extract_return_value): If the type of the
6136 return value is TYPE_STRUCT and the number of fields is one, call
6137 ourselves with TYPE set tp the type of the first field.
6138 (i386_store_return_value): Likewise.
6139 This fixes a problem with returning structs consisting of a single
6140 `float' or `double' on *BSD.
6141
95a85621
MK
61422001-03-30 Mark Kettenis <[email protected]>
6143
40564aca
MK
6144 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
6145 we're absolutely sure we're going to resume it.
6146
95a85621
MK
6147 * thread-db.c (check_event): Don't report an error if we encounter
6148 a thread creation event for a thread that's already in the thread
6149 list, since that may legitemately happen. Instead only call
6150 attach_thread if it's not already in the thread list.
6151
2e94c453
AC
61522001-03-28 Andrew Cagney <[email protected]>
6153
6154 * config/pa/xm-hppah.h (malloc): Really delete declaration
6155 (MALLOC_INCOMPATIBLE): Really delete macro.
6156 * cli/cli-cmds.c (apropos_command): Use xcalloc.
6157
93d56215
AC
61582001-03-28 Andrew Cagney <[email protected]>
6159
6160 * configure.in (build_warnings): Add -Wuninitialized.
6161 * configure: Regenerate.
6162
6163 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
6164 * sparc-tdep.c (sparc64_push_arguments): Add default case to
6165 switch.
6166 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
6167 expression with if statement.
6168 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
6169 ``stack_size''.
6170 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
6171 (mips_dump_tdep): Fix setting of ef_mips_arch.
6172 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
6173 * dsrec.c (make_srec): Always initialize ``binbuf''.
6174 * monitor.c (monitor_read_memory_single): Do not pass an
6175 uninitialized buffer to monitor_error. Make ``i'' more local.
6176
381bab78
AC
61772001-03-28 Andrew Cagney <[email protected]>
6178
6179 * MAINTAINERS: Change ns32k target to ,-Werror.
6180
6181 * ns32k-tdep.c: Include "gdbcore.h"
6182 (flip_bytes): Change first argument to void*. Add forward
6183 declaration.
6184 (sign_extend): Add declaration.
6185 (merlin_frame_num_args): Add final else clause to if-else chain.
6186 (umax_frame_num_args): Ditto.
6187 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
6188 (flip_bytes): Ditto.
6189
b9511b9a
MK
61902001-03-28 Mark Kettenis <[email protected]>
6191
b05f2432
MK
6192 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
6193 config/i386/nm-linux.h (including comment).
6194 (i386_linux_frame_chain): New function implementing guts of the
6195 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
6196 instead of read_memory_integer.
6197 (i386_linux_frame_saved_pc): Removed doc pointing to
6198 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
6199 now lives in this file.
6200 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
6201 i386-linux-tdep.c (including comment).
6202 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
6203 (i386_linux_frame_chain): New prototype.
6204
0eebe06a
MK
6205 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
6206 make it work again.
6207 (NUM_FREGS): Redefine to 0.
6208 (NUM_REGS): Redefine as NUM_GREGS.
6209 (i386_register_byte, i386_register_raw_size): Update from
6210 i386-tdep.c. Add comment about their origin.
6211 (regmap, register_u_addr): Take these from i386-linux-nat.c.
6212 (i386_register_u_addr): Removed.
6213
b9511b9a
MK
6214 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
6215 fails instead of calling perror_with_name. This should fix
6216 debugging remote i386 targets with a native Linux/x86 GDB. Add
6217 FIXME for this hack.
6218
3172dc30
C
62192001-03-19 J.T. Conklin <[email protected]>
6220
6221 * arch-utils.c (#include "gdbthread.h"): Removed.
6222 (#include "symfile.h"): Removed.
6223 (XMALLOC): Removed unused macro.
6224 * breakpoint.c (tbreak_command): Removed local declaration.
6225 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
6226 Remove duplicate declarations.
6227 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
6228 (remove_solib_event_breakpoints): Fix indentation botch.
6229 * c-typeprint.c (#include "command.h"): Removed.
6230 (#include "gdbcmd.h"): Removed.
6231 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
6232 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
6233 Removed duplicate declarations.
6234 * ch-typeprint.c (#include "command.h"): Removed.
6235 (#include "gdbcmd.h"): Removed.
6236 * corefile.c (#include "frame.h"): Removed
6237 (#include "symfile.h"): Removed.
6238 (#include "language.h"): Removed.
6239 * dbxread.c (#include "command.h"): Removed.
6240 * environ.c (#include "gdbcore.h"): Removed.
6241 * event-loop.c (#include "top.h"): Removed.
6242 * f-typeprint.c (#include "command.h"): Removed.
6243 (#include "gdbcmd.h"): Removed.
6244 (#include "language.h"): Removed.
6245 (#include "typeprint.h"): Removed.
6246 (#include "frame.h"): Removed.
6247 * gdbtypes.h (print_type_scalar): Removed declaration.
6248 * infcmd.c (#include "completer.h"): Removed.
6249 * language.c (#include "frame.h"): Removed.
6250 * m2-typeprint.c (#include "command.h"): Removed.
6251 (#include "gdbcmd.h"): Removed.
6252 (#include "language.h"): Removed.
6253 * m2-valprint.c (#include "valprint.h"): Removed.
6254 * p-typeprint.c (#include "command.h"): Removed.
6255 (#include "gdbcmd.h"): Removed.
6256 * p-valprint.c (#include "typeprint.h"): Removed.
6257 * parse.c (#include "linespec.h"): Removed.
6258 * regcache.c (#include "frame.h"): Removed.
6259 * remote.c (#include "frame.h"): Removed.
6260 (getpkt_sane): Make static.
6261 * source.c (#include "completer.h"): Removed.
6262 * stack.c (#include "symfile.h"): Removed.
6263 (#include "objfiles.h"): Removed.
6264 * symfile.c (#include "completer.h"): Removed.
6265 * tracepoint.c (#include "completer.h"): Removed.
6266 * values.c (#include "frame.h"): Removed.
6267 * varobj.c (#include "valprint.h"): Removed.
6268 * wrapper.c (#include "frame.h"): Removed.
6269
6270 * memattr.c (create_mem_region): Removed unused variable.
6271 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
6272
397b41ad
NC
62732001-03-27 Nick Clifton <[email protected]>
6274
6275 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
6276
ed817e68
KB
62772001-03-27 Kevin Buettner <[email protected]>
6278
6279 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
6280 of free().
6281
b75e0a6b
EZ
62822001-03-27 Eli Zaretskii <[email protected]>
6283
6284 * TODO (Cleanups): Remove the item about converting docs to GFDL.
6285
2fc3ac7e
KB
62862001-03-26 Kevin Buettner <[email protected]>
6287
6288 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
6289 type of ``bundle'' from unsigned char * to char *.
6290 (ia64_get_saved_register): Use alloca() to allocate register
6291 buffers.
6292
224d8953
KB
6293 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
6294
37de36c6
KB
62952001-03-26 Kevin Buettner <[email protected]>
6296
6297 * proc-utils.h (procfs_ctl_t): New typedef.
6298 * proc-api.c (write_with_trace): Change type of ``opcode'' from
6299 long to procfs_ctl_t. Don't assume that the target has defined
6300 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
6301 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
6302 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
6303 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
6304 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
6305 Conditionally define as appropriate for AIX/non-AIX systems. Use
6306 these defines/typedefs as appropriate elsewhere in file.
6307 (struct procinfo): Change type of saved_sigset and saved_sighold
6308 from sigset_t to gdb_sigset_t. Make saved_exitset and
6309 saved_entryset pointer variables. Add two new fields, num_syscalls
6310 and syscall_names.
6311 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
6312 (sysset_t_size, sysset_t_alloc): New functions.
6313 (load_syscalls, free_syscalls, find_syscall): New functions for
6314 platforms which define DYNAMIC_SYSCALLS.
6315 (create_procinfo): Call load_syscalls.
6316 (destroy_one_procinfo): Call free_syscalls.
6317 (GDBRESET): Don't define twice.
6318 (proc_modify_flag): Change type of operation code array `arg'
6319 from long to procfs_ctl_t.
6320 (proc_stop_process, proc_wait_for_stop, proc_run_process)
6321 (proc_set_traced_signals, proc_set_traced_faults)
6322 (proc_set_traced_sysentry, proc_set_traced_sysexit)
6323 (proc_set_held_signals, proc_clear_current_fault)
6324 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
6325 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
6326 (proc_set_traced_sysentry): Dynamically allocate variable sized
6327 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
6328 (proc_set_traced_sysexit): Dynamically allocate variable
6329 sized struct gdb_proc_ctl_pcsexit. Also, free it at
6330 function exit.
6331 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
6332 for reading the sysset_t struct on AIX5.
6333 (procfs_debug_inferior): Don't assume that SYS_exit will be
6334 defined. Add new code for finding certain syscalls on AIX5.
6335 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
6336 (syscall_is_lwp_create): New functions.
6337 (procfs_wait): Restructured code which checks for certain
6338 system calls to use the new syscall_is_... functions.
6339 (procfs_notice_signals): Account for the fact that saved_entryset
6340 and saved_exitset in struct procinfo are now pointers.
6341
25d53da1
KB
63422001-03-26 Kevin Buettner <[email protected]>
6343
6344 * symtab.c (find_pc_sect_line): Revise method used for finding
6345 the ending pc.
6346
50e27f84
MK
63472001-03-26 Mark Kettenis <[email protected]>
6348
6349 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
6350 i386_linux_sigtramp_saved_sp): Make static.
6351 (i386_linux_frame_saved_pc): New function based on the old
6352 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
6353 of read_memory_integer.
6354 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
6355 (i386_linux_sigtramp_saved_pc): Remove prototype.
6356 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
6357 (i386_linux_frame_saved_pc): New prototype.
6358
1a5cef06
AC
63592001-03-26 Andrew Cagney <[email protected]>
6360
6361 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
6362 * TODO (GDB 5.1 - Cleanups): Update.
6363
af802127
AC
63642001-03-26 Andrew Cagney <[email protected]>
6365
6366 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
6367 HAVE_VFORK.
6368
22f8ba57
MK
63692001-03-26 Mark Kettenis <[email protected]>
6370
5b31405b
MK
6371 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
6372
22f8ba57
MK
6373 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
6374 functions.
6375 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
6376 (STORE_STRUCT_RETURN): Redefine in terms of
6377 i386_store_struct_return.
6378 (i386_push_arguments, i386_store_struct_return): New prototypes.
6379 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
6380 definition was identical to the definition in "i386/tm-i386.h" so
6381 the new definition should suffice too.
6382
49baf819 63832001-03-26 Eli Zaretskii <[email protected]>
4d277981 6384
b78a4f26
EZ
6385 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
6386 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
6387
4d277981
EZ
6388 * config/djgpp/djconfig.sh: Add copyright notice.
6389
6390 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
6391 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
6392 (top level) <string.h>: Include gdb_string.h instead.
6393 (dos_noop, dos_raw, dos_noflush_set_tty_state)
6394 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
6395
6396 * go32-nat.c (go32_create_inferior): Move the declaration of
6397 `environ' to here from the top level.
6398 (top level) <_initialize_go32_nat>: Remove redundant prototype.
6399 <gdb_string.h>: Include it instead of string.h.
6400 (store_register): Call register_buffer instead of accessing
6401 registers[] directly.
6402 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
6403 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
6404 the function names at the start of the line.
6405 (go32_set_dr): Throw internal_error if the argument is not a valid
6406 debug register number.
6407 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
6408 (go32_wait, go32_xfer_memory, go32_files_info)
6409 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
6410
8f3ee2ae
JB
64112001-03-25 Jim Blandy <[email protected]>
6412
6413 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
6414
6ec4c4bd
EZ
64152001-03-25 Elena Zannoni <[email protected]>
6416
6417 From Andrew Cagney <[email protected]>
6418
6419 * coffread.c: Include "gdb_assert.h".
6420 (coff_symtab_read): Cast the integer s_sclass to a long before
6421 casting it to a pointer.
6422
b9179dbc
EZ
64232001-03-25 Elena Zannoni <[email protected]>
6424
6425 From Andrew Cagney <[email protected]>
6426
6427 * coffread.c (coff_symtab_read): Initialize
6428 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
6429 the ``.ef'' info.
6430 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
6431
64c4637f
AC
64322001-03-23 Andrew Cagney <[email protected]>
6433
6434 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
6435 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
6436 multi-arch.
6437
6438 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
6439 * gdbarch.h, gdbarch.c: Re-generate.
6440
6441 * target.h (SOFTWARE_SINGLE_STEP_P)
6442 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
6443
61a0eb5b
AC
64442001-03-23 Andrew Cagney <[email protected]>
6445
6446 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
6447 * gdbarch.h, gdbarch.c: Regenerate.
6448
6449 * regcache.h (regcache_read, regcache_write): Declare.
6450 (registers, register_valid, register_buffer): Add note that these
6451 interfaces are deprecated.
6452
6453 * regcache.c: Include "gdb_assert.h".
6454 (legacy_write_register_gen): Rename write_register_gen.
6455 (legacy_read_register_gen): Rename read_register_gen.
6456 (regcache_read, regcache_write): New function.
6457 (read_register_gen, write_register_gen): New function.
6458 (write_register): Simplify. Use write_register_gen.
6459 (read_register): Ditto using read_register_gen.
6460 (read_signed_register): Ditto.
6461 (read_register_bytes): Ditto!!!!
6462 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
6463 replaced by gdbarch_register_read.
6464
6465 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
6466 deprecate.
6467
c2bd2ed9
JB
64682001-03-23 Jim Blandy <[email protected]>
6469
f34754ee
JB
6470 Fix from Dan Berlin:
6471
c2bd2ed9
JB
6472 * stabsread.c (read_cpp_abbrev): Properly construct the names of
6473 virtual function table pointer fields.
6474
c0e61796
AC
64752001-03-19 Andrew Cagney <[email protected]>
6476
6477 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
6478 xmrealloc): Move existing declarations to the one place and
6479 re-order to be consistent.
6480 (xmcalloc, xmfree): Declare.
6481 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
6482 declaration.
6483
6484 * utils.c (size_t): Delete #ifdef defining size_t.
6485 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
6486 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
6487 corresponding malloc, realloc, calloc.
6488 (mfree): Call free directly.
6489 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
6490 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
6491 function bodies to here.
6492 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
6493
c65ecaf3
AC
64942001-03-23 Andrew Cagney <[email protected]>
6495
6496 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
6497 ``shell_file'' static locals.
6498
6499 * jv-lang.c (java_link_class_type): Initialize ``field'' and
6500 ``method''.
6501
6502 * jv-valprint.c (java_value_print): Initialize ``next_element''.
6503
207e433e
MK
65042001-03-23 Mark Kettenis <[email protected]>
6505
6506 * config/i386/nm-i386.h: Fix formatting and change reference to
6507 i386-tdep.c to i386-nat.c.
6508
6c5cfe5b
DS
65092001-03-23 David Smith <[email protected]>
6510
6511 * configure.in: Corrected spelling errors.
6512 * configure: Regenerated.
6513
5300940c
AC
65142001-03-22 Andrew Cagney <[email protected]>
6515
6516 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
6517
17e78a56
AC
65182001-03-22 Andrew Cagney <[email protected]>
6519
6520 * Makefile.in (NTSSTART): Delete.
6521 (NTSOBS): Delete.
6522 (kdb): Delete target.
6523 * kdb-start.c, stuff.c: Mark as obsolete.
6524 * NEWS: Update.
6525
41899c04
AC
65262001-03-22 Andrew Cagney <[email protected]>
6527
6528 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
6529 compiles using an ISO-C compiler.
6530 (MALLOC_INCOMPATIBLE): Ditto.
6531 * linespec.c (decode_line_1): Delete hack to work around
6532 HPPA_COMPILER_BUG.
6533
88665544
AC
65342001-03-22 Andrew Cagney <[email protected]>
6535
6536 * exec.c (xfer_memory): Always initialize section.
6537 * infrun.c (normal_stop): Always initialize source_flag.
6538
a2061976
AC
65392001-03-22 Andrew Cagney <[email protected]>
6540
6541 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
6542 non-use of a continue address and typical use of ``q'' packet.
6543
e24d4c64
EZ
65442001-03-22 Eli Zaretskii <[email protected]>
6545
6546 Make DJGPP use the new unified support for hardware
6547 breakpoints and watchpoints on x86 targets:
6548
6549 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
6550 include nm-i386.h instead.
6551 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
6552 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
6553 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
6554 (target_stopped_data_address, target_insert_watchpoint)
6555 (target_remove_watchpoint, target_insert_hw_breakpoint)
6556 (target_remove_hw_breakpoint): Don't define.
6557 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
6558 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
6559 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
6560 functions from go32-nat.c.
6561
6562 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
6563
6564 * go32-nat.c <top level>: Remove prototypes for watchpoint-
6565 related functions. Remove definitions of watchpoint-related
6566 macros.
6567 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
6568 private cleanup_dregs function.
6569 (cleanup_dregs, go32_insert_watchpoint)
6570 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
6571 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
6572 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
6573 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
6574 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
6575
c26e1c2b
KB
65762001-03-21 Kevin Buettner <[email protected]>
6577
6578 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
6579 than two instead of generating an error.
6580
272ba48f
JB
65812001-03-21 Jim Blandy <[email protected]>
6582
6583 * cp-valprint.c: Reformat to bring into line with GNU coding
6584 standards.
6585
84346e11
MK
65862001-03-21 Mark Kettenis <[email protected]>
6587
6588 Make Linux use the new unified support for hardware breakpoints
6589 and watchpoints on x86 targets.
6590 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
6591 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
6592 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
6593 appropriate value if not already defined.
6594 (register_u_addr): New function.
6595 (kernel_u_size): New function.
6596 (i386_linux_dr_get, i386_linux_dr_set): New functions.
6597 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
6598 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
6599 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
6600 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
6601 (TARGET_HAS_HARDWARE_WATCHPOINTS,
6602 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
6603 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
6604 target_remove_watchpoint): Remove macros.
6605 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
6606 i386_remove_watchpoint): Remove prototypes.
6607 (register_u_addr): New prototype.
6608 (REGISTER_U_ADDR): Define in terms of register_u_addr.
6609 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
6610 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
6611 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
6612 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
6613 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
6614 i386-nat.o.
6615
13b57657
JB
66162001-03-21 Jim Blandy <[email protected]>
6617
f34754ee
JB
6618 Fix from Dan Berlin:
6619
13b57657
JB
6620 * linespec.c (find_methods): Whitespace differences aren't
6621 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 6622 them, not STREQ.
13b57657 6623
eee30e78
AC
66242001-03-21 Andrew Cagney <[email protected]>
6625
6626 * gdbarch.sh: Allow a non- multi-arch target to override a
6627 predicate.
6628 * gdbarch.h: Regenerate.
6629
b77be6cf
AC
66302001-03-21 Andrew Cagney <[email protected]>
6631
6632 * gdbarch.sh: Avoid use of ``!''.
6633
379d08a1
AC
66342001-03-20 Andrew Cagney <[email protected]>
6635
6636 * target.h (enum target_signal): Move definition from here.
6637 * defs.h (enum target_signal): To here.
6638
6639 * config/arc/tm-arc.h (arc_software_single_step): Change type of
6640 first parameter to enum target_signal.
6641 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
6642 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
6643 * rs6000-tdep.c (rs6000_software_single_step): Update.
6644
64485362
AC
66452001-03-20 Andrew Cagney <[email protected]>
6646
6647 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
6648 already defined.
6649
6650 From 2000-08-25 Stephane Carrez <[email protected]>:
6651 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
6652 or a reference ('a') can be in a pseudo register.
6653 * infcmd.c (do_registers_info): Must take into account the pseudo
6654 registers to print their value.
6655 (registers_info): Likewise.
6656 * stack.c (frame_info): Likewise.
6657 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
6658
52b98211
EZ
66592001-03-21 Eli Zaretskii <[email protected]>
6660
6661 Unified support for hardware breakpoints and watchpoints on
6662 x86 targets:
6663
6664 * config/i386/nm-i386.h: New file.
6665
6666 * config/i386/nm-i386.h: (i386_cleanup_dregs)
6667 (i386_insert_watchpoint, i386_remove_watchpoint)
6668 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
6669 (i386_stopped_data_address, i386_insert_hw_breakpoint)
6670 (i386_remove_hw_breakpoint): Declare prototypes.
6671 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
6672 Define if not already defined.
6673 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
6674 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
6675 (target_insert_watchpoint, target_remove_watchpoint)
6676 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
6677 to call the appropriate i386_* functions.
6678
6679 * i386-nat.c: New file.
6680
6681 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
6682 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
6683 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
6684 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
6685 (maint_show_dr): New variables.
6686 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
6687 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
6688 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
6689 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
6690 (i386_stopped_data_address, i386_stopped_by_hwbp)
6691 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
6692 functions.
6693 (_initialize_i386_nat): New function.
6694 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
6695 `show-debug-regs', sets maint_show_dr to non-zero value and
6696 activates debugging print-outs in functions which insert, remove,
6697 and test watchpoints and hardware breakpoints.
6698
6699 * Makefile.in (i386-nat.o): New target.
6700 (ALLDEPFILES): Add i386-nat.o.
6701
28e9e0f0
MK
67022001-03-21 Mark Kettenis <[email protected]>
6703
6704 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
6705 appropriate comment.
6706
e40eccb4
KB
67072001-03-20 Kevin Buettner <[email protected]>
6708
6709 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
6710 thread-db.o, and lin-lwp.o for thread support instead of
6711 linux-thread.o and lin-thread.o.
6712 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
6713 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
6714 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
6715 (lin_lwp_attach_lwp): Declare.
6716
bea7bb93
JB
67172001-03-20 Jim Blandy <[email protected]>
6718
f34754ee
JB
6719 Fix from Dan Berlin:
6720
bea7bb93
JB
6721 * Makefile.in: Clean up dependencies on ../include/demangle.h.
6722 (demangle_h): New variable.
6723 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
6724
b0ed3589
AC
67252001-03-20 Andrew Cagney <[email protected]>
6726
6727 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
6728 * breakpoint.c (bpstat_stop_status): Update.
6729 * infrun.c (handle_inferior_event): Ditto.
6730 * mips-tdep.c (mips_dump_tdep): Ditto.
6731 * infrun.c (resume): Ditto.
6732 * infptrace.c (child_resume): Ditto.
6733 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6734 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6735 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6736 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6737 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6738 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6739 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
6740
df087c62
AC
67412001-03-20 Andrew Cagney <[email protected]>
6742
6743 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
6744 with internal_error.
6745
8bd1f2c6
JB
67462001-03-20 Jim Blandy <[email protected]>
6747
f34754ee
JB
6748 Fix from Dan Berlin:
6749
8bd1f2c6
JB
6750 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
6751 than asking for sym_class's type; that's circuitous. Remove
6752 sym_class, since the last use of it is gone.
6753
c97fe386
EZ
67542001-03-20 Eli Zaretskii <[email protected]>
6755
6756 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
6757 Correct the order of calls to ui_out_field_string and
6758 ui_out_list_begin when bs->old_val is NULL.
6759
486363b6
KB
67602001-03-19 Kevin Buettner <[email protected]>
6761
6762 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
6763 * configure: Regenerate.
6764 * config.in: Regenerate.
6765 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
6766
087bb2e2
KB
67672001-03-19 Kevin Buettner <[email protected]>
6768
6769 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
6770 same line to avoid problems with Unixware 7's make when building
6771 a cross debugger.
6772
3c37485b
AC
67732001-03-19 Andrew Cagney <[email protected]>
6774
6775 * defs.h (malloc): Move declaration from here.
6776 * utils.c (malloc): To here.
6777 * config/pa/xm-hppah.h (malloc): Delete declaration.
6778
6779 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
6780 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
6781 (hpread_quick_traverse): Ditto.
6782 * infttrace.c (create_thread_info): Ditto.
6783 (kill_inferior): Ditto.
6784 * gnu-nat.c (make_inf): Ditto, and don't check return value.
6785 * procfs.c (proc_update_threads): Ditto.
6786 * valprint.c (print_decimal_chars): Ditto.
6787 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
6788 malloc and sprintf.
6789 * remote-rdp.c (rdp_set_command_line): Ditto.
6790
0e52036f
AC
67912001-03-19 Andrew Cagney <[email protected]>
6792
6793 * defs.h (realloc): Move declaration from here.
6794 * utils.c (realloc): To here.
6795 * config/pa/xm-hppah.h (realloc): Delete declaration.
6796 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
6797 * symfile.c (add_filename_language): Ditto.
6798 * event-loop.c (create_file_handler): Ditto.
6799
81b8eb80
AC
68002001-03-19 Andrew Cagney <[email protected]>
6801
6802 * defs.h (free): Move declaration from here.
6803 * utils.c (free): To here.
6804 (xfree): Document as the only call to free().
6805 * config/pa/xm-hppah.h (free): Delete declaration.
6806
8cca004a
KB
68072001-03-19 Kevin Buettner <[email protected]>
6808
6809 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
6810 this list.
6811
cf4eee44
AC
68122001-03-19 Andrew Cagney <[email protected]>
6813
6814 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
6815 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
6816 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
6817
1c5b31ef
AC
68182001-03-19 Andrew Cagney <[email protected]>
6819
6820 * TODO: List known problems with TUI.
6821
3a0c66d4
AC
68222001-03-19 Andrew Cagney <[email protected]>
6823
6824 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
6825 gdb.hp).
6826
ce359b09
AC
68272001-03-19 Andrew Cagney <[email protected]>
6828
6829 * remote.c (remote_cisco_section_offsets): Do not cast result from
6830 bfd_get_section_name.
6831 (compare_sections_command): Ditto.
6832 (remote_cisco_section_offsets): Make ``p'' a const pointer.
6833 (compare_sections_command): Ditto for ``sectname''.
6834
0b3f98d3
AC
68352001-03-19 Andrew Cagney <[email protected]>
6836
6837 From Mon Nov 20 13:59:29 2000 Andrew Cagney <[email protected]>:
6838 * valops.c (hand_function_call): Simplify computation of the
6839 address of the pushed argument.
6840
7451d027
AC
68412001-03-17 Andrew Cagney <[email protected]>
6842
6843 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
6844 Code copied from c-exp.y.
6845
fb70ab0c
KB
68462001-03-18 Kevin Buettner <[email protected]>
6847
6848 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
6849 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
6850 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
6851 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
6852 of the Solaris procfs testing section. Instead, group with...
6853 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
6854 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
6855 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
6856 * configure: Regenerate.
6857 * config.in: Regenerate.
6858
6859 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
6860 new configure macros to choose which (if any) code to
6861 compile in. Added code to explicitly handle *BSD systems;
6862 these systems were previously handled only through macro
6863 redefinition. Also, due to the way the autoconf tests are set
6864 up, this function will no longer return a non-zero value when
6865 GDB is configured as a cross debugger. I.e, cross debuggers
6866 will no longer be able to "accidentally" get the host system's
6867 link map offsets.
6868
8aa16b78
KB
68692001-03-18 Kevin Buettner <[email protected]>
6870
6871 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
6872 line to avoid build problem on NetBSD 1.4.
6873
559e75c0
MC
68742001-03-17 Michael Chastain <[email protected]>
6875
6876 * win32-nat.c (child_attach): check args for NULL before passing
6877 to strtoul. This fixes PR gdb/43.
6878
fc338970
MK
68792001-03-17 Mark Kettenis <[email protected]>
6880
7daede3b
MK
6881 * i387-nat.h: Doc Fix.
6882
fc338970
MK
6883 * i386-tdep.c: Fix formatting.
6884 (i386_get_frame_setup, i386_follow_jump, codestream_read,
6885 codestream_seek, codestream_fill, skip_trampoline_code,
6886 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
6887 prototypoes.
6888
e3c6d36d
MK
68892001-03-17 Mark Kettenis <[email protected]>
6890
6891 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
6892 no longer used. Also remove associated FIXME.
6893
4a5c6a1d
AC
68942001-03-16 Andrew Cagney <[email protected]>
6895
6896 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
6897 not generate macro wrappers for multi-arch functions or
6898 predicates.
6899 (class_is_info_p, class_is_predicate_p): Update.
6900 (class_is_function_p, class_is_variable_p): Ditto.
6901 (class_is_multiarch_p): New class function.
6902
7256e1a5
C
69032001-03-16 J.T. Conklin <[email protected]>
6904
6905 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
6906 h8300_frame_args_address from frame_args_address.
6907 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
6908 from frame_locals_address.
6909 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
6910 from print_register_hook.
6911 (h8300_frame_args_address): Declare.
6912 (h8300_frame_find_saved_regs): Declare.
6913 (h8300_frame_locals_address): Declare.
6914 (h8300_frame_saved_pc): Declare.
6915 (h8300_pop_frame): Declare.
6916 (h8300_print_register_hook): Declare.
6917 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
6918 (h8300_frame_args_address): Renamed from frame_args_address.
6919 (h8300_frame_locals_address): Renamed from frame_locals_address.
6920 (h8300_pop_frame): Renamed from pop_frame.
6921 (h8300_print_register_hook): Renamed from print_register_hook.
6922
435b259c
KB
69232001-03-16 Kevin Buettner <[email protected]>
6924
6925 * solib-svr4.c (bfd_lookup_symbol): Change type of
6926 ``storage_needed'' from unsigned int to long in order to
6927 match return type of bfd_get_symtab_upper_bound() and
6928 bfd_get_dynamic_symtab_upper_bound().
6929 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
6930 REASONABLE_LIMIT hack which had been added to work around this
6931 problem.
6932
80117be2
KB
69332001-03-15 Kevin Buettner <[email protected]>
6934
6935 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
6936 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
6937 to free() with calls to xfree().
6938 (bfd_lookup_symbol): Eliminate use of PTR.
6939 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
6940
77cd5909
MH
69412001-03-15 Martin Hunt <[email protected]>
6942
6943 * linespec.c (decode_line_1): Remove trailing quote
6944 when parsing double quotes.
6945
f7f5a202
KB
69462001-03-15 Kevin Buettner <[email protected]>
6947
6948 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
6949 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
6950 argument in the to_xfer_memory calls.
6951
0d35ddba
AC
69522001-03-15 Andrew Cagney <[email protected]>
6953
6954 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
6955 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
6956
043780a1
AC
69572001-03-15 Andrew Cagney <[email protected]>
6958
6959 * wince.c (child_xfer_memory): Add attrib parameter.
6960 * symm-nat.c (child_xfer_memory): Ditto.
6961 * mac-nat.c (child_xfer_memory): Ditto.
6962 * infttrace.c (child_xfer_memory): Ditto.
6963 * procfs.c (procfs_xfer_memory): Ditto.
6964 * lin-thread.c (thread_db_xfer_memory): Ditto.
6965 * gnu-nat.c (gnu_xfer_memory): Ditto.
6966
9b9c068d
AC
69672001-03-14 Andrew Cagney <[email protected]>
6968
6969 * NEWS: Mention that Harris/CXUX m88k is obsolete.
6970
f88e2c52
AC
69712001-03-13 Andrew Cagney <[email protected]>
6972
6973 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
6974 to regcache functions.
6975 * config/m68k/tm-m68k.h: Ditto.
6976 * config/i386/tm-i386v.h: Ditto.
6977 * config/mcore/tm-mcore.h: Ditto.
6978 * config/m88k/tm-m88k.h: Ditto.
6979 * config/m68k/tm-news.h: Ditto.
6980 * config/m68k/tm-linux.h: Ditto.
6981 * config/m68k/tm-delta68.h: Ditto.
6982 * config/m68k/nm-sun3.h: Ditto.
6983 * config/m32r/tm-m32r.h: Ditto.
6984 * config/i386/tm-symmetry.h: Ditto.
6985 * config/i386/tm-sun386.h: Ditto.
6986 * config/i386/tm-i386.h: Ditto.
6987 * config/i386/nm-symmetry.h: Ditto.
6988 * config/i386/nm-sun386.h: Ditto.
6989 * config/i386/nm-ptx4.h: Ditto.
6990 * config/i386/nm-i386mach.h: Ditto.
6991 * config/h8500/tm-h8500.h: Ditto.
6992 * config/h8300/tm-h8300.h: Ditto.
6993 * config/fr30/tm-fr30.h: Ditto.
6994 * config/d30v/tm-d30v.h: Ditto.
6995 * config/arm/tm-arm.h: Ditto.
6996 * config/arc/tm-arc.h: Ditto.
6997 * config/alpha/tm-alpha.h: Ditto.
6998 * config/a29k/tm-vx29k.h: Ditto.
6999 * config/a29k/tm-a29k.h: Ditto.
7000 * config/w65/tm-w65.h: Ditto.
7001 * config/vax/tm-vax.h: Ditto.
7002 * config/v850/tm-v850.h: Ditto.
7003 * config/tic80/tm-tic80.h: Ditto.
7004 * config/sparc/tm-sparclite.h: Ditto.
7005 * config/sparc/tm-sparclet.h: Ditto.
7006 * config/sparc/tm-sparc.h: Ditto.
7007 * config/sparc/nm-sun4sol2.h: Ditto.
7008 * config/sparc/nm-sun4os4.h: Ditto.
7009 * config/sparc/nm-nbsd.h: Ditto.
7010 * config/powerpc/nm-solaris.h: Ditto.
7011 * config/pa/tm-hppao.h: Ditto.
7012 * config/pa/tm-hppa.h: Ditto.
7013 * config/pa/nm-hppab.h: Ditto.
7014 * config/ns32k/tm-umax.h: Ditto.
7015 * config/ns32k/tm-merlin.h: Ditto.
7016 * config/nm-m3.h: Ditto.
7017 * config/nm-gnu.h: Ditto.
7018
0981ead9
AC
70192001-03-14 Andrew Cagney <[email protected]>
7020
7021 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
7022 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
7023 Specify an m88k target. Include sample GAWK script to generate
7024 target list. Delete non-existant romp target.
7025 * TODO (GDB 5.1 - Cleanups): Update.
7026
91c1720e
KS
70272001-03-14 Keith Seitz <[email protected]>
7028
7029 * linespec.c (decode_line_1): Skip argptr over a leading
7030 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
7031
3cc122b3
KB
70322001-03-14 Kevin Buettner <[email protected]>
7033
7034 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
7035
5bb367b1
AC
70362001-03-13 Andrew Cagney <[email protected]>
7037
7038 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
7039 * m3-nat.c: Ditto.
7040 * p-lang.h: Ditto.
7041 * printcmd.c (printf_command): Ditto.
7042 * ch-exp.c (match_integer_literal): Ditto.
7043 * scm-tags.h: Ditto.
7044 * ser-go32.c: Ditto.
7045 * hppa-tdep.c (unwind_command): Ditto.
7046 * defs.h (volatile): Delete macro definition. Assume __STDC__.
7047 * remote-adapt.c (volatile): Ditto.
7048 * remote-eb.c (volatile): Ditto.
7049 * remote-mm.c (volatile): Ditto.
7050 * defs.h (alloca): Assume __STDC__, declare returning void *.
7051
a728f042
AC
70522001-03-08 Andrew Cagney <[email protected]>
7053
7054 * inferior.h (ARCH_NUM_REGS): Delete definition.
7055 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
7056 * regcache.c (registers_changed): Ditto.
7057 (registers_fetched): Ditto.
7058 * infptrace.c (fetch_inferior_registers): Ditto.
7059 (store_inferior_registers): Ditto.
7060 * infcmd.c (do_registers_info): Ditto.
7061 (registers_info): Ditto.
7062 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
7063 (old_store_inferior_registers): Ditto.
7064 * gdbserver/low-linux.c (register_addr): Ditto.
7065 * gdbserver/low-hppabsd.c (register_addr): Ditto.
7066 * core-aout.c: Don't include "inferior.h".
7067 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
7068 (register_addr): Ditto.
7069
f48ff60a
FN
70702001-03-13 Fernando Nasser <[email protected]>
7071
7072 From Steven Johnson <[email protected]>
7073 * cli/cli-script.c (define_command): Fix setting of post hooks.
7074
305d65ca
MK
70752001-03-13 Mark Kettenis <[email protected]>
7076
7077 * i386-linux-tdep.c: Fix formatting and clarify comments.
7078 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
7079 where appropriate.
7080
bf62e5b4
AC
70812001-03-12 Andrew Cagney <[email protected]>
7082
7083 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
7084 (proc_update_sc): Use gdb_assert instead of assert.
7085 (proc_abort): Ditto.
7086 (inf_set_step_thread): Ditto.
7087 (gnu_wait): Ditto.
7088 (S_exception_raise_request): Ditto.
7089 (gnu_terminal_init_inferior): Ditto.
7090
21479ded
KB
70912001-03-09 Kevin Buettner <[email protected]>
7092
7093 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
7094 (solib-legacy.o): New makefile target.
7095 * solib-legacy.c: New file.
7096 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
7097 (default_svr4_fetch_link_map_offsets): Delete.
7098 (set_solib_svr4_fetch_link_map_offsets): Declare.
7099 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
7100 * solib-svr4.c (elf/common.h): Include.
7101 (link.h): Only include for SunOS shared library support.
7102 (_SYSCALL32): Don't define.
7103 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
7104 (default_svr4_fetch_link_map_offsets): Made static; added forward
7105 declaration.
7106 (fetch_link_map_offsets): New static global.
7107 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
7108 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
7109 of what used to be in this function now reside in
7110 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
7111 (open_symbol_file_object): Fix declaration in SunOS section
7112 of the code.
7113 (set_solib_svr4_fetch_link_map_offsets): New extern function.
7114 (init_fetch_link_map_offsets): New static function.
7115 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
7116 under multiarch control.
7117
7118 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
7119 list.
7120 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
7121 * config/arm/linux.mt (TDEPFILES): Likewise.
7122 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
7123 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
7124 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
7125 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
7126 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
7127 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
7128 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
7129 * config/i386/linux.mt (TDEPFILES): Likewise.
7130 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
7131 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
7132 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
7133 * config/i386/ptx4.mh (XDEPFILES): Likewise.
7134 * config/i386/sun386.mt (TDEPFILES): Likewise.
7135 * config/ia64/linux.mt (TDEPFILES): Likewise.
7136 * config/m68k/linux.mt (TDEPFILES): Likewise.
7137 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
7138 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
7139 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
7140 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
7141 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
7142 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
7143 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
7144 * config/powerpc/linux.mt (TDEPFILES): Likewise.
7145 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
7146 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
7147 * config/sh/linux.mt (TDEPFILES): Likewise.
7148 * config/sparc/linux.mt (TDEPFILES): Likewise.
7149 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
7150 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
7151 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
7152 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
7153 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
7154
d7fa9de0
KB
71552001-03-09 Kevin Buettner <[email protected]>
7156
7157 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
7158
f8241bd1
AC
71592001-03-09 Andrew Cagney <[email protected]>
7160
7161 * MAINTAINERS (Write After Approval): Update Philip Blundell.
7162
e6b4b0c2
KS
71632001-03-09 Keith Seitz <[email protected]>
7164
7165 * MAINTAINERS: Add myself to write after approval list.
7166
96836138
MK
71672001-03-09 Mark Kettenis <[email protected]>
7168
7169 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
7170 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
7171
1b594327
AC
71722001-03-08 Andrew Cagney <[email protected]>
7173
7174 * configure.host (m88*-harris-cxux*): Mark as obsolete.
7175 * configure.tgt: Ditto.
7176 * config/m88k/xm-cxux.h: Ditto.
7177 * config/m88k/tm-cxux.h: Ditto.
7178 * config/m88k/nm-cxux.h: Ditto.
7179 * config/m88k/cxux.mt: Ditto.
7180 * config/m88k/cxux.mh: Ditto.
7181
4a32a1e4
AC
71822001-03-08 Andrew Cagney <[email protected]>
7183
7184 * Makefile.in: Delete rules for obsolete files.
7185
ec9a3449
DT
7186Thu Mar 8 15:43:40 2001 David Taylor <[email protected]>
7187
7188 * stack.c (parse_frame_specification): For one argument case,
7189 handle the situation where the argument is an integer, not an
7190 address -- arguably the most common case. This matters on
7191 targets where pointers and addresses are different.
7192
a50c34dc
AC
71932001-03-08 Andrew Cagney <[email protected]>
7194
7195 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
7196 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
7197 general.
7198
cfc046cf
AC
71992001-03-07 Andrew Cagney <[email protected]>
7200
7201 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
7202 with SID on Solaris 8.
7203
39424bef
MK
72042001-03-07 Mark Kettenis <[email protected]>
7205
7206 * defs.h: Provide prototypes for floatformat_is_negative,
7207 floatformat_is_nan and floatformat_mantissa.
7208 * utils.c: Include "gdb_assert.h".
7209 (floatformat_is_negative): New function.
7210 (floatformat_is_nan): New function.
7211 (floatformat_mantissa): New function.
7212 * valprint.c: Include "floatformat.h".
7213 (print_floating): Get rid of the Linux-specific
7214 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
7215 help these new functions. Print NaN's in a format conforming to
7216 ISO C99.
7217
7a1bd56a
EZ
72182001-03-07 Eli Zaretskii <[email protected]>
7219
7220 * top.c (init_main): Make `set history file name' complete on file
7221 names.
7222
5565b556
C
72232001-03-06 J.T. Conklin <[email protected]>
7224
21a12a30
C
7225 * Makefile.in (LINTFLAGS): Update to contain all of the macros
7226 which define include paths used when compiling.
7227
7228 * util.c (savestring, msavestring): Change type of length argument.
7229 * defs.h (savestring, msavestring): Update to match.
7230
5565b556
C
7231 * symtab.h (decode_line_1): Removed declaration.
7232
7233 * symfile.c (#include <assert.h>): Removed.
7234
7235 * arch-utils.c (#include <ctype.h>): Removed.
7236 * c-typeprint.c: Likewise.
7237 * dbxread.c: Likewise.
7238 * gdbtypes.c: Likewise.
7239 * target.c: Likewise.
7240 * os9kread.c: Likewise.
7241
7242 * c-valprint.c (#include "demangle.h"): Removed.
7243 * ch-typeprint.c: Likewise.
7244 * eval.c: Likewise.
7245 * f-typeprint.c: Likewise.
7246 * f-valprint.c: Likewise.
7247 * m2-typeprint.c: Likewise.
7248 * typeprint.c: Likewise.
7249 * p-typeprint.c: Likewise.
7250 * valarith.c: Likewise.
7251 * valprint.c: Likewise.
7252
7253 * m2-typeprint.c (#include "gdb_string.h"): Removed.
7254 * nlmread.c: Likewise.
7255
7256 * mdebugread.c (#include "gdb-stabs.h"): Removed.
7257 * minsyms.c: Likewise.
7258 * mipsread.c: Likewise.
7259 * nlmread.c: Likewise.
7260
7261 * m2-typeprint.c (#include "obstack.h"): Removed.
7262 * m2-valprint.c: Likewise.
7263
7264 * event-loop.c (#include <setjmp.h>): Removed.
7265
e8be95ae
SS
72662001-03-06 Stan Shebs <[email protected]>
7267
7268 * MAINTAINERS: Remove self from specific maintenance domains
7269 (macos, gdbserver, documentation, testsuite).
7270
b6ba6518
KB
72712001-03-06 Kevin Buettner <[email protected]>
7272
7273 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
7274 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
7275 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
7276 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
7277 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
7278 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
7279 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
7280 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
7281 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
7282 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
7283 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
7284 coff-solib.h, coffread.c, command.h, complaints.c,
7285 complaints.h, completer.c, completer.h,
7286 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
7287 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
7288 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
7289 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
7290 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
7291 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
7292 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
7293 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
7294 config/arm/nm-linux.h, config/arm/tm-arm.h,
7295 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
7296 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
7297 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
7298 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
7299 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
7300 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
7301 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
7302 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
7303 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
7304 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
7305 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
7306 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
7307 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
7308 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
7309 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
7310 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
7311 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
7312 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
7313 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
7314 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
7315 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
7316 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
7317 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
7318 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
7319 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
7320 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
7321 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
7322 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
7323 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
7324 config/i960/tm-i960.h, config/i960/tm-mon960.h,
7325 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
7326 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
7327 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
7328 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
7329 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
7330 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
7331 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
7332 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
7333 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
7334 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
7335 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
7336 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
7337 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
7338 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
7339 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
7340 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
7341 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
7342 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
7343 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
7344 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
7345 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
7346 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
7347 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
7348 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
7349 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
7350 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
7351 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
7352 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
7353 config/mips/nm-irix5.h, config/mips/nm-mips.h,
7354 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
7355 config/mips/tm-embed.h, config/mips/tm-embed64.h,
7356 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
7357 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
7358 config/mips/tm-mips.h, config/mips/tm-mips64.h,
7359 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
7360 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
7361 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
7362 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
7363 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
7364 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
7365 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
7366 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
7367 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
7368 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
7369 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
7370 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
7371 config/nm-sysv4.h, config/none/nm-none.h,
7372 config/none/tm-none.h, config/none/xm-none.h,
7373 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
7374 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
7375 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
7376 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
7377 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
7378 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
7379 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
7380 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
7381 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
7382 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
7383 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
7384 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
7385 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
7386 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
7387 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
7388 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
7389 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
7390 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
7391 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
7392 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
7393 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
7394 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
7395 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
7396 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
7397 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
7398 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
7399 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
7400 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
7401 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
7402 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
7403 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
7404 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
7405 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
7406 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
7407 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
7408 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
7409 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
7410 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
7411 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
7412 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
7413 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
7414 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
7415 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
7416 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
7417 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
7418 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
7419 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
7420 gdbserver/low-sim.c, gdbserver/low-sparc.c,
7421 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
7422 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
7423 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
7424 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
7425 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
7426 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
7427 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
7428 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
7429 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
7430 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
7431 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
7432 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
7433 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
7434 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
7435 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
7436 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
7437 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
7438 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
7439 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
7440 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
7441 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
7442 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
7443 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
7444 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
7445 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
7446 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
7447 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
7448 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
7449 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
7450 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
7451 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
7452 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
7453 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
7454 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
7455 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
7456 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
7457 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
7458 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
7459 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
7460 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
7461 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
7462 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
7463 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
7464 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
7465 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
7466 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
7467 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
7468 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
7469 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
7470 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
7471 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
7472 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
7473 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
7474 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
7475 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
7476 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
7477 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
7478 notices.
7479
596c9d4b
KB
74802001-03-05 Kevin Buettner <[email protected]>
7481
7482 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
7483 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
7484 macros.
7485 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
7486 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
7487 (sys/fault.h, sys/select.h): Test for presence of these
7488 header files.
7489 (ia64-*-aix*): Define NEW_PROC_API for this host.
7490 * configure: Regenerate.
7491 * config.in: Regenerate.
7492
7493 * configure.host (ia64-*-aix*): New host.
7494 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 7495
eccbb20d
AC
74962001-03-05 Andrew Cagney <[email protected]>
7497
7498 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
7499
9ff2efe5
CF
7500Mon Mar 5 11:56:09 2001 Christopher Faylor <[email protected]>
7501
7502 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 7503 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 7504
58841d58
AC
75052001-03-04 Andrew Cagney <[email protected]>
7506
7507 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
7508 * ocd.c (ocd_xfer_memory): Ditto.
7509 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
7510 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
7511 buildable with ,-Werror.
7512
7513 * Makefile.in (symfile_h): Define.
7514 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
7515 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
7516 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
7517 ,-Werror.
7518
7519 * dsrec.c (make_srec): Fix internal_error fmt arg.
7520 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
7521
3cad1ac9
KB
75222001-03-03 Kevin Buettner <[email protected]>
7523
7524 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
7525 as an lvalue.
7526
b9fa2e73
AC
75272001-03-02 Andrew Cagney <[email protected]>
7528
130c39e6
AC
7529 * MAINTAINERS (paper trail): Update.
7530
b9fa2e73
AC
7531 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
7532
c53efe6e
AC
75332001-03-02 Andrew Cagney <[email protected]>
7534
7535 From 2001-03-01 Tom Rix <[email protected]>:
7536 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
7537 parameter to mn10200_analyze_prologue.
7538
7539 * config/mn10200/tm-mn10200.h: Include "regcache.h".
7540 * MAINTAINERS: Document that mn10200-elf target is buildable.
7541
52b5c2eb
KB
75422001-03-02 Kevin Buettner <[email protected]>
7543
7544 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
7545 from here...
7546 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
7547 (MONTEREY): Don't define.
7548 (AIX5): Define.
7549
2edb46b1
MH
75502001-03-02 Matt Hiller <[email protected]>
7551
7552 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
7553
92c71a3e
KB
75542001-03-02 Kevin Buettner <[email protected]>
7555
82a2886f 7556 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 7557
e2a4c6c1
C
75582001-03-01 J.T. Conklin <[email protected]>
7559
3a644c8d
C
7560 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
7561 if __CYGWIN32__ is set from here.
7562 * config/i386/xm-cygwin.h: To here.
7563 * config/powerpc/xm-cygwin.h: To here.
7564
e2a4c6c1
C
7565 * i386-stub.c (handle_exception): Use 'T' response packet.
7566
4b33390a
MS
75672001-03-01 Michael Snyder <[email protected]>
7568
7569 * m32r-tdep.c: Fix cut and paste error in comment.
7570
75712001-02-28 Michael Snyder <[email protected]>
7572
7573 * symtab.c (print_msymbol_info): Print addresses by portable method
7574 longest_local_hex_string_custom. Allow for 64-bit addresses.
7575
ba41d549
C
75762001-03-01 J.T. Conklin <[email protected]>
7577
7578 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
7579 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
7580 (MIN_OF_TYPE): Likewise.
7581
7582 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
7583
088d891f
AC
75842001-03-01 Andrew Cagney <[email protected]>
7585
7586 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
7587 * os9kread.c (os9k_process_one_symbol): Add assert to detect
7588 ``loses if sizeof (char *) > sizeof (int)''.
7589
38266776
AC
75902001-03-01 Andrew Cagney <[email protected]>
7591
7592 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
7593
2ad43c4f
AC
75942001-03-01 Andrew Cagney <[email protected]>
7595
7596 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
7597 lists.
7598 (mi-main.o): Ditto.
7599
367e21d8
AC
76002001-03-01 Andrew Cagney <[email protected]>
7601
7602 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
7603 dependency lists.
7604
d85310f7
MS
76052001-02-28 Michael Snyder <[email protected]>
7606
c0d8fd9a
MS
7607 * printcmd.c (print_address_numeric): Update comments to refer
7608 to sizeof addr, not sizeof pointer.
7609 (x_command): Remove needless whitespace (shorten long line).
7610
d85310f7
MS
7611 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
7612 (read_memory_nobpt): Ditto.
7613 (ep_is_catchpoint): Ditto.
7614 (ep_is_shlib_catchpoint): Ditto.
7615 (ep_is_exception_catchpoint): Ditto.
7616 (describe_other_breakpoints): Ditto.
7617
97900206
AC
7618Wed Feb 28 20:37:36 2001 Andrew Cagney <[email protected]>
7619
7620 * regcache.h (register_valid): Fix comment documenting valid
7621 states.
7622
4e052eda
AC
7623Tue Feb 27 23:56:23 2001 Andrew Cagney <[email protected]>
7624
7625 From Steven Johnson:
7626 * regcache.h: New file.
7627
7628 * value.h (read_register_bytes, read_register_gen)
7629 (write_register_gen, write_register_bytes)
7630 (read_register, read_register_pid)
7631 (read_signed_register, read_signed_register_pid)
7632 (write_register, write_register_pid)
7633 (register_cached, set_register_cached)
7634 (register_changed, register_buffer)
7635 (registers_changed, supply_register): Move declaration from here.
7636 * regcache.h: To here.
7637 * gdbcore.h (registers_fetched): Ditto.
7638 * inferior.h (registers, registers_valid): Ditto.
7639
7640 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
7641 generic_target_write_pc, write_pc_pid, write_pc,
7642 generic_target_read_sp, read_sp, generic_target_write_sp,
7643 write_sp, generic_target_read_fp, read_fp,
7644 generic_target_write_fp, write_fp): Add note that these functions
7645 will be moved from this file.
7646
7647 * a29k-tdep.c: Include "regcache.h".
7648 * a68v-nat.c: Ditto.
7649 * abug-rom.c: Ditto.
7650 * alpha-nat.c: Ditto.
7651 * alpha-tdep.c: Ditto.
7652 * alphabsd-nat.c: Ditto.
7653 * arc-tdep.c: Ditto.
7654 * arm-linux-nat.c: Ditto.
7655 * arm-linux-tdep.c: Ditto.
7656 * arm-tdep.c: Ditto.
7657 * blockframe.c: Ditto.
7658 * core-aout.c: Ditto.
7659 * core-sol2.c: Ditto.
7660 * corelow.c: Ditto.
7661 * cpu32bug-rom.c: Ditto.
7662 * cxux-nat.c: Ditto.
7663 * d10v-tdep.c: Ditto.
7664 * d30v-tdep.c: Ditto.
7665 * dbug-rom.c: Ditto.
7666 * dink32-rom.c: Ditto.
7667 * dve3900-rom.c: Ditto.
7668 * findvar.c: Ditto.
7669 * fr30-tdep.c: Ditto.
7670 * frame.c: Ditto.
7671 * go32-nat.c: Ditto.
7672 * h8300-tdep.c: Ditto.
7673 * h8500-tdep.c: Ditto.
7674 * hp300ux-nat.c: Ditto.
7675 * hppa-tdep.c: Ditto.
7676 * hppab-nat.c: Ditto.
7677 * hppah-nat.c: Ditto.
7678 * hppam3-nat.c: Ditto.
7679 * hpux-thread.c: Ditto.
7680 * i386-linux-nat.c: Ditto.
7681 * i386-linux-tdep.c: Ditto.
7682 * i386-tdep.c: Ditto.
7683 * i386aix-nat.c: Ditto.
7684 * i386b-nat.c: Ditto.
7685 * i386bsd-nat.c: Ditto.
7686 * i386gnu-nat.c: Ditto.
7687 * i386ly-tdep.c: Ditto.
7688 * i386m3-nat.c: Ditto.
7689 * i386mach-nat.c: Ditto.
7690 * i386nbsd-nat.c: Ditto.
7691 * i386v4-nat.c: Ditto.
7692 * i387-nat.c: Ditto.
7693 * i387-tdep.c: Ditto.
7694 * i960-tdep.c: Ditto.
7695 * ia64-aix-nat.c: Ditto.
7696 * ia64-linux-nat.c: Ditto.
7697 * ia64-tdep.c: Ditto.
7698 * infptrace.c: Ditto.
7699 * infrun.c: Ditto.
7700 * irix4-nat.c: Ditto.
7701 * irix5-nat.c: Ditto.
7702 * lin-lwp.c: Ditto.
7703 * lin-thread.c: Ditto.
7704 * lynx-nat.c: Ditto.
7705 * m3-nat.c: Ditto.
7706 * m32r-rom.c: Ditto.
7707 * m32r-tdep.c: Ditto.
7708 * m68hc11-tdep.c: Ditto.
7709 * m68k-tdep.c: Ditto.
7710 * m68klinux-nat.c: Ditto.
7711 * m68knbsd-nat.c: Ditto.
7712 * m68knbsd-tdep.c: Ditto.
7713 * m88k-nat.c: Ditto.
7714 * m88k-tdep.c: Ditto.
7715 * mac-nat.c: Ditto.
7716 * mcore-rom.c: Ditto.
7717 * mcore-tdep.c: Ditto.
7718 * mi/mi-main.c: Ditto.
7719 * mips-nat.c: Ditto.
7720 * mips-tdep.c: Ditto.
7721 * mipsm3-nat.c: Ditto.
7722 * mipsv4-nat.c: Ditto.
7723 * mn10200-tdep.c: Ditto.
7724 * mn10300-tdep.c: Ditto.
7725 * monitor.c: Ditto.
7726 * ns32km3-nat.c: Ditto.
7727 * ns32knbsd-nat.c: Ditto.
7728 * ocd.c: Ditto.
7729 * pa64solib.c: Ditto.
7730 * ppc-bdm.c: Ditto.
7731 * ppc-linux-nat.c: Ditto.
7732 * ppc-linux-tdep.c: Ditto.
7733 * ppcbug-rom.c: Ditto.
7734 * ppcnbsd-nat.c: Ditto.
7735 * ptx4-nat.c: Ditto.
7736 * regcache.c: Ditto.
7737 * remote-adapt.c: Ditto.
7738 * remote-array.c: Ditto.
7739 * remote-bug.c: Ditto.
7740 * remote-e7000.c: Ditto.
7741 * remote-eb.c: Ditto.
7742 * remote-es.c: Ditto.
7743 * remote-est.c: Ditto.
7744 * remote-hms.c: Ditto.
7745 * remote-mips.c: Ditto.
7746 * remote-mm.c: Ditto.
7747 * remote-nindy.c: Ditto.
7748 * remote-os9k.c: Ditto.
7749 * remote-rdi.c: Ditto.
7750 * remote-rdp.c: Ditto.
7751 * remote-sds.c: Ditto.
7752 * remote-sim.c: Ditto.
7753 * remote-st.c: Ditto.
7754 * remote-udi.c: Ditto.
7755 * remote-utils.c: Ditto.
7756 * remote-vx.c: Ditto.
7757 * remote-vx29k.c: Ditto.
7758 * remote-vx68.c: Ditto.
7759 * remote-vx960.c: Ditto.
7760 * remote-vxmips.c: Ditto.
7761 * remote-vxsparc.c: Ditto.
7762 * remote.c: Ditto.
7763 * rom68k-rom.c: Ditto.
7764 * rs6000-nat.c: Ditto.
7765 * rs6000-tdep.c: Ditto.
7766 * sh-tdep.c: Ditto.
7767 * sh3-rom.c: Ditto.
7768 * sol-thread.c: Ditto.
7769 * solib-svr4.c: Ditto.
7770 * somsolib.c: Ditto.
7771 * sparc-nat.c: Ditto.
7772 * sparc-tdep.c: Ditto.
7773 * sparcl-tdep.c: Ditto.
7774 * sparclet-rom.c: Ditto.
7775 * sun3-nat.c: Ditto.
7776 * sun386-nat.c: Ditto.
7777 * symm-nat.c: Ditto.
7778 * target.c: Ditto.
7779 * thread-db.c: Ditto.
7780 * thread.c: Ditto.
7781 * tic80-tdep.c: Ditto.
7782 * tracepoint.c: Ditto.
7783 * ultra3-nat.c: Ditto.
7784 * umax-xdep.c: Ditto.
7785 * uw-thread.c: Ditto.
7786 * v850-tdep.c: Ditto.
7787 * v850ice.c: Ditto.
7788 * valops.c: Ditto.
7789 * w65-tdep.c: Ditto.
7790 * w89k-rom.c: Ditto.
7791 * win32-nat.c: Ditto.
7792 * wince.c: Ditto.
7793 * z8k-tdep.c: Ditto.
7794
07d48ebc
MH
77952001-02-28 Matt Hiller <[email protected]>
7796
7797 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
7798
2edb46b1
MH
77992001-02-27 Matt Hiller <[email protected]>
7800
7801 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
7802 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
7803 mn10300_stab_reg_to_regnum.
7804
993f3aa5
DT
7805Tue Feb 27 16:56:13 2001 David Taylor <[email protected]>
7806
7807 * symtab.c (search_symbols): Fix off by one error in test for
7808 error.
7809
86168def
AC
78102001-02-23 Andrew Cagney <[email protected]>
7811
7812 * config/sparc/sp64linux.mt: New file.
7813 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
7814 * configure.host: Recognize sparc64-*-linux* as a linux host.
7815
7816 From 2000-03-17 Jakub Jelinek <[email protected]>:
7817 * config/sparc/tm-sp64linux.h: New file.
7818
e1e9e218
KB
78192001-02-24 Kevin Buettner <[email protected]>
7820
7821 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
7822 with call to internal_error().
7823 * dbxread.c (process_one_symbol): Likewise.
7824 * exec.c (build_section_table, xfer_memory): Likewise.
7825 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
7826 Likewise.
7827 * hpread.c (hpread_type_translate, hpread_read_array_type)
7828 (hpread_type_lookup): Likewise.
7829 * i386-tdep.c (gdb_print_insn_i386): Likewise.
7830 * i960-tdep.c (mem): Likewise
7831 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
7832 * infptrace.c (child_resume): Likewise.
7833 * infttrace.c (_initialize_infttrace): Likewise.
7834 * language.c (binop_result_type, add_language): Likewise.
7835 * lynx-nat.c (store_inferior_registers): Likewise.
7836 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
7837 * mdebugread.c (parse_partial_symbols): Likewise.
7838 * monitor.c (monitor_printf_noecho, monitor_printf)
7839 (monitor_dump_regs): Likewise.
7840 * ocd.c (stu_put_packet): Likewise.
7841 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
7842 * remote-bug.c (bug_open): Likewise.
7843 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
7844 * remote-es.c (es1800_read_bytes): Likewise.
7845 * remote-mips.c (common_breakpoint): Likewise.
7846 * remote-rdp.c (send_rdp): Likewise.
7847 * remote-sds.c (putmessage): Likewise.
7848 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
7849 Likewise.
7850 * sparcl-tdep.c (sparclite_download): Likewise.
7851 * symtab.c (lookup_partial_symbol): Likewise.
7852 * target.c (push_target, pop_target, initialize_targets): Likewise.
7853 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
7854 Likewise.
7855 * valprint.c (print_decimal, print_longest, print_longest)
7856 (strcat_longest): Likewise.
7857 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
7858 * xmodem.c (xmodem_send_packet): Likewise.
7859 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
7860 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
7861 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
7862 (STORE_RETURN_VALUE): Likewise.
7863 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
7864 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
7865 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
7866 Likewise.
7867
17fceda3
AC
78682001-02-23 Andrew Cagney <[email protected]>
7869
2126d5fb
AC
7870 * CONTRIBUTE: Document how to cite a problem report.
7871 * TODO: Note need to replace CONTRIBUTE with generated file.
7872
17fceda3
AC
7873 * CONTRIBUTE: Mention that patches do not need to include the
7874 generated files gdbarch.h and gdbarch.c.
7875
60edd51d
AC
78762001-02-21 Andrew Cagney <[email protected]>
7877
7878 * value.h (get_saved_register): Move from here.
7879 * frame.h: To here.
7880
d7fa2ae2
KB
78812001-02-21 Kevin Buettner <[email protected]>
7882
7883 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
7884 (in_solib_dynsym_resolve_code): Add declaration.
7885 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
7886 in_solib_dynsym_resolve_code() rather than
7887 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
7888 which caused this macro to only be defined when
7889 SVR4_SHARED_LIBS is defined.
7890 * solib.c (in_solib_dynsym_resolve_code): New function.
7891 * solist.h (struct target_so_ops): Add new member
7892 in_dynsym_resolve_code.
7893 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
7894 in_svr4_dynsym_resolve_code. Also, made static.
7895 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
7896 member in aix5_so_ops.
7897 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
7898 in_svr4_dynsym_resolve_code. Also, added second version
7899 of this function which will be used when SVR4_SHARED_LIBS
7900 is not defined.
7901 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
7902 member in svr4_so_ops.
7903
7904 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
7905 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
7906 config/ia64/xm-aix.h: New files.
7907 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
7908 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 7909 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
7910 sigcontext_register_address member of struct tdep when
7911 on target is detected to be running AIX.
7912 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
7913 this list.
7914
fbad0893
KB
79152001-02-20 Kevin Buettner <[email protected]>
7916
7917 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
7918 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
7919 for thread support instead of linux-thread.o and lin-thread.o.
7920 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
7921 ATTACH_LWP): Define to use the following lin-lwp.c functions...
7922 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
7923 lin_lwp_attach_lwp): Declare.
7924
1adad886
AC
79252001-02-20 Andrew Cagney <[email protected]>
7926
7927 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
7928 formatting.
7929
0579d647
KB
79302001-02-20 Kevin Buettner <[email protected]>
7931
7932 * solib-aix5.c (solib-svr4.h): Remove include.
7933 (solib_break_names): Delete names which aren't actually
7934 used by AIX5.
7935 (bkpt_names): Remove.
7936 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
7937 to STREQ() with equivalent calls to strcmp().
7938 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
7939 aix5_solib_create_inferior_hook): Revise comments.
7940 (enable_break): Remove old ``bkpt_names'' code.
7941
d65fe839
AC
79422001-02-19 Andrew Cagney <[email protected]>
7943
7944 * Makefile.in (SFILES): Add frame.c .
7945 (COMMON_OBS): Add frame.o .
7946 (frame.o): New target.
7947
7948 * frame.c (find_saved_register):
7949 (default_get_saved_register):
7950 (get_saved_register):
7951 (read_relative_register_raw_bytes_for_frame):
7952 (read_relative_register_raw_bytes): Moved to here.
7953 * regcache.c: From here.
7954
60cf7a85
KB
79552001-02-20 Kevin Buettner <[email protected]>
7956
7957 * solib-aix5.c: New file.
7958
291b7e04
MH
79592001-02-20 Martin M. Hunt <[email protected]>
7960
a43ad351
MH
7961 * solib.c (info_sharedlibrary_command): Don't assume pointers
7962 are the same size of long, call longest_local_hex_string_custom().
7963
58bc91c9
MH
7964 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
7965 extract_signed_integer() should be called instead of
7966 extract_address().
7967
79682001-02-20 Martin M. Hunt <[email protected]>
7969
291b7e04
MH
7970 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
7971
d02ee681
AC
79722001-02-19 Andrew Cagney <[email protected]>
7973
7974 Frm 2001-02-09 Jim Kingdon <[email protected]>:
7975 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
7976 then floating point registers are 8 bytes.
7977
a858089e
MS
79782001-02-19 Michael Snyder <[email protected]>
7979
7980 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
7981 accomodate 64-bit addresses.
7982
23cc649f
EZ
79832001-02-19 Elena Zannoni <[email protected]>
7984
7985 From Peter Schauer <[email protected]>
7986 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
7987 lookup_symbol, when trying to find a symbol with a mangled name,
7988 to avoid infinite recursion.
7989
0db23c95
AC
79902001-02-18 Andrew Cagney <[email protected]>
7991
7992 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
7993
911413e6
JL
79942001-02-19 Jonathan Larmour <[email protected]>
7995
7996 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
7997 (save_prologue_cache): Ditto.
7998
8d1de4b7
EZ
79992001-02-19 Elena Zannoni <[email protected]>
8000
8001 From: [email protected]:
8002 * partial-stab.h (switch): Check that pst is not null
8003 before dereferencing it.
8004
3017564a
EZ
80052001-02-19 Elena Zannoni <[email protected]>
8006
8007 From Andrew Cagney <[email protected]>:
8008 * symfile.c (add_symbol_file_command): Always initialize
8009 my_cleanup using a NULL cleanup.
8010
fa58ee11
EZ
80112001-02-19 Eli Zaretskii <[email protected]>
8012
8013 * demangle.c (demangling_style_names): New variable.
8014 (_initialize_demangler): Fill demangling_style_names with the
8015 names of known demangling styles from libiberty_demanglers[]. Use
8016 add_set_enum_cmd instead of add_set_cmd, to get completion on
8017 demangling style names.
8018
8019 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
8020 file-name completion.
8021
8022 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
8023
8024 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
8025 `solib-absolute-prefix'.
8026
8027 * tracepoint.c (_initialize_tracepoint): Ditto for
8028 `save-tracepoints'.
8029
8030 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
8031
8032 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
8033 file-name completion.
8034
8035 * infcmd.c (_initialize_infcmd): Make the following commands use
8036 the file-name completer: `tty', `args', `path', `paths', and
8037 `run'.
8038
7830cf6f
EZ
80392001-02-18 Eli Zaretskii <[email protected]>
8040
89dea5aa
EZ
8041 * go32-nat.c: Include i387-nat.h.
8042 (fetch_register): New function, uses some of the guts of
8043 go32_fetch_registers and calls i387_supply_register.
8044 (go32_fetch_registers): Most of the code moved into
8045 fetch_register. Use i387_supply_fsave.
8046 (store_register): Use i387_fill_fsave instead of custom code.
8047 (go32_store_registers): Use i387_fill_fsave.
8048
8049 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
8050
8051 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
8052
7830cf6f
EZ
8053 * completer.c (gdb_completer_file_name_break_characters): Remove
8054 slash from file-name break characters.
8055 [__MSDOS__]: Special definition for DOS/Windows file names.
8056 (line_completion_function): When completing on file names, bump
8057 `p' to the first file-name constituent character of `word', before
8058 invoking the completer.
8059
f31e928c
MK
80602001-02-17 Mark Kettenis <[email protected]>
8061
8062 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
8063 consistently for parameter names. Fix comments accordingly.
8064 (i387_supply_register): New function.
8065 (i387_supply_fsave): Implement using i387_supply_register.
8066 * i387-nat.h: Use regnum instead of regno consistently for
8067 parameter names. Fix comments accordingly.
8068 (i387_supply_register): New prototype.
8069
d696208f
MS
80702001-02-16 Michael Snyder <[email protected]>
8071
8072 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
8073 instead of TARGET_PTR_BIT (to support Harvard architectures).
8074
971429b4
AC
80752001-02-16 Andrew Cagney <[email protected]>
8076
8077 From 2001-02-11 Paul Hilfinger <[email protected]>
8078 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
8079 argument to parameter list and to call in order to conform to
8080 to_xfer_memory field of struct target_ops.
8081
9ca0e47c
MC
80822001-02-12 Michael Chastain <[email protected]>
8083
da7dd56f 8084 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
8085 section relocation feature of syms_from_objfile. Do my own
8086 section relocation, offsetting each section of the som by
8087 either text_addr - text_link_addr or data_start.
8088
7d65bd2d
AC
80892001-02-16 Andrew Cagney <[email protected]>
8090
8091 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
8092
e33e9692
AC
80932001-02-16 Andrew Cagney <[email protected]>
8094
8095 * MAINTAINERS (paper trail): Update.
8096
17dee195
MK
80972001-02-16 Mark Kettenis <[email protected]>
8098
8099 * target.h (target_fetch_registers): Fix comment.
8100
0f6e1ba6
AC
81012001-02-15 Andrew Cagney <[email protected]>
8102
8103 * f-exp.y: Include <ctype.h>.
8104 (parse_number): Ensure that ``i'' is always initialized.
8105
9a069618
JK
81062001-02-14 Jim Kingdon <[email protected]>
8107
8108 * MAINTAINERS: Add myself to paper trail section.
8109
fc24370e
MS
81102001-02-14 Michael Sokolov <[email protected]>
8111
8112 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
8113 * configure, config.in: Regenerate.
8114 * corelow.c: Include <sys/file.h> if present.
8115
4b69c284
AC
81162001-02-14 Andrew Cagney <[email protected]>
8117
8118 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
8119 declare when have SIGTTOU.
8120
7904f322
EZ
81212001-02-14 Eli Zaretskii <[email protected]>
8122
8123 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
8124
9e798668
JK
81252001-02-12 Jim Kingdon <[email protected]>
8126
8127 * MAINTAINERS: Update my email address.
8128
65d5a54a
EZ
81292001-02-11 Eli Zaretskii <[email protected]>
8130
8131 * NEWS: Document that "info symbol" works with COFF debug info and
8132 its variants.
8133
8134 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
8135 symbols whose SYMBOL_BFD_SECTION is NULL.
8136
0cff82d9 81372001-02-10 Peter Schauer <[email protected]>
a8079a9b
PS
8138
8139 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
8140 * xcoffsolib.c (xcoff_solib_address): Renamed from
8141 pc_load_segment_name. Return NULL if address is not in a shared
8142 library. Cleanup shared library name construction, using xasprintf.
8143 Format shared library member names consistent with format in exec.c.
8144 (solib_info): Format shared library member names consistent with
8145 format in exec.c.
8146 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
8147 using xcoff_solib_address for PC_SOLIB definition.
8148 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
8149 needed.
8150
0cff82d9 81512001-02-10 Peter Schauer <[email protected]>
4b2e4867
PS
8152
8153 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
8154 with xmalloc calls and cleanups.
8155
0cff82d9 81562001-02-10 Peter Schauer <[email protected]>
d737ece6
PS
8157
8158 * rs6000-nat.c (child_xfer_memory): Add missing parameter
8159 'struct mem_attrib *' required by 2001-01-23 change.
8160
c5bb1243
JK
81612001-02-08 Jim Kingdon <[email protected]>
8162
8163 Updates to "make TAGS":
8164 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
8165 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
8166 tahoe-tdep.c.
8167 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
8168
c799ae7b
EZ
81692001-02-08 Eli Zaretskii <[email protected]>
8170
8171 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
8172
12685e01
AC
8173Wed Feb 7 22:39:26 2001 Andrew Cagney <[email protected]>
8174
8175 From Dean Luick <[email protected]>:
8176 * defs.h (continuation): Remove unused global variable.
8177
7fcca85b
AC
8178Wed Feb 7 22:28:31 2001 Andrew Cagney <[email protected]>
8179
8180 * configure.tgt: Remove references to convex, pyramid, altos and
8181 tahoe.
8182 * configure.host: Ditto.
8183 * MAINTAINERS: Ditto.
8184 * NEWS: Update.
8185
8186 * tahoe-tdep.c: Delete obsolete file.
8187 * pyr-xdep.c: Ditto.
8188 * pyr-tdep.c: Ditto.
8189 * convex-tdep.c: Ditto.
8190 * convex-xdep.c: Ditto.
8191 * config/tahoe/xm-tahoe.h: Ditto.
8192 * config/tahoe/tm-tahoe.h: Ditto.
8193 * config/tahoe/tahoe.mt: Ditto.
8194 * config/tahoe/tahoe.mh: Ditto.
8195 * config/pyr/xm-pyr.h: Ditto.
8196 * config/pyr/tm-pyr.h: Ditto.
8197 * config/pyr/pyramid.mt: Ditto.
8198 * config/pyr/pyramid.mh: Ditto.
8199 * config/m68k/xm-altos.h: Ditto.
8200 * config/m68k/tm-altos.h: Ditto.
8201 * config/m68k/altos.mt: Ditto.
8202 * config/m68k/altos.mh: Ditto.
8203 * config/convex/xm-convex.h: Ditto.
8204 * config/convex/tm-convex.h: Ditto.
8205 * config/convex/convex.mt: Ditto.
8206 * config/convex/convex.mh: Ditto.
8207 * config/convex/Convex.notes: Ditto.
8208 * config/arm/xm-arm.h: Ditto.
8209 * config/arm/nm-arm.h: Ditto.
8210 * config/arm/arm.mt: Ditto.
8211 * config/arm/arm.mh: Ditto.
8212 * arm-convert.s: Ditto.
8213 * arm-xdep.c: Ditto.
8214 * altos-xdep.c: Ditto.
8215
8e65ff28
AC
8216Wed Feb 7 19:41:21 2001 Andrew Cagney <[email protected]>
8217
8218 * defs.h (internal_error, internal_verror): Add __FILE__ and
8219 __LINE__ parameter.
8220 * utils.c (internal_error, internal_verror): Update.
8221
8222 * v850-tdep.c: Update calls to internal_error.
8223 * utils.c: Ditto.
8224 * ui-out.c: Ditto.
8225 * ui-file.c: Ditto.
8226 * target.h: Ditto.
8227 * symtab.h: Ditto.
8228 * symm-nat.c: Ditto.
8229 * sparc-tdep.c: Ditto.
8230 * source.c: Ditto.
8231 * serial.c: Ditto.
8232 * rs6000-tdep.c: Ditto.
8233 * rs6000-nat.c: Ditto.
8234 * remote.c: Ditto.
8235 * remote-vx.c: Ditto.
8236 * remote-sim.c: Ditto.
8237 * remote-mips.c: Ditto.
8238 * regcache.c: Ditto.
8239 * objfiles.h: Ditto.
8240 * objfiles.c: Ditto.
8241 * mn10300-tdep.c: Ditto.
8242 * mips-tdep.c: Ditto.
8243 * maint.c: Ditto.
8244 * m68k-tdep.c: Ditto.
8245 * m3-nat.c: Ditto.
8246 * language.c: Ditto.
8247 * infptrace.c: Ditto.
8248 * inferior.h: Ditto.
8249 * infcmd.c: Ditto.
8250 * ia64-tdep.c: Ditto.
8251 * i386-tdep.c: Ditto.
8252 * i386-linux-nat.c: Ditto.
8253 * hppah-nat.c: Ditto.
8254 * go32-nat.c: Ditto.
8255 * findvar.c: Ditto.
8256 * f-lang.c: Ditto.
8257 * elfread.c: Ditto.
8258 * event-loop.c: Ditto.
8259 * dwarf2read.c: Ditto.
8260 * dsrec.c: Ditto.
8261 * d30v-tdep.c: Ditto.
8262 * d10v-tdep.c: Ditto.
8263 * cli/cli-setshow.c: Ditto.
8264 * cli/cli-script.c: Ditto.
8265 * ch-exp.c: Ditto.
8266 * breakpoint.c: Ditto.
8267 * ax-gdb.c: Ditto.
8268 * arch-utils.c: Ditto.
8269 * a29k-tdep.c: Ditto.
8270 * gdb_assert.h: Ditto.
8271 * gdbarch.sh: Ditto.
8272 * gdbarch.h, gdbarch.c: Re-generate.
8273
72290732
AC
82742001-02-07 Andrew Cagney <[email protected]>
8275
8276 From Mark Kettenis <[email protected]>:
8277 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
8278
a6da1910
AC
82792001-02-07 Andrew Cagney <[email protected]>
8280
8281 * remote-sim.c (dump_mem): Cleanup printf format argument.
8282 * MAINTAINERS: Update, mn10300-elf now builds.
8283
153f9905
MK
82842001-02-07 Mark Kettenis <[email protected]>
8285
8286 * event-top.c: Remove duplicate #include <signal.h>.
8287
f042532c
AC
82882001-02-06 Andrew Cagney <[email protected]>
8289
8290 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
8291 allocated buffer.
8292 (save_inferior_pid): Restore the PID from that tempoary
8293 buffer. Delete the buffer.
8294 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
8295
58cfabe6
AC
82962001-02-06 Andrew Cagney <[email protected]>
8297
8298 * MAINTAINERS: Add ``The Obvious Fix Rule''.
8299
ea8a41b8
AC
83002001-02-06 Andrew Cagney <[email protected]>
8301
8302 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
8303
95160752
AC
83042001-02-06 Andrew Cagney <[email protected]>
8305
8306 * gdbarch.sh: Include "gdb_assert.h".
8307 (struct gdbarch): Change ``nr_data'' to unsigned.
8308 (alloc_gdbarch_data, free_gdbarch_data): New functions.
8309 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
8310 architecture vector.
8311 (struct gdbarch_data, struct gdbarch_data_registration): Move init
8312 method to gdbarch_data. Add free method, make index unsigned.
8313 (struct gdbarch_data_registry): Make nr unsigned.
8314 (register_gdbarch_data): Add free parameter. Store in
8315 gdbarch_data.
8316 (init_gdbarch_data): Use set_gdbarch_data.
8317 (set_gdbarch_data): New function.
8318
8319 * gdbarch.h, gdbarch.c: Re-generate.
8320
64122a8b
MS
83212001-02-06 Michael Sokolov <[email protected]>
8322
8323 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
8324 fprintf_filtered with correct arguments.
8325
e6cbd02a
MS
83262001-02-06 Michael Snyder <[email protected]>
8327 Submitted by Paul Hilfinger ([email protected])
8328 and Andrei Petrov ([email protected]).
8329 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
8330 must be allocated dynamically, since these are no longer constants.
8331 * infcmd.c: Ditto.
8332 * regcache.c: Ditto.
8333 * remote.c: Ditto.
8334 * sol-thread.c: Ditto.
8335 * valops.c: Ditto.
8336 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
8337 work-around for a missing Sun header file in solaris for sparc64.
8338
713f0374
PB
83392001-02-04 Philip Blundell <[email protected]>
8340
8341 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
8342 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
8343 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
8344 GET_THREAD_SIGNALS): Define.
8345 * arm-linux-nat.c (fill_gregset): Correct type of argument.
8346 (supply_gregset): Likewise.
8347 (fill_fpregset): Likewise.
8348 (supply_fpregset): Likewise.
8349
4603e466
DT
8350Tue Feb 6 11:58:57 2001 David Taylor <[email protected]>
8351
8352 * valops.c (value_cast): If casting a scalar to a pointer, do not
8353 issue a message about truncation unless it exceeds the length of
8354 an address, not the length of a pointer. This is because what the
8355 user gives us is an address, not a pointer, and we will ultimately
8356 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
8357 to a pointer. This allows things like "print *(int *)0x01000234"
8358 to work without generating a misleading message on a target having
8359 two byte pointers and four byte addresses.
8360
554cb486
CF
83612001-02-05 Christopher Faylor <[email protected]>
8362
8363 * win32-nat.c: Change PTR to void * throughout.
8364
042be3a9
C
83652001-02-05 J.T. Conklin <[email protected]>
8366
8367 * signals.h: Removed.
8368 * event-top.c (#include <signal.h>): Changed from signals.h.
8369 * inflow.c: Likewise.
8370 * mac-xdep.c: Likewise.
8371 * ser-pipe.c: Likewise.
8372 * ser-tcp.c: Likewise.
8373 * standalone.c: Likewise.
8374 * top.c: Likewise.
8375 * utils.c: Likewise.
8376 * Makefile.in: Removed signals.h from dependencies.
8377
a4acd088
CF
83782001-02-05 Christopher Faylor <[email protected]>
8379
8380 Change suggested by Dean Luick <[email protected]>
8381 * inferior.h (step_over_calls_kind): Remove trailing comma from
8382 last enum element.
8383 (step_over_calls): Declare as extern rather than global.
8384
3116c80a
EZ
83852001-02-05 Elena Zannoni <[email protected]>
8386
8387 * sh-tdep.c: Update copyright.
8388 (sh_extract_return_value): Rewrite.
8389 (sh3e_sh4_extract_return_value): New function.
8390 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
8391 version of the function for sh3e and sh4 CPUs.
8392
240be855
MC
83932001-02-05 Michael Chastain <[email protected]>
8394
8395 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
8396 to conform with interface change.
8397
a17b5c4e
EZ
83982001-02-04 Eli Zaretskii <[email protected]>
8399
32fe0950
EZ
8400 * config/djgpp/fnchange.lst: Tweak to make consistent with the
8401 new files.
8402
619cbaf7
EZ
8403 * config/djgpp/djconfig.sh: Use explicit absolute file name when
8404 invoking `find'.
8405
cd42d3a8
EZ
8406 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
8407 UART_FIFO_WORKS is defined. Otherwise use outportb.
8408 From Francisco Pastor <[email protected]>
8409
a17b5c4e
EZ
8410 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
8411 with target.h's `to_xfer_memory' member.
8412
86ddecc5
C
84132001-02-02 J.T. Conklin <[email protected]>
8414
8415 * ppc-bdm.c (#include <signal.h>): Removed.
8416 * remote-array.c: Likewise.
8417 * remote-bug.c: Likewise.
8418 * remote-e7000.c: Likewise.
8419 * remote-mips.c: Likewise.
8420 * remote-os9k.c: Likewise.
8421 * remote-st.c: Likewise.
8422 * remote-udi.c: Likewise.
8423 * remote-vx29k.c: Likewise.
8424 * remote-vx68.c: Likewise.
8425 * remote-vx960.c: Likewise.
8426 * remote-vxmips.c: Likewise.
8427 * remote-vxsparc.c: Likewise.
8428
338d7c5c
JM
84292001-02-02 John Moore <[email protected]>
8430
8431 * remote-utils.h (sr_set_device): Changed free() to xfree() where
8432 appropriate. Also changed Copyright to include 2001.
8433 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
8434 * value.h (value_free): Likewise.
8435 * gdbarch.sh (gdbarch_free): Likewise.
8436 * gdbarch.c, gdbarch.h: Regenerated.
8437
2b5436af
JM
84382001-02-02 John Moore <[email protected]>
8439
8440 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 8441 xfree(). Also changed Copyright to include 2001.
2b5436af 8442
82467003
C
84432001-02-02 J.T. Conklin <[email protected]>
8444
8445 * monitor.c (#include "gdb_wait.h"): Removed.
8446 * ocd.c: Likewise.
8447 * ppc-bdm.c: Likewise.
8448 * remote-adapt.c: Likewise.
8449 * remote-array.c: Likewise.
8450 * remote-bug.c: Likewise.
8451 * remote-e7000.c: Likewise.
8452 * remote-eb.c: Likewise.
8453 * remote-es.c: Likewise.
8454 * remote-mips.c: Likewise.
8455 * remote-mm.c: Likewise.
8456 * remote-nindy.c: Likewise.
8457 * remote-os9k.c: Likewise.
8458 * remote-rdi.c: Likewise.
8459 * remote-rdp.c: Likewise.
8460 * remote-sds.c: Likewise.
8461 * remote-sim.c: Likewise.
8462 * remote-st.c: Likewise.
8463 * remote-udi.c: Likewise.
8464 * remote-vx.c: Likewise.
8465 * remote-vx29k.c: Likewise.
8466 * remote-vx68.c: Likewise.
8467 * remote-vx960.c: Likewise.
8468 * remote-vxmips.c: Likewise.
8469 * remote-vxsparc.c: Likewise.
8470 * remote.c: Likewise.
8471 * ser-pipe.c: Likewise.
8472 * ser-unix.c: Likewise.
8473 * Makefile.in: Updated dependencies.
8474
27b82ed2
DS
84752001-01-31 David Smith <[email protected]>
8476
8477 * event-loop.c: Change inclusion of string.h to gdb_string.h and
8478 updated the copyright notice.
8479 * ser-pipe.c: Ditto.
8480 * mi/mi-cmds.c: Ditto.
8481 * mi/mi-console.c: Ditto.
8482 * mi/mi-getopt.c: Ditto.
8483 * mi/mi-parse.c: Ditto.
8484
ab9cc815
DS
84852001-01-31 David Smith <[email protected]>
8486
8487 * MAINTAINERS: Add David Smith to Write After Approval list.
8488
d1f4cff8
AC
8489Tue Jan 30 15:43:08 2001 Andrew Cagney <[email protected]>
8490
8491 * cli/cli-utils.c (putchar_filtered): Move function from here.
8492 * utils.c (putchar_filtered): To here.
8493 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
8494 * defs.h (putchar_filtered): To here.
8495
74c1b268
AC
8496Tue Jan 30 17:27:11 2001 Andrew Cagney <[email protected]>
8497
8498 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
8499 AC_FUNC_VFORK macro.
8500 * config.in, configure: Re-generate.
8501
8502 * gdb_vfork.h: New file.
8503 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
8504 * fork-child.c (fork_inferior): Ditto.
8505
4fcf66da
AC
8506Tue Jan 30 17:09:07 2001 Andrew Cagney <[email protected]>
8507
8508 * defs.h (strsave): Delete declaration.
8509 * utils.c (strsave): Delete definition.
8510 * TODO (strsave): Update
8511
8512 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
8513 * sparcl-tdep.c (sparclite_open): Ditto.
8514 * mips-tdep.c (mips_set_processor_type_command): Ditto.
8515 (_initialize_mips_tdep): Ditto.
8516 * solib.c (solib_open): Ditto.
8517 * symfile.c (add_filename_language): Ditto.
8518 (set_ext_lang_command): Ditto.
8519 * source.c (init_source_path): Ditto.
8520 (mod_path): Ditto.
8521 * sh3-rom.c (sh3_open): Ditto.
8522 (sh3e_open): Ditto.
8523 * serial.c (serial_open): Ditto.
8524 * remote-mips.c (common_open): Ditto.
8525 * monitor.c (monitor_open): Ditto.
8526 * m32r-rom.c (m32r_upload_command): Ditto.
8527 * infcmd.c (path_command): Ditto.
8528 * f-exp.y (parse_number): Ditto.
8529 * breakpoint.c (create_longjmp_breakpoint): Ditto.
8530 (create_thread_event_breakpoint): Ditto.
8531 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
8532 (_initialize_arc_tdep): Ditto.
8533
e191e0ab
AC
8534Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
8535
8536 * cli/cli-script.c (define_command): Check for a bad hook value in
8537 switch statement.
8538
10214f55
C
85392001-01-30 J.T. Conklin <[email protected]>
8540
8541 * configure/sh/embed.mt: New file.
8542 * configure/sh/linux.mt: New file.
8543 * configure/sh/sh.mt: Removed.
8544 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
8545 (sh-*-*): Removed.
8546
c9049fc9
MC
85472001-01-29 Michael Chastain <[email protected]>
8548
a4f30b31 8549 * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
c9049fc9
MC
8550 symbol comparisons in binary search.
8551
0cff82d9 85522001-01-27 Christopher Faylor <[email protected]>
aea02b6b
CF
8553
8554 * win32-nat.c (child_xfer_memory): Add missing argument required by
8555 2001-01-23 change.
8556
e6e0bfab
MK
85572001-01-27 Mark Kettenis <[email protected]>
8558
8559 * ui-out.c (do_list_end): New function.
8560 (make_cleanup_ui_out_list_end): New function.
8561 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
8562 * stack.c (print_frame) [UI_OUT]: Call
8563 make_cleanup_ui_out_list_end to make sure we mark the end of the
8564 list if we do a non-local exit. At the end of the function,
8565 instead of calling ui_out_list_end directly, let do_cleanups
8566 handle it.
8567
1adeb98a
FN
85682001-01-26 Fernando Nasser <[email protected]>
8569
8570 Fix double parsing of filenames passed as command line arguments
8571 to GDB (causes weird handling of escape characters).
8572 Also, remove dependencies on the CLI from libgdb.
8573 * call-cmds.h: Remove declaration of exec_file_command().
8574 * gdbcore.h: Remove declaration of exec_file_command().
8575 Add declarations for exec_open() and exec_file_clear().
8576 * symfile.h: Add declarations for symbol_file_add_main() and
8577 symbol_file_clear().
8578 * exec.c (exec_open): New function. Implements to_open for exec
8579 targets.
8580 (exec_file_clear): New function. Makes GDB forget about a previously
8581 specified executable file.
8582 (exec_file_attach): Move parsing of arguments from here ...
8583 (exec_file_command): ... to here.
8584 (init_exec_ops): Use exec_open(), not exec_file_command() to
8585 implement to_open for exec targets.
8586 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
8587 with default values. Used when the file name has already been parsed.
8588 (symbol_file_clear): New function. Makes GDB forget about previously
8589 read symbols.
8590 (symbol_file_command): Call the above function instead of inline code.
8591 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
8592 "call-cmds.h".
8593 (captured_main): Call exec_file_attach() and symbol_file_add_main()
8594 instead of exec_file_command() and symbol_file_command().
8595 (captured_main): Add comment.
8596 * corefile.c: Include "symfile.h".
8597 (core_file_command): Call symbol_file_add_main() instead of
8598 symbol_file_command().
8599 (reopen_exec_file): Call exec_open() instead of exec_file_command().
8600 * infcmd.c: Include "symfile.h".
8601 (attach_command): Call symbol_file_add_main() instead of
8602 symbol_file_command().
8603 * infrun.c: Remove comment about the inclusion of "symfile.h",
8604 not any longer appropriate.
8605 (follow_exec): Call symbol_file_add_main() instead of
8606 symbol_file_command().
8607 * remote-es.c: Include "symfile.h".
8608 (es1800_load): Call symbol_file_add_main() instead of
8609 symbol_file_command().
8610 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
8611 not any longer appropriate.
8612 (vx-wait): Call symbol_file_add_main() instead of
8613 symbol_file_command().
8614 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
8615 instead of symbol_file_command().
8616 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
8617 symbol_file_add_main() instead of exec_file_command() and
8618 symbol_file_command().
8619 * Makefile.in: Update dependencies.
8620
5b616ba1
JH
86212001-01-26 Jeff Holcomb <[email protected]>
8622
8623 * remote-udi.c (udi_open): Change strdup to xstrdup.
8624 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
8625 Update copyright message.
8626 * varobj.c (delete_variable_1): Likewise.
8627
8628 * gdb_string.h: Remove declaration of strdup. Update copyright
8629 message.
8630 * config/xm-mpw.h: Likewise.
8631 * config/i386/xm-i386mach.h: Likewise.
8632 * config/m68k/xm-apollo68b.h: Likewise.
8633 * config/m68k/xm-hp300bsd.h: Likewise.
8634 * config/rs6000/xm-rs6000.h: Likewise.
8635 * config/vax/xm-vaxult.h: Remove declaration of strdup.
8636 * config/vax/xm-vaxult2.h: Likewise.
8637
b91d87cf
JH
86382001-01-26 Jeff Holcomb <[email protected]>
8639
8640 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
8641
873406a6
C
86422001-01-25 J.T. Conklin <[email protected]>
8643
8644 * target.c (target_xfer_memory_partial): Return -1 on failure due
8645 to invalid access mode attribute.
8646
0613c401
CF
86472001-01-25 Christopher Faylor <[email protected]>
8648
8649 * win32-nat.c (_initialize_core_win32): Prototype correctly.
8650
efd59e3f
MK
86512001-01-25 Mark Kettenis <[email protected]>
8652
8653 * config/alpha/tm-fbsd.h: Update copyright.
8654 (USE_STRUCT_CONVENTION): Define in terms of
8655 alphabsd_use_struct_convention.
8656 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
8657 * alphafbsd-tdep.c: New file.
8658
388e1ff2
FN
86592001-01-24 Fernando Nasser <[email protected]>
8660
8661 * top.c (print_gdb_version): Update Copyright year.
8662
f4d650ec
C
86632001-01-24 J.T. Conklin <[email protected]>
8664
8665 * dcache.c (dcache_write_line): Fix typo.
8666
8667 * memattr.c (delete_mem_region): Replace free() with xfree().
8668 (mem_number): Add explicit type.
8669
8670 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
8671 (rw_common): Likewise.
8672
07091751
FN
86732001-01-24 Fernando Nasser <[email protected]>
8674
8675 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
8676 for the inferior program arguments.
8677 (run_command, run_no_args_command, init_infcmd)): Use accessor
8678 functions to set the inferior program arguments.
8679 * inferior.h: Add definitions to the accessor functions above.
8680
090c42a4
JB
86812001-01-23 Jim Blandy <[email protected]>
8682
8683 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
8684 Implement these correctly, using make_cv_type.
8685
f29d9b6d 86862001-01-23 J.T. Conklin <[email protected]>
29e57380
C
8687
8688 * exec.c (xfer_memory): Add attrib argument.
8689 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 8690 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
8691 * monitor.c (monitor_xfer_memory): Likewise.
8692 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
8693 * remote-array.c (array_xfer_memory): Likewise.
8694 * remote-bug.c (bug_xfer_memory): Likewise.
8695 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
8696 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
8697 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
8698 * remote-mips.c (mips_xfer_memory): Likewise.
8699 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
8700 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
8701 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
8702 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
8703 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
8704 * remote-sds.c (sds_xfer_memory): Likewise.
8705 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
8706 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
8707 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
8708 * remote-vx.c (vx_xfer_memory): Likewise.
8709 * remote.c (remote_xfer_memory): Likewise.
8710 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
8711 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 8712 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
8713
8714 * target.h (#include "memattr.h"): Added.
8715 (target_ops.to_xfer_memory): Add attrib argument.
8716
8717 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
8718 * dcache.h (set_dcache_state): Removed declaration.
8719 * dcache.c (set_dcache_state): Removed definition
8720
8721 * dcache.c: Update module comment, as dcache is now enabled and
8722 disabled with memory region attributes instead of by the global
8723 variable "remotecache". Add comment describing the interaction
8724 between dcache and memory region attributes.
8725 (dcache_xfer_memory): Add comment describing benefits of moving
8726 cache writeback to a higher level.
8727 (dcache_struct): Removed cache_has_stuff field. This was used to
8728 record whether the cache had been accessed in order to invalidate
8729 it when it was disabled. However, this is not needed because the
8730 cache is write through and the code that enables, disables, and
8731 deletes memory regions invalidate the cache. Add comment which
8732 suggests that we could be more selective and only invalidate those
8733 cache lines containing data from those memory regions.
8734 (dcache_invalidate): Updated.
8735 (dcache_xfer_memory): Updated.
f29d9b6d 8736
29e57380
C
8737 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
8738 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
8739 perform a uncached transfer if dcache_enabled_p was clear. This
8740 function is now only called if caching is enabled for the memory
8741 region.
8742 (dcache_info): Always print cache info.
8743
8744 * target.c (do_xfer_memory): Add attrib argument.
8745 (target_xfer_memory, target_xfer_memory_partial): Break transfer
8746 into chunks defined by memory regions, pass region attributes to
8747 do_xfer_memory().
8748 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
8749
8750 * Makefile.in (SFILES): Add memattr.c.
8751 (COMMON_OBS): Add memattr.o.
8752 (dcache.o): Add target.h to dependencies.
8753 * memattr.c: New file.
8754 * memattr.h: Likewise.
8755
f29d9b6d
C
8756 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
8757 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
8758 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
8759 * gdbserver/low-sim.c (#include "defs.h"): Removed.
8760 (mygeneric_load): Rename from generic_load.
8761
8762 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
8763 (#include "defs.h"): Removed.
8764 (inferior_pid, perror_with_name): Remove declarations.
8765 * gdbserver/low-linux.c: Likewise.
8766 * gdbserver/low-nbsd.c: Likewise.
8767 * gdbserver/low-sparc.c: Likewise.
8768 * gdbserver/low-sun3.c: Likewise.
8769
8770 * i386-stub.c: Re-indent.
8771 * m68k-stub.c: Re-indent.
8772
58d5518e
ND
87732001-01-22 Nicholas Duffek <[email protected]>
8774
8775 * gdbarch.sh (PARM_BOUNDARY): Define.
8776 * gdbarch.c: Regenerate.
8777 * gdbarch.h: Regenerate.
8778
f6427ade
C
87792001-01-22 J.T. Conklin <[email protected]>
8780
8781 * ns32k-tdep.c: #include "frame.h"
8782 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
8783 appears to have been inadvertantly removed sometime in May 1999.
8784
8785 * Revert 2000-11-09 changes where shared library objects were
8786 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
8787 we'd like to be able to debug dynamically linked executables,
8788 this makes it impossible to build a cross debugger on a many
8789 hosts.
8790
8791 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
8792 * config/i386/nbsdelf.mt: Likewise.
8793 * config/m68k/nbsd.mt: Likewise.
8794 * config/ns32k/nbsd.mt: Likewise.
8795 * config/powerpc/nbsd.mt: Likewise.
8796 * config/sparc/nbsd.mt: Likewise.
8797 * config/sparc/nbsdelf.mt: Likewise.
8798 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
8799 * config/i386/nbsdelf.mh: Likewise.
8800 * config/m68k/nbsd.mh: Likewise.
8801 * config/ns32k/nbsd.mh: Likewise.
8802 * config/powerpc/nbsd.mh: Likewise.
8803 * config/sparc/nbsd.mh: Likewise.
8804
8052a17a
JM
88052001-01-19 Jason Merrill <[email protected]>
8806
8807 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
8808 (process_one_symbol): Likewise.
8809 * dwarfread.c (handle_producer): Likewise.
8810
21a6f6bb
AC
8811Thu Jan 18 12:08:57 2001 Andrew Cagney <[email protected]>
8812
8813 * configure.in (build_warnings): Disable -Wuninitialized until GDB
8814 compiles with -Wuninitialized,-Werror.
8815 * configure: Regenerate.
8816
8817 * MAINTAINERS: Add list of buildable targets.
8818
494b7ec9
AC
8819Thu Jan 18 12:48:04 2001 Andrew Cagney <[email protected]>
8820
8821 * defs.h (STRCMP): Delete macro.
8822
8823 * objfiles.c (objfile_relocate): Replace STRCMP with call to
8824 strcmp.
8825 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
8826 * symfile.c (compare_symbols): Ditto.
8827 * standalone.c (open): Ditto.
8828 * remote-es.c (verify_break): Ditto.
8829 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
8830
8831 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
8832
8038e1e2
AC
8833Thu Jan 18 12:25:06 2001 Andrew Cagney <[email protected]>
8834
8835 * varobj.c (FREEIF): Delete macro.
8836 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
8837 call.
8838
ea8d0b28
NC
88392001-01-18 Nick Clifton <[email protected]>
8840
8841 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
8842 (arc_print_insn): No bfd available, so pass NULL to
8843 arc_get_disassembler.
8844
5dbd9048
JB
88452001-01-09 James Ingham <[email protected]>
8846
8847 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
8848 a mangled symbol rather than recursing into lookup_symbol, since
8849 this will just re-unmangle the name & call lookup_symbol_aux -
8850 leading to an infinite recursion.
8851
28ae27b1
MK
88522001-01-18 Mark Kettenis <[email protected]>
8853
8854 * infcmd.c (print_return_value): Restore another space lost by
8855 switch to UIOUT. ``$NN='' should be ``$NN =''.
8856
6ab3a9c9
AC
8857Fri Jan 19 02:31:40 2001 Andrew Cagney <[email protected]>
8858
8859 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
8860 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
8861 definition in parenthesis.
8862
ad6525fc
AC
8863Fri Jan 19 02:13:40 2001 Andrew Cagney <[email protected]>
8864
8865 From 2000-10-27 Mark Salter <[email protected]>:
8866 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
8867 packet.
8868 (remote_insert_hw_breakpoint): Ditto.
8869
6259c7e2
C
88702001-01-17 J.T. Conklin <[email protected]>
8871
8872 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 8873 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
8874 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
8875 * m68knbsd-tdep.c: New file.
8876
8877 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
8878
8879 * m68knbsd-nat.c: #include gdbcore.h.
8880
abdcb2a5
AC
8881Wed Jan 17 09:41:58 2001 Andrew Cagney <[email protected]>
8882
8883 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
8884
e7a8479f
MS
88852001-01-16 Michael Snyder <[email protected]>
8886
aaeb7efa
MS
8887 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
8888 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
8889 * source.c (openp): Fix typo in comment.
8890
7036d6ce
ND
88912001-01-12 Nicholas Duffek <[email protected]>
8892
8893 * blockframe.c (generic_get_saved_register): Spelling fix.
8894 * frame.h (FRAME_FP): Spelling fix.
8895
9549d9c1
AC
8896Fri Jan 12 18:29:46 2001 Andrew Cagney <[email protected]>
8897
8898 * infcmd.c (print_return_value): Restore space lost by switch to
8899 UIOUT. ``$NN='' should be ``$NN =''.
8900
7302a204
ND
89012001-01-08 Nicholas Duffek <[email protected]>
8902
8903 * regcache.c (set_register_cached, register_buffer,
8904 real_register, pseudo_register fetch_register, store_register):
8905 New functions.
8906 (register_changed, read_relative_register_raw_bytes_for_frame,
8907 registers_changed, registers_fetched, read_register_bytes,
8908 read_register_gen, write_register_gen, read_register,
8909 read_signed_register, write_register, supply_register): Replace
8910 register_valid[] with register_cached() and
8911 set_register_cached().
8912 (read_register_bytes, read_register_gen, write_register_gen,
8913 read_register, read_signed_register, write_register,
8914 supply_register): Replace registers[] with register_buffer().
8915 (read_register_bytes, read_register_gen, read_register,
8916 read_signed_register): Call fetch_register().
8917 (write_register_gen, write_register): Call real_register() and
8918 store_register().
8919 (write_register_bytes): Call store_register().
8920 * value.h (set_register_cached, register_buffer): Prototype.
8921 * remote.c (remote_fetch_registers): Allocate regs[] with a
8922 run-time size. Replace register_valid[] with
8923 set_register_cached().
8924 (store_register_using_P, remote_store_registers): Replace
8925 registers[] with register_buffer().
8926
5ebd2499
ND
89272001-01-08 Nicholas Duffek <[email protected]>
8928
8929 * regcache.c: Change "write-back" comment to "write-through".
8930 Change "regno" to "regnum".
8931 (read_register, read_signed_register): Remove "raw" from return
8932 value description.
8933 (supply_register): Spelling fix.
8934 * value.h: Change "regno" to "regnum".
8935
1302fd5e
FN
89362001-01-08 Fernando Nasser <[email protected]>
8937
8938 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
8939 to be installed.
8940
9dcb560c
MS
89412001-01-04 Michael Snyder <[email protected]>
8942
8943 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
8944
0e2fb98e
ND
89452001-01-04 Nicholas Duffek <[email protected]>
8946
8947 * valops.c (VALUE_SUBSTRING_START): Delete.
8948
12cf3f1b
ND
89492001-01-04 Nicholas Duffek <[email protected]>
8950
8951 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
8952 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
8953 (cli_utils_h): New variable.
8954 (cli/cli-utils.o): New rule.
8955 * cli/cli-utils.c: New file.
8956 * cli/cli-utils.h: New file.
8957
cc533b9d
ND
89582001-01-04 Nicholas Duffek <[email protected]>
8959
8960 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
8961 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
8962
ad2a4d09
C
89632001-01-03 J.T. Conklin <[email protected]>
8964
8965 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
8966 comment.
8967
8140e7ac
MS
89682001-01-02 Michael Snyder <[email protected]>
8969
3116c80a
EZ
8970 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
8971 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 8972 non-float types.
779e876b 8973 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
8974 Update copyright notice.
8975
15f33b66 8976For older changes see ChangeLog-2000
c906108c
SS
8977\f
8978Local Variables:
8979mode: change-log
8980left-margin: 8
8981fill-column: 74
8982version-control: never
8983End:
This page took 1.470556 seconds and 4 git commands to generate.