]> Git Repo - binutils.git/blame - gdb/ChangeLog
* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
[binutils.git] / gdb / ChangeLog
CommitLineData
e6da861e
MK
12001-07-11 Mark Kettenis <[email protected]>
2
3 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
4 used.
5
d8c852a1
EZ
62001-07-11 Eli Zaretskii <[email protected]>
7
8 * go32-nat.c (info_dos_cmdlist): New variable.
9 (go32_info_dos_command): New function.
10 (_initialize_go32_nat): Convert all DOS-specific commands into
11 subcommands of "info dos". Suggested by Andrew Cagney
12 <[email protected]>.
13
f8d13125
MK
142001-07-11 Mark Kettenis <[email protected]>
15
11d18042
MK
16 * config/nm-linux.h: Fix comments.
17
936742ab
MK
18 * thread-db.c (enable_thread_event_reporting): Correct warning
19 message about getting thread death breakpoint.
20 Reported by John S Kallal <[email protected]>.
21
ccb945b8
MK
22 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
23 (i386_store_return_value): Frob FPU status and tag word to make
24 sure the return value is the only value on the FPU stack.
25
f8d13125
MK
26 * config/tm-linux.h: Do not include <signal.h>. Instead provide
27 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
28 already defined.
29 * config/nm-linux.h: Include <signal.h>.
30 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
31 (__SIGRTMAX + 1) respectively.
32
56ff796a
AC
332001-07-10 Andrew Cagney <[email protected]>
34
35 * mcore-rom.c: Include "serial.h".
36 * Makefile.in (mcore-rom.o): Depends on "serial.h".
37
899ff3a2
AC
382001-07-10 Andrew Cagney <[email protected]>
39
40 * Makefile.in (remote-bug.o): Depends on serial.h.
41 * remote-bug.c: Include "serial.h".
42 * MAINTAINERS: Mark m88k target as buildable.
43 * TODO: Update.
44
2bf1f4a1
JB
452001-07-10 Jim Blandy <[email protected]>
46
75af7f68
JB
47 Clean up the D10V port so that GDB and the target program no
48 longer disagree on how big pointers are.
49 * findvar.c (value_from_register): Remove special case code for D10V.
50 * printcmd.c (print_frame_args): Same.
51 * valops.c (value_at, value_fetch_lazy): Same.
52 * values.c (unpack_long): Same.
53 * gdbarch.sh: Changes to effect the following:
54 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
55 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
56 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
57 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
58 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
59 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
60 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
61 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
62 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
63 gdbarch_d10v_convert_daddr_to_raw_ftype,
64 gdbarch_d10v_convert_daddr_to_raw,
65 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
66 gdbarch_d10v_convert_iaddr_to_raw_ftype,
67 gdbarch_d10v_convert_iaddr_to_raw,
68 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
69 * gdbarch.c: Delete the corresponding definitions.
70 (struct gdbarch): Delete members d10v_make_daddr,
71 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
72 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
73 (startup_gdbarch): Remove initializers for the above.
74 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
75 more.
76 * d10v-tdep.c (d10v_register_virtual_type): Rather that
77 claiming the stack pointer and PC are 32 bits long (which they
78 aren't), say that the stack pointer is an int16_t, and the
79 program counter is a function pointer. This allows the rest
80 of GDB to make the appropriate conversions between the code
81 pointer format and real addresses.
82 (d10v_register_convertible, d10v_register_convert_to_virtual,
83 d10v_register_convert_to_raw): Delete function; no registers
84 are convertible now, so we use
85 generic_register_convertible_not instead.
86 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
87 methods.
88 (d10v_push_arguments, d10v_extract_return_value): Remove special
89 cases for code and data pointers.
90 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
91 the target agree on how large pointers are. Say that addresses
92 are 32 bits long. Register the address_to_pointer and
93 pointer_to_address conversion functions. Since no registers are
94 convertible now, register generic_register_convertible_not as the
95 gdbarch_register_convertible method instead of
96 d10v_register_convertible. Remove registrations for
97 d10v_register_convert_to_virtual,
98 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
99 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
100 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
101 gdbarch_d10v_convert_iaddr_to_raw.
102
ef166cf4
JB
103 * printcmd.c (print_scalar_formatted): If we are printing an
104 address, remember that TARGET_ADDR_BIT is not always equal to
105 TARGET_PTR_BIT.
106
2bf1f4a1
JB
107 * valops.c (value_cast): When casting a pointer to an integer,
108 don't convert it to an address.
109
ba3a8523
AC
1102001-07-10 Andrew Cagney <[email protected]>
111
112 * remote-utils.h (struct serial): Declare as opaque. Remove
113 include of "serial.h".
114 * Makefile.in (remote_utils_h): Update.
115
116 * monitor.h (struct serial): Declare as opaque. Remove include of
117 "serial.h".
118 (struct monitor_ops): Replace serial_t with `struct serial *'.
119 * monitor.c (monitor_desc): Ditto.
120
2aa830e4
DJ
1212001-07-10 Daniel Jacobowitz <[email protected]>
122
123 * mips-linux-tdep.c: New file.
124 * mips-linux-nat.c: New file.
125 * config/mips/linux.mh: New file.
126 * config/mips/linux.mt: New file.
127 * config/mips/xm-linux.h: New file.
128 * config/mips/nm-linux.h: New file.
129 * config/mips/tm-linux.h: New file.
130 * configure.host: Recognize mips*-*-linux*.
131 * configure.tgt: Likewise.
132 * NEWS: Mention mips*-*-linux* port.
133
65e2f740
AC
1342001-07-09 Andrew Cagney <[email protected]>
135
136 * serial.h (struct serial): Rename `struct _serial_t'.
137 * serial.c (XMALLOC): Define.
138 (serial_open): Update. Use XMALLOC.
139 (serial_fdopen): Ditto.
140
090a2205
AC
1412001-07-07 Andrew Cagney <[email protected]>
142
143 * gdbtypes.h (builtin_type_void_data_ptr): Rename
144 builtin_type_ptr.
145 * gdbtypes.c (builtin_type_void_data_ptr): Update.
146 (build_gdbtypes): Update.
147 (_initialize_gdbtypes): Update.
148 * values.c (value_as_pointer): Update.
149 * utils.c (host_pointer_to_address): Update.
150 (address_to_host_pointer): Update.
151
8059d5aa
AC
1522001-07-08 Andrew Cagney <[email protected]>
153
154 * remote-udi.c (udi_wait): Make type, instead of name, of first
155 parameter a ptid_t.
156
cc61049c
AC
1572001-07-07 Andrew Cagney <[email protected]>
158
159 * ser-mac.c: Make obsolete.
160 * Makefile.in (ser-mac.o): Ditto.
161
10ba702d
EZ
1622001-07-08 Eli Zaretskii <[email protected]>
163
164 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
165 (read_memory_region, get_descriptor, display_descriptor)
166 (go32_sldt, go32_sgdt, go32_sidt): New functions.
167 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
168 away `disable' from dos.h, since breakpoint.h defines an enum
169 member of the same name, and GCC 2.7.2 barfs.
170 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
171 dos-gdt, and dos-idt, all of them in the "info" class
172
44312dba
KB
1732001-07-07 Kevin Buettner <[email protected]>
174
175 * procfs.c (create_procinfo): Allocate space for saved_entryset
176 and saved_exitset.
177 (destroy_one_procinfo): Free space allocated to saved_entryset
178 and saved_exitset.
179
5329c756
AC
1802001-07-07 Andrew Cagney <[email protected]>
181
182 * TODO (5.1): Update.
183
51cc5b07
AC
1842001-07-07 Andrew Cagney <[email protected]>
185
186 * symtab.c (main_name): New function.
187 (set_main_name): New function.
188 * symtab.h: Declare.
189 * TODO: Update
190
191 From 2000-03-05 Anthony Green <[email protected]>:
192 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
193 setting main_name.
194 * blockframe.c (inside_main_func): Use main_name instead of
195 "main".
196 * symtab.c (find_main_psymtab): Ditto.
197 * source.c (select_source_symtab): Ditto.
198 * nlmread.c (nlm_symfile_read): Ditto.
199 * rs6000-tdep.c (skip_prologue): Ditto.
200
56ddd993
AC
2012001-07-07 Andrew Cagney <[email protected]>
202
203 * TODO: Convert most items into PRs.
204
58eeadba
MK
2052001-07-07 Mark Kettenis <[email protected]>
206
207 * lin-lwp.c (status_to_str): New function.
208 (lin_lwp_wait): Use it to print debug messages where appropriate.
209
7f1659e6
MC
2102001-07-06 Michael Chastain <[email protected]>
211
212 * i387-tdep.c (print_i387_value): Fix pointer glitch.
213
00d4fce6
MK
2142001-07-07 Mark Kettenis <[email protected]>
215
216 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
217 commented with "paranoia" into gdb_assert.
218 (select_event_lwp_callback): Likewise.
219 (cancel_breakpoints_callback): Bail out early if LP is the event
220 LWP. Add comment about backup up breakpoints. Fix formatting and
221 debug message.
222 (select_event_lwp): Make solely repsonsible for switching event
223 LWP. Fix formatting and remove bogus "ERROR" debug message.
224 Don't backup breakpoints from here.
225 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
226 handle that. Only call select_event_lwp if we're not waiting for
227 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
228
7de45904
MS
2292001-07-06 Michael Snyder <[email protected]>
230
231 * procfs.c (procfs_resume): Silence noisy warning.
232
b1aeb4c5
MS
2332001-06-12 Michael Snyder <[email protected]>
234
235 * lin-lwp.c: Prevent thread starvation by using a monte carlo
236 method to choose which of several event threads to handle next.
237
238 (stop_wait_callback): Defer pushback of breakpoint events until
239 later; add SIGTRAP events to the queue of unhandled events.
240 Keep calling waitpid until SIGSTOP retrieved. If more than one
241 non-SIGSTOP event is retrieved, push them back onto the process
242 queue using kill.
243 (count_events_callback, select_singlestep_lwp_callback,
244 select_event_lwp_callback, cancel_breakpoints_callback,
245 select_event_lwp): New functions. Implement monte carlo method
246 for selecting which of several SIGTRAP threads to handle next.
247 Push back the breakpoint event for all threads other than the
248 selected one.
249 (lin_lwp_wait): Call select_event_lwp to decide which of several
250 sigtrapped lwps to handle next.
251 (resume_callback): Disable code that attempts to handle
252 step_resume breakpoints. Let core gdb handle this.
253
ee3a7b7f
JB
2542001-07-06 Jim Blandy <[email protected]>
255
256 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
257 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
258 (build_gdbtypes): Initialize it.
259 (_initialize_gdbtypes): Swap it.
260
e135b889 2612001-07-04 Daniel Jacobowitz <[email protected]>
ee3a7b7f 262
e135b889
DJ
263 * mips-tdep.c (mips32_op): Correct offset.
264 (itype_op): Likewise.
265 (itype_rs): Fix formatting.
266 (itype_immediate): Fix formatting.
267 (jtype_op): Correct offset.
268 (jtype_target): Fix formatting.
269 (rtype_op): Correct offset.
270 (rtype_rs): Fix formatting.
271 (rtype_rt): Likewise.
272 (rtype_rd): Likewise.
273 (rtype_shamt): Likewise.
274 (rtype_funct): Likewise.
275
276 (mips32_next_pc): Fix formatting and comments. Recognize
277 coprocessor 1 branches. Check the correct field for BLT family
278 branches. Use itype_rt instead of itype_rs for the second register
279 of a BNE or BNEL branch. Move (unreachable) default case.
280
9dc5e2a9
AC
2812001-07-04 Andrew Cagney <[email protected]>
282
283 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
284 (ui_out_is_mi_like_p): Declare.
285 * ui-out.c (ui_out_is_mi_like_p): Define.
286 (default_ui_out_impl): Initialize is_mi_like_p to zero.
287 * cli-out.c (cli_ui_out_impl): Ditto.
288 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
289 (watchpoint_check, print_one_breakpoint, mention): Ditto.
290 * infrun.c (print_stop_reason, normal_stop): Ditto.
291
9022177c
DJ
2922001-07-05 Daniel Jacobowitz <[email protected]>
293
294 * mips-tdep.c (mips_software_single_step): New function.
295 * config/mips/tm-mips.h: Add prototype for
296 mips_software_single_step.
297
2ac44c70
DJ
2982001-07-05 Daniel Jacobowitz <[email protected]>
299
300 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
301 of greg_t.
302 (fill_gregset): Likewise.
303
bdda63b0
AC
3042001-07-05 Andrew Cagney <[email protected]>
305
306 * objfiles.c (open_mapped_file): Use lbasename instead of
307 basename.
308
af703f96
JB
3092001-07-05 Jim Blandy <[email protected]>
310
7b570125
JB
311 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
312 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
313 d10v_write_sp, d10v_write_fp, d10v_read_fp,
314 d10v_push_return_address): Call the functions d10v_make_daddr,
315 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
316 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
317 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
318 D10V_CONVERT_DADDR_TO_RAW.
319
af703f96
JB
320 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
321
e087d0d6
MK
3222001-07-05 Mark Kettenis <[email protected]>
323
324 * config/i386/xm-go32.h (HOST_I386): Removed.
325 * config/i386/xm-linux.h (HOST_I386): Removed.
326
c96646d0
MK
3272001-07-04 Mark Kettenis <[email protected]>
328
329 * i387-tdep.c (print_i387_value): Add extra space after final full
330 stop in comment.
331
af6c57ea
AC
3322001-07-04 Andrew Cagney <[email protected]>
333
334 * TODO (5.1): Update. Doco changes committed.
335
9da8e4f8
AC
3362001-06-29 Andrew Cagney <[email protected]>
337
338 * config/arm/tm-arm.h: Include "floatformat.h".
339
d0df8472
AC
3402001-06-29 Andrew Cagney <[email protected]>
341
342 * i387-tdep.c: Include "gdb_assert.h".
343 (print_i387_value): Use extract_floating to extract the FP value
344 from a zero padded local buffer.
345
291903b1
AC
3462001-06-28 Andrew Cagney <[email protected]>
347
348 * TODO: Delete all thread items. The thread code was overhauled.
349
80629b1b
EZ
3502001-07-04 Elena Zannoni <[email protected]>
351
2ed3d0b5
EZ
352 * memattr.c (create_mem_region): Move n to next memory region,
353 to avoid infinite loop.
354
80629b1b
EZ
355 * memattr.h: Add copyright statement.
356 * memattr.c: Ditto.
357
2541c7cf
JB
3582001-07-04 Jim Blandy <[email protected]>
359
0b010bcc
JB
360 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
361 (read_partial_die): Delete fourth argument; we return this info in
362 the struct partial_die_info object itself now.
363 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
364 has_pc_info field of the partial die struct, rather than passing a
365 variable by reference to read_partial_die.
366
2541c7cf 367 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 368 code in loop condition.
2541c7cf 369
5d12882f
MS
3702001-07-03 Michael Snyder <[email protected]>
371
372 * thread_db (find_new_threads_callback, thread_db_thread_alive,
373 attach_thread): Update comments.
374
00783ba9
MS
3752001-06-29 Ken Whaley <[email protected]>
376
377 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
378 to TD_THR_UNKNOWN when looking for defunct zombie threads.
379 (thread_db_thread_alive): Ditto.
380 (find_new_threads_callback): Ditto.
381
f7856c8f 3822001-07-02 Daniel Jacobowitz <[email protected]>
2740bf6c
DJ
383
384 * MAINTAINERS: Add myself to the write-after-approval list.
385
3862001-07-02 Daniel Jacobowitz <[email protected]>
387
f7856c8f
DJ
388 * solib-svr4.c: Include "elf/mips.h".
389 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
390
f9aca02d
JB
3912001-07-02 Jim Blandy <[email protected]>
392
393 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
394 dump_die_list, store_in_ref_table, follow_die_ref): Make these
395 static; they're private functions.
396
42a076f0
EZ
3972001-07-01 Mark Elbrecht <[email protected]>
398
399 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
400
77467810
EZ
4012001-06-28 Elena Zannoni <[email protected]>
402
403 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
404
85593179
AC
4052001-06-29 Andrew Cagney <[email protected]>
406
407 * config/djgpp/fnchange.lst: Sort.
408
cde2d0fb
AC
4092001-06-28 Andrew Cagney <[email protected]>
410
411 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
412 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
413
37965979
AJ
4142001-06-29 Andreas Jaeger <[email protected]>
415
416 * MAINTAINERS: Add myself to the write-after-approval list.
417
a1337894
AC
4182001-06-28 Andrew Cagney <[email protected]>
419
420 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
421 (get_hex_word): Don't use HOST_BYTE_ORDER.
422 (array_fetch_registers): Add variable ``reg''. Use
423 store_unsigned_integer to byte-swap the register. Delete unused
424 local ``regs''.
425
aa8aac68
AC
4262001-06-28 Andrew Cagney <[email protected]>
427
428 * MAINTAINERS: Add Per Bothner to Java maintainers.
429
a8016339
AC
4302001-06-28 Andrew Cagney <[email protected]>
431
432 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
433 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
434 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
435 * TODO: Update.
436 * MAINTAINERS: Update. arm-elf builds.
437
f5e1cf12
JB
4382001-06-28 Jim Blandy <[email protected]>
439
bf93dfed
JB
440 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
441
442 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
443 d10v_breakpoint_from_pc, d10v_register_byte,
444 d10v_register_raw_size, d10v_register_virtual_size,
445 d10v_register_virtual_type, d10v_register_convertible,
446 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
447 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
448 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
449 d10v_store_struct_return, d10v_store_return_value,
450 d10v_extract_struct_value_address, d10v_frame_saved_pc,
451 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
452 d10v_frame_chain, d10v_frame_init_saved_regs,
453 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
454 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
455 d10v_push_return_address, d10v_push_arguments,
456 d10v_extract_return_value): Make these functions static.
457
100a02e1
AC
4582001-06-28 Andrew Cagney <[email protected]>
459
460 From Fernando Nasser:
461 * infrun.c (handle_inferior_event): Handle "nexti" inside function
462 prologues.
463
80b34fab
MS
4642001-06-28 Michael Snyder <[email protected]>
465
466 * infrun.c (handle_inferior_event): Replace prev_pc test in all
467 calls to bpstat_stop_status (removed in 1999-09-24). This test
468 helps distinguish stepping over a breakpoint trap from stepping
469 thru a jump to the instruction after a breakpoint trap.
470 (handle_inferior_event): Don't bother writing the PC if
471 DECR_PC_AFTER_BREAK is zero (optimization).
472 * breakpoint.c (bpstat_stop_status): Add comment explaining the
473 purpose and usage of the "not_a_breakpoint" argument in computing
474 the breakpoint address.
475
1456ad8e
AC
4762001-06-28 Andrew Cagney <[email protected]>
477
478 From 2000-12-03 Stephane Carrez <[email protected]>:
479 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
480 (setreg_resp_delim_pattern): Likewise.
481 (setmem_resp_delim_fastmap): New buffer.
482 (setreg_resp_delim_fastmap): Likewise.
483 (monitor_open): Initialize above regexp if they are defined.
484 (monitor_write_memory): Use regexp to check the result of write.
485 (monitor_store_register): Likewise to check result of register set.
486
399371f6
AC
4872001-06-28 Andrew Cagney <[email protected]>
488
489 From 2000-06-14 John Marshall <[email protected]>:
490 * coff-solib.c: Include symfile.h and objfiles.h to make
491 OBJF_SHARED visible.
492
b0e2e90a
AC
4932001-06-28 Andrew Cagney <[email protected]>
494
495 * configure.in (--enable-gdbmi): Enable by default.
496 * configure: Regenerate.
497 * TODO: Update.
498 * NEWS: Update
499
ad98fdaf
JB
5002001-06-28 Joel Brobecker <[email protected]>
501
502 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
503 explaining the consequences of always returning zero. No code
504 change.
505
49dd83ba
AC
5062001-06-28 Andrew Cagney <[email protected]>
507
508 From 2001-06-08 Daniel Jacobowitz <[email protected]>:
509 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
510 to TARGET_SIGNAL_REALTIME_127.
511 * target.c (struct signals): Add SIG63 to SIG127.
512 (target_signal_from_host): Handle up to 127 signals.
513 (do_target_signal_to_host): Likewise.
514
29372230
AC
5152001-06-27 Andrew Cagney <[email protected]>
516
517 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
518 from possibly unsigned char.
519
a196c81c
AC
5202001-06-27 Andrew Cagney <[email protected]>
521
522 * ser-ocd.c: Delete file.
523 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
524 (ser-ocd.o): Delete target.
525 * TODO: Update.
526 * NEWS: Update.
527
e7745bde
AC
5282001-06-27 Andrew Cagney <[email protected]>
529
530 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 531 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 532
d7faa9e7
AC
5332001-06-26 Andrew Cagney <[email protected]>
534
535 * breakpoint.c (breakpoint_1): Always output the breakpoint
536 headings. Leave it to ui-out to decide which
537
68c81b54
AC
5382001-06-25 Andrew Cagney <[email protected]>
539
540 * stack.c (print_frame): For ui_out, output a list of arguments.
541
834091c8
KB
5422001-06-25 Kevin Buettner <[email protected]>
543
544 * MAINTAINERS (paper trail): Update.
545
ef5cf84e
MS
5462001-06-25 Michael Snyder <[email protected]>
547
548 * infrun.c: Eliminate the "thread_step_needed" state variable,
549 and replace it with a relatively simple test in resume.
550 (resume): Replace thread_step_needed logic with a test for
551 stepping, breakpoint_here_p and breakpoints_inserted.
552 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
553 (proceed): Discard thread_step_needed logic.
554 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
555 Discard thread_step_needed logic.
556
cb90e81a
FN
5572001-06-24 Fernando Nasser <[email protected]>
558
559 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
560 * rdi-share/host.h: Add missing parenthesis in conditional.
561
39812ceb
C
5622001-06-22 J.T. Conklin <[email protected]>
563
564 * configure.in: include nlist.h when checking for member som_addr
565 in struct so_map.
566 * configure: regenerate.
567
8d2139f3
KS
5682001-06-21 Keith Seitz <[email protected]>
569
570 * cli-out.c (cli_out_new): Initialize new structure member
571 "suppress_output".
572
b25959ec
AC
5732001-06-20 Andrew Cagney <[email protected]>
574
575 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
576 (table_header_ftype): Ditto.
577 * cli-out.c (cli_table_header): Update.
578 * ui-out.c (ui_out_table_header): Update.
579 (uo_table_header): Update.
580 (default_table_header): Update.
581 (append_header_to_list): Update.
582 (struct ui_out_header): Add field ``col_name''.
583 (append_header_to_list): Use xstrdup. Initialize col_name.
584 * breakpoint.c (breakpoint_1): Pass COL_NAME to
585 ui_out_table_header.
586
698384cd
AC
5872001-06-19 Andrew Cagney <[email protected]>
588
589 * cli-out.c: Include "gdb_assert.h'.
590 (struct ui_out_data): Add field ``suppress_output.
591 (cli_table_begin): When NR_ROWS is zero, suppress_output.
592 (cli_table_end): Clear suppress_output.
593 (cli_table_body): Check suppress_output.
594 (cli_table_header, cli_begin): Ditto.
595 (cli_end, cli_field_int, cli_field_skip): Ditto.
596 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
597 (cli_text, cli_message, cli_wrap_hint): Ditto.
598 * breakpoint.c (breakpoint_1): Close the ui_out table before
599 printing the breakpoint not found message.
600
d63f1d40
AC
6012001-06-18 Andrew Cagney <[email protected]>
602
603 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
604 (default_table_begin): Ditto.
605 (uo_table_begin): Ditto.
606 * cli-out.c (cli_table_begin): Ditto.
607 * ui-out.h (ui_out_table_begin): Update
608 (table_begin_ftype): Update.
609 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
610 ui_out_table_begin.
611
7f3b0473
AC
6122001-06-16 Andrew Cagney <[email protected]>
613
614 * breakpoint.c (breakpoint_1): Restructure. Compute the
615 nr_printable_breakpoints. Move the header output to before the
616 main print breakpoints loop.
617 (user_settable_breakpoint): New function.
618
b30bf9ee
AC
6192001-06-18 Andrew Cagney <[email protected]>
620
621 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
622 "mi", "mi0" and "mi1".
623
83905903
AC
6242001-06-17 Andrew Cagney <[email protected]>
625
626 * gdbarch.sh: Generate an error when conflicting macro
627 definitions. Generate an error when both pure multi-arch and
628 "tm.h".
629 * gdbarch.h, gdbarch.c: Regenerate.
630 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
631
c2202abf
AC
6322001-06-17 Andrew Cagney <[email protected]>
633
634 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
635 GDB_MULTI_ARCH_PARTIAL from two.
636
0d70f41b
FN
6372001-06-17 Fernando Nasser <[email protected]>
638
639 From 2001-06-15 Eirik Fuller <[email protected]>
640 * cli/cli-script.c (free_command_lines): Reset list pointer.
641
7824d2f2
AC
6422001-06-16 Andrew Cagney <[email protected]>
643
644 * arch-utils.c (init_frame_pc_default): New function
645 * arch-utils.h (init_frame_pc_default): Declare.
646 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
647 not init_frame_pc_noop.
648 * gdbarch.h, gdbarch.c: Re-generate.
649 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
650 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
651 init_frame_pc_noop.
652
1622c8f7
AC
6532001-06-16 Andrew Cagney <[email protected]>
654
655 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
656
01fb7433
AC
6572001-06-15 Andrew Cagney <[email protected]>
658
659 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
660 (CANNOT_STORE_REGISTER): Ditto.
661 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
662 (CANNOT_STORE_REGISTER): Ditto.
663 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
664 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
665 * arch-utils.h (cannot_register_not): Define.
666 * arch-utils.c (cannot_register_not): Declare.
667
10312cc4
AC
6682001-06-15 Andrew Cagney <[email protected]>
669
670 * gdbarch.sh: Clarify pre/post default
671 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
672 * blockframe.c (get_prev_frame): Remove #ifdef from around
673 INIT_FRAME_PC_FIRST call.
674 * arch-utils.c (init_frame_pc_noop): Define.
675 * arch-utils.h (init_frame_pc_noop): Declare.
676 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
677 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
678 * mips-tdep.c (mips_init_frame_pc_first): Make static.
679 (mips_gdbarch_init): Initialize init_frame_pc_first.
680 (mips_dump_tdep): Update.
681
dd80620e
MS
6822001-06-15 Michael Snyder <[email protected]>
683
684 * infrun.c (context_switch): New function. Abstract the operation
685 of saving and restoring infrun's state when switching threads.
686 (handle_inferior_event): Normalize the handling of the 'thread hop'
687 event (when the wrong thread hits a thread-specific breakpoint,
688 and we need to solo-step that thread past the breakpoint).
689 Call keep_going, instead of target_resume. Handle the subsequent
690 singlestep-trap as a normal event instead of just resuming.
691
875e1767
AC
6922001-06-15 Andrew Cagney <[email protected]>
693
694 * arch-utils.c (core_addr_identity): New function. Rename
695 default_convert_from_func_ptr_addr.
696 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
697 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
698 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
699 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
700 * mips-tdep.c (mips_addr_bits_remove): Make static.
701 (mips_gdbarch_init): Initialize addr_bits_remove.
702
4009c677
AC
7032001-06-15 Andrew Cagney <[email protected]>
704
705 From 2001-02-26 D.J. Barrow <[email protected]>:
706 * configure.tgt: Add S/390 31 & 64 bit target configuration.
707 * configure.host: Ditto for host.
708
d6dd581e
AC
7092001-06-15 Andrew Cagney <[email protected]>
710
711 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
712 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
713 predicate.
714 * gdbarch.h, gdbarch.c: Regenerate.
715 * values.c (value_being_returned): Change the reference to
716 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
717
09843d7f
JB
7182001-06-15 Joel Brobecker <[email protected]>
719
720 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
721 Write After Approval list.
722
dc8acb97
MS
7232001-06-14 Michael Snyder <[email protected]>
724
725 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
726 set_remote_protocol_qSymbol_packet_cmd): New functions.
727 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
728 (remote_check_symbols): New function. Implement qSymbol packet,
729 allowing target to request symbol lookup service from gdb.
730 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
731 allowing symbol lookup from exec_bfd on connection to target.
732 (remote_new_objfile): New function. Catch new objfile notifications
733 from shared library module, and call remote_check_symbols.
734 (_initialize_remote): Hook remote_new_objfile into the shared
735 library notification chain. Add "set remote symbol-lookup" command.
736
578c1fe6
KS
7372001-06-14 Keith Seitz <[email protected]>
738
739 * tracepoint.c (trace_command): We now have tracepoint
740 events. Get rid of those ugly hooks.
741 (tracepoint_operation): Likewise.
742 (trace_pass_command): Likewise.
743
6c0d3f6a
MS
7442001-06-13 Michael Snyder <[email protected]>
745
746 * gdbthread.h (struct thread_info): Add new fields:
747 current_line, current_symtab, step_sp, for saved infrun state.
748 * thread.c (save_infrun_state, load_infrun_state): Save and
749 restore current_line, current_symtab, and step_sp.
750 (add_thread): Rather than adding assignments to initialize
751 the new fields, just use memset (tp, 0, sizeof (*tp).
752 This way future new fields will not be overlooked.
753 * infrun.c (handle_inferior_event): Save and restore save_sp,
754 current_line, and current_symtab when switching threads.
755
16075ace
EZ
7562001-06-13 Elena Zannoni <[email protected]>
757
758 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
759 testsuite/gdb.mi.
760
31889e00
AC
7612001-06-11 Andrew Cagney <[email protected]>
762
763 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
764 (lookup_partial_symtab, file_matches): Ditto.
765 (make_source_files_completion_list): Ditto.
766 (make_file_symbol_completion_list): Ditto. Make local char*
767 variable ``tail'' constant.
768 (make_source_files_completion_list): Ditto with ``base_name''.
769 * source.c (open_source_file): Use lbasename. Make ``p'' const
770 char *.
771
4ac40b29
EZ
7722001-06-13 Eli Zaretskii <[email protected]>
773
774 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
775 (SLASH_STRING): Remove unised definitions.
776 * config/i386/xm-cygwin.h: Likewise.
777
6b28c186
AC
7782001-06-12 Andrew Cagney <[email protected]>
779
780 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
781 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
782 * ui-out.h: Update declarations.
783
1f8cc6db
AC
784Mon Jun 11 17:26:43 2001 Andrew Cagney <[email protected]>
785
786 * source.c (openp): Make parameters ``path'' and ``string''
787 constant.
788 (openp): Use alloca to safely duplicate ``string''. Make local
789 variables ``p'' and ``p1'' constant. Delete char* casts.
790 * defs.h: Update.
791
792 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
793 (lookup_symtab, lookup_partial_symtab): Ditto.
794 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
795
88379baf
AC
7962001-06-11 Andrew Cagney <[email protected]>
797
798 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
799 (ui_out_table_header, ui_out_field_int): Ditto.
800 (ui_out_field_core_addr, ui_out_field_string): Ditto.
801 (ui_out_field_stream, ui_out_field_fmt): Ditto.
802 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
803 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
804 (ui_out_field_core_addr, ui_out_field_stream): Update.
805 (ui_out_field_string, ui_out_field_fmt): Update.
806 (ui_out_text, ui_out_message): Update.
807 (append_header_to_list): Make char* parameters constant.
808 (uo_table_header, uo_table_begin): Ditto.
809 (uo_field_int, uo_field_skip): Ditto.
810 (uo_field_string, uo_field_fmt): Ditto.
811 (uo_text, uo_message): Ditto.
812
c94fdfd0
EZ
8132001-06-11 Eli Zaretskii <[email protected]>
814
815 * completer.c (gdb_completer_loc_break_characters): New variable.
816 (line_completion_function): If we are completing on locations,
817 back up the start of word pointer past all characters which can
818 appear in a location spec.
819 (location_completer): New function.
820
821 * completer.h: Add prototype for location_completer.
822
823 * symtab.c (make_source_files_completion_list)
824 (add_filename_to_list, not_interesting_fname): New functions.
825 (filename_seen): New function, body extracted from
826 output_source_filename.
827 (output_source_filename): Call filename_seen to check if the file
828 was already printed.
829 (make_symbol_completion_list): If TEXT includes a
830 double-quoted string, return an empty list, not NULL.
831 (make_file_symbol_completion_list): New function, similar to
832 make_symbol_completion_list but with an additional argument
833 SRCFILE.
834
835 * symtab.h (make_file_symbol_completion_list)
836 (make_source_files_completion_list): Add prototypes.
837
838 * breakpoint.c (_initialize_breakpoint): Make location_completer
839 be the completion function for all commands which set breakpoints
840 and watchpoints.
841 (top-level): #include "completer.h".
842
843 * tracepoint.c (_initialize_tracepoint): Make location_completer
844 be the completion function for the "trace" command.
845 (top-level): #include "completer.h".
846
847 * printcmd.c (_initialize_printcmd): Make location_completer be
848 the completion function for the "print", "inspect", "call", and
849 "disassemble" commands.
850 (top-level): #include "completer.h".
851
852 * infcmd.c (_initialize_infcmd): Make location_completer be the
853 completion function for the "go", "jump", and "until" commands.
854 (top-level): #include "completer.h".
855
0b6a968e
CF
8562001-06-10 Christopher Faylor <[email protected]>
857
858 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
859 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
860 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
861 * defs.h: Ditto.
862 * m32r-rom.c: Ditto.
863 * p-exp.y: Ditto.
864 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
865 faster compilation.
866 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
867 * nindy-share/ttyflush.c: Ditto.
868 * rdi-share/host.h: Ditto.
0b6a968e
CF
869 * ser-go32.c (dos_readchar): Remove call to obsolete function.
870 * remote-sim.c (gdb_os_poll_quit): Ditto.
871 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
872
873 * main.c (captured_main): Eliminate special Cygwin checks.
874 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
875
e2e11a41
AC
8762001-06-09 Andrew Cagney <[email protected]>
877
bf5efbab
AC
878 * Makefile.in (gdbcmd_h): Add ui_out_h.
879 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
880 (thread.o, top.o): Ditto.
881
e2e11a41
AC
882 * ui-out.h (table_begin_ftype): Make string parameters constant.
883 (table_header_ftype): Ditto.
884 (field_int_ftype): Ditto.
885 (field_skip_ftype): Ditto.
886 (field_string_ftype): Ditto.
887 (field_fmt_ftype): Ditto.
888 (text_ftype): Ditto.
889 (message_ftype): Ditto.
890 * cli-out.c (cli_table_begin): Ditto.
891 (cli_table_header): Ditto.
892 (cli_field_int): Ditto.
893 (cli_field_skip): Ditto.
894 (cli_field_string): Ditto.
895 (cli_field_fmt): Ditto.
896 (cli_text): Ditto.
897 (cli_message): Ditto.
898 (out_field_fmt): Ditto.
899 * ui-out.c (default_table_begin): Ditto.
900 (default_table_header): Ditto.
901 (default_field_int): Ditto.
902 (default_field_skip): Ditto.
903 (default_field_string): Ditto.
904 (default_field_fmt): Ditto.
905 (default_text): Ditto.
906 (default_message): Ditto.
907
2e663524
MS
9082001-06-08 Michael Snyder <[email protected]>
909
910 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
911 remove_breakpoint, so that the subsequent test for
912 bpt->inserted will succeed, and duplicates will be fixed up.
913
bebd888e
PB
9142001-06-08 Per Bothner <[email protected]>
915
916 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
917
8f45b7fe
KS
9182001-06-07 Keith Seitz <[email protected]>
919
920 * tracepoint.c (tracepoint_opertation): Add ui event
921 notifications.
922 (trace_pass_command): Ditto.
923
b76a2a57
AC
9242001-06-07 Andrew Cagney <[email protected]>
925
926 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 927 (HP/PA): Jeff Law stepped down
b76a2a57 928
72e74a21
JB
9292001-06-07 Jim Blandy <[email protected]>
930
931 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
932 variable values as operators.
933
8c6ee715
KS
9342001-06-07 Keith Seitz <[email protected]>
935
936 * gdb-events.sh: Fix quote escaping which was obsoleted
937 by last patch.
938
9e791099
KS
9392001-06-07 Keith Seitz <[email protected]>
940
941 * gdb-events.sh: Make if statements and tests
942 a little more portable.
943 Don't use shell's echo command to put strings containing
944 escaped characeters into a file -- different flavors of /bin/sh
945 require differnt levels of escaping. Use cat <<EOF instead.
946 Our internal field separator is a colon. Change all
947 commands which assume it is a space.
948
fce0e6e1
MK
9492001-06-06 Mark Kettenis <[email protected]>
950
951 * lin-lwp.c (struct lwp_info): Add member `resumed'.
952 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
953 LWP it's called for.
954 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
955 SIGSTOP is reported.
956 (resume_clear_callback): New function.
957 (resume_set_callback): New function.
958 (lin_lwp_resume): Mark all LWP's that we're going to resume as
959 resumed, and unmark all others.
960 (status_callback): Only report a pending wait status if we pretend
961 that LP has been resumed.
962 (resumed_callback): New function.
963 (lin_lwp_wait): Add assertions to check that LWP's are properly
964 marked as resumed. Partially revert 2001-05-25 patch by Michael
965 Snyder: do not resume all threads. Add comment explaining the
966 problems associated with this bit of code.
967
54403c59
KS
9682001-06-07 Keith Seitz <[email protected]>
969
970 * MAINTAINTERS: Syd Polk is stepping down from
971 maintaining libgui. I am replacing him.
972
1d06468c
EZ
9732001-06-07 Eli Zaretskii <[email protected]>
974
975 * config/mips/tm-irix6.h: New file.
976
977 * config/mips/irix6.mh: New file.
978
979 * config/mips/irix6.mt: New file.
980
981 * config/mips/xm-irix6.h: New file.
982
983 * config/mips/nm-irix6.h: New file.
984
985 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
986 disassembler info in tm_print_insn_info as appropriate for the N32
987 ABI. Force N32 ABI to be the default if the CPU is R8000 or
988 R10000.
989
990 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
991
992 * configure.host (mips*-sgi-irix6*): Ditto.
993
3d499020
AC
9942001-06-07 Andrew Cagney <[email protected]>
995
996 * gnu-v3-abi.c: Include "gdb_assert.h".
997 (build_gdb_vtable_type): Replace abort() with gdb_assert().
998
ceaa8edf
JB
9992001-06-06 Jim Blandy <[email protected]>
1000
c5f5341b
JB
1001 * cp-abi.h: Rearrange code to put documentation comments above the
1002 functions we export. The actual function table itself simply
1003 refers to those functions. Minor doc fixes.
1004
ceaa8edf
JB
1005 * gdbarch.sh: Changes to effect the following:
1006 * gdbarch.c (initialize_non_multiarch): New function.
1007 * gdbarch.h (initialize_non_multiarch): New declaration.
1008 * arch-utils.c (initialize_current_architecture): For
1009 non-multiarch configurations, call initialize_non_multiarch.
1010
0cd64fe2
AC
10112001-06-06 Andrew Cagney <[email protected]>
1012
1013 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
1014 declaration.
1015 (compare_symbols): Ditto.
1016
8849f47d
JL
10172001-06-06 Jonathan Larmour <[email protected]>
1018
1019 * arch-utils.c (generic_prepare_to_proceed): Allow for having
1020 stopped due to a Ctrl-C as well as breakpoints.
1021
1022 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
1023 support thread switches after Ctrl-C.
1024 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
1025 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
1026 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
1027
b3cc3077
JB
10282001-06-06 Jim Blandy <[email protected]>
1029
1030 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
1031 per-architecture data should be registered at initialization time,
1032 before any gdbarch objects get used, so the generality is
1033 unnecessary.
1034
ba9fe036
KS
10352001-06-06 Keith Seitz <[email protected]>
1036
1037 * gdb-events.sh (function_list): Add tracepoint_create,
1038 tracepoint_delete, and tracepoint_modify events.
1039 * gdb-events.c: Regenerated.
1040 * gdb-events.h: Regenerated.
1041
e28f816a
KS
10422001-06-06 Keith Seitz <[email protected]>
1043
1044 * gdb-events.sh: Update copyrights.
1045 Change free to xfree.
1046 * gdb-events.c: Regenerated.
1047 * gdb-events.h: Regenerated.
1048
c3690141
EZ
10492001-06-06 Eli Zaretskii <[email protected]>
1050
1051 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
1052 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
1053 * completer.c: Ditto.
1054 * cli/cli-cmds.c (cd_command): Ditto.
1055
37ba1196
EZ
10562001-06-04 Eli Zaretskii <[email protected]>
1057
1012bd0e
EZ
1058 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
1059 (mips_set_processor_type_command): Remove unused variable j.
1060 (mips_breakpoint_from_pc): Declare breakpoint instruction
1061 sequences as unsigned char, to avoid compiler warnings.
1062
fe4e3eb8
EZ
1063 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
1064 instead of system-specific define's like _WIN32 and __MSDOS__.
1065 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
1066 ROOTED_P.
1067 (top-level): #include "filenames.h".
1068
1069 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
1070 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
1071 (top-level): #include "filenames.h".
1072
1073 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
1074 (SLASH_STRING): Define only for _WIN32.
1075
1076 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
1077 __MSDOS_.
1078
1079 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
1080 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
1081 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
1082 (top-level): #include "filenames.h".
1083
37ba1196
EZ
1084 * go32-nat.c (go32_wait): Change the return value to ptid_t.
1085
1086 * config/djgpp/fnchange.lst: Add two new files in the
1087 gdb/testsuite/gdb.c++/ directory to the remapped names.
1088
1089 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
1090
3c875b6f
JB
10912001-06-01 Jim Blandy <[email protected]>
1092
1093 Expand the gdbarch per-architecture data vector as needed, rather
1094 than requiring that all per-architecture data be registered before
1095 the first gdbarch object is allocated.
1096 * gdbarch.sh: Changes to effect the following:
1097 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
1098 declarations and definitions.
1099 (check_gdbarch_data): New function, and declaration.
1100 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
1101 zero is good enough.
1102 (free_gdbarch_data): Tolerate a null data pointer. Free only
1103 those data items gdbarch->data actually has allocated.
1104 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
1105 (gdbarch_update_p): No need to call init_gdbarch_data.
1106
98f96ba1
KB
11072001-06-01 Kevin Buettner <[email protected]>
1108
1109 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
1110 on types that we wish to recurse on.
1111 (slot_alignment_is_next_even): New function.
1112 (ia64_push_arguments): Call slot_alignment_is_next_even() to
1113 examine the type in order to decide if it's necessary to skip
1114 an odd slot.
1115
c6ad9598
MS
11162001-06-01 Michael Snyder <[email protected]>
1117
8601f500
MS
1118 * thread.c (delete_step_resume_breakpoint): New function.
1119 Maintain internal consistency of the thread list while deleting
1120 a step_resume_breakpoint.
1121 * gdbthread.h (delete_step_resume_breakpoint): Export.
1122 * breakpoint.c (bpstat_find_step_resume_breakpoint):
1123 Make thread-aware: don't return a step_resume_breakpoint
1124 for the wrong thread.
1125 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
1126 instead of delete_breakpoint_current_contents.
1127 (fetch_inferior_event): Ditto.
1128 (handle_inferior_event): Call delete_step_resume_breakpoint
1129 instead of delete_breakpoint.
c6ad9598
MS
1130 * infrun.c (handle_inferior_event): After singlestepping over a
1131 thread-specific breakpoint, use currently_stepping() to decide
1132 whether to step or continue.
1133
531017df
JB
11342001-06-01 Jim Blandy <[email protected]>
1135
b27b8843
JB
1136 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
1137 these static --- there's no reason other files should use these.
1138
d0bbfec7
JB
1139 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
1140 Fix memory leak.
1141
531017df
JB
1142 * partial-stab.h: New complaint: function_outside_compilation_unit.
1143 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
1144 complain, and don't try to set pst's start address.
1145
d469a809
KB
11462001-05-31 Kevin Buettner <[email protected]>
1147
1148 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
1149 match the location at which the kernel is placing the sigcontext
1150 struct.
1151
58ab00f9
KB
1152 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
1153 (refine_prologue_limit): New function.
1154 (examine_prologue): Further limit number of instructions
1155 scanned by calling refine_prologue_limit(). Revise way in
1156 which the end of prologue address is computed for frameless
1157 functions.
1158
9fd7143a
CF
11592001-05-29 Christopher Faylor <[email protected]>
1160
1161 * partial-stab.h: Revert previous patch.
1162
34a7837a
CF
11632001-05-29 Christopher Faylor <[email protected]>
1164
1165 * partial-stab.h: Consistently guard against pst being NULL.
1166
ad53e288
AO
11672001-05-29 Alexandre Oliva <[email protected]>
1168
1169 * symfile.c (compare_psymbols, compare_symbols): Declare using
1170 PTR, as in the definition.
09d011c5
AO
1171 * minsyms.c (compare_minimal_symbols): Likewise.
1172 * coffread.c (find_targ_sec): Likewise.
1173 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
1174 * mipsread.c (alphacoff_locate_sections): Likewise.
1175 * mdebugread.c (compare_blocks): Likewise.
ad53e288 1176
b41be06e
ND
11772001-05-25 Nick Duffek <[email protected]>
1178
1179 * solib.c (update_solib_list): Move target_resize_to_sections()
1180 into solib_map_sections() loop.
1181 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
1182 bfd_get_arch_size() fails.
1183
a1cd1908
ND
11842001-05-25 Nick Duffek <[email protected]>
1185
1186 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
1187 solib-osf.o.
1188 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
1189 with solib-osf.o and solib.o.
1190 * config/alpha/alpha-osf2.mh: Likewise.
1191 * config/alpha/alpha-osf3.mh: Likewise.
1192 * solib-osf.c: New file, renamed and largely rewritten from
1193 osfsolib.c.
1194
aa6c0017
MS
11952001-05-25 Michael Snyder <[email protected]>
1196
c4365b19
MS
1197 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
1198 to consume the SIGSTOP generated by PTRACE_ATTACH.
1199 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
1200 try again to get the SIGSTOP event.
1201 (lin_lwp_wait): Resume all threads when ignoring a signal.
1202 This will insure that newly attached threads get resumed.
5f885618 1203 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
1204 * remote.c (remote_write_bytes): Update 'p' packet pointer.
1205
4b1fedf1
JB
12062001-05-25 Jim Blandy <[email protected]>
1207
1208 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
1209 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
1210 useful value, then we should fix that instead.
1211
fa3b51d2
ND
12122001-05-24 Nick Duffek <[email protected]>
1213
1214 * solist.h (struct so_list): Document the requirement that
1215 current_sos initialize some fields to 0.
1216
2747183e
MK
12172001-05-24 Mark Kettenis <[email protected]>
1218
1219 * gnu-nat.c: Include <ctype.h>.
1220 (gnu_pid_to_exec_file): Add PID parameter.
1221 (set_sig_thread_cmd): Use PIDGET on return value from
1222 thread_id_to_pid.
1223 (proc_string): Use MERGEPID to construct argument to
1224 pid_to_thread_id.
1225
e4f237da
KB
12262001-05-22 Kevin Buettner <[email protected]>
1227
1228 * breakpoint.c (breakpoint_address_is_meaningful): New function.
1229 (check_duplicates): Don't compare non-meaningful addresses.
1230
5fd913cc
MS
12312001-05-22 Michael Snyder <[email protected]>
1232
1233 * thread-db.c: Allow for defunct zombie threads.
1234 (attach_thread): Do not attempt to attach zombie thread.
1235 (thread_db_thread_alive): Return false for defunct zombie thread.
1236 (find_new_threads_callback): Don't add defunct zombie thread to list.
1237
7ed49443
JB
12382001-05-22 Jim Blandy <[email protected]>
1239
1240 Add support for the GNU V3 C++ ABI.
1241 (Includes changes by Dan Berlin.)
1242
1243 * gnu-v3-abi.c: New file.
1244 * minsyms.c: #include "value.h" and "cp-abi.h".
1245 (install_minimal_symbols): Check the minimal symbol table for
1246 symbols that look mangled in the V3 style, and select the V3 ABI
1247 if we find any.
1248 * Makefile.in (SFILES): Add gnu-v3-abi.c.
1249 (COMMON_OBS): Add gnu-v3-abi.o.
1250 (gnu-v3-abi.o): Add new rule.
1251 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
1252
a44999d5
JB
12532001-05-21 Jim Blandy <[email protected]>
1254
8d65888a
JB
1255 * values.c (value_primitive_field): If we're extracting a base
1256 class, then the type of the result should be the base class being
1257 extracted, not the type of which it is a base class.
1258
a44999d5
JB
1259 * value.h (struct value): Doc fix, and rearrange members to place
1260 them near their explanations.
1261
6c3f2dbf
MS
12622001-05-21 Michael Snyder <[email protected]>
1263
1264 * remote.c (remote_async_wait): Added new variable fieldsize.
1265 Add fieldsize (return value of hex2bin) to string pointer p.
1266
b4fa4770
SC
12672001-05-20 Stephane Carrez <[email protected]>
1268
1269 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
1270 (m68hc11_analyze_instruction): Update the pc correctly.
1271 (m68hc11_guess_from_prologue): Take into account the stack correction
1272 for the saving address.
1273
2b127877
DB
12742001-05-07 Daniel Berlin <[email protected]>
1275
1276 Changes by Jim Ingham:
1277
1278 * values.c (value_change_enclosing_type): New function. If the
1279 new enclosing type is larger than the old one, we need to allocate
1280 more space.
1281 * value.h: Add value_change_enclosing_type prototype.
1282 * valops.c (value_cast): Use it.
1283 (value_assign): Use it.
1284 (value_addr): Use it.
1285 (value_ind): Use it.
1286 (value_full_object): Use it.
1287
12882001-05-07 Daniel Berlin <[email protected]>
1289
984e377c
JB
1290 * values.c (value_static_field): Handle static fields that have a
1291 constant value.
2b127877 1292
736d0890
MS
12932001-05-17 Michael Snyder <[email protected]>
1294
1295 * blockframe.c (create_new_frame): Zero all the fields via memset,
1296 rather than zeroing them one by one.
1297
a577b05c
EZ
12982001-05-17 Eli Zaretskii <[email protected]>
1299
1300 * top.c (user_args): Remove unused declaration.
1301
b8adfa9f
MS
13022001-05-16 Michael Snyder <[email protected]>
1303
1304 * infcmd.c (do_registers_info): Move alloca outside of loop.
1305
97345198
MS
13062001-05-15 John S Kallal <[email protected]>
1307
1308 * remote.c (remote_wait): Added new variable fieldsize.
1309 Add fieldsize (return value of hex2bin) to string pointer p.
1310
aca21d9a
MK
13112001-05-15 Mark Kettenis <[email protected]>
1312
1313 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
1314 info.bfd_arch_info.
1315
b08cfdb6
KB
13162001-05-14 Kevin Buettner <[email protected]>
1317
1318 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
1319 Adjust format strings for printing LWPs to account for the fact
1320 that the type returned by GET_LWP() is now a long instead of an
1321 int.
1322
ca6724c1
KB
13232001-05-14 Kevin Buettner <[email protected]>
1324
1325 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
1326 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
1327 (ptid_get_tid, ptid_equal): New function declarations.
1328 * infrun.c (null_ptid, minus_one_ptid): New variables.
1329 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
1330 (ptid_get_tid, ptid_equal): New functions.
1331 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
1332 inferior_ptid, and target_last_wait_ptid.
1333
1334 * defs.h (ptid_t): Redefine to be a struct rather than an int.
1335 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
1336 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
1337 new ptid accessors and constructor.
1338
1339 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
1340 MKLID, MKTID, ISTID): Provide new definitions for these macros.
1341 The old macros are retained, but disabled via #if 0 in order
1342 to aid in future restructuring. See FIXME.
1343
1344 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
1345 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
1346 * infptrace.c (PIDGET, TIDGET): Likewise.
1347 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1348 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1349 * proc-service.c (MERGEPID): Likewise.
1350 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
1351 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1352 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1353 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
1354 Likewise.
1355 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
1356 Likewise.
1357
1358 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
1359 (GET_LWP): Redefine in terms of ptid_get_lwp().
1360 (GET_PID): Redefine in terms of ptid_get_pid().
1361 (is_lwp): Redefine without the need for THREAD_FLAG.
1362 (BUILD_LWP): Redefine in terms of ptid_build().
1363 * lin-thread.c (THREAD_FLAG): Delete macro definition.
1364 (GET_LWP): Redefine in terms of ptid_get_lwp().
1365 (GET_PID): Redefine in terms of ptid_get_pid().
1366 (GET_THREAD): Redefine in terms of ptid_get_tid().
1367 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1368 (is_lwp, is_thread): Redefine.
1369 (linux_child_wait, check_all_signal_numbers)
1370 (linuxthreads_discard_global_state, attach_thread): Declare these
1371 functions to squash warnings about missing declarations.
1372 * sol-thread.c (THREAD_FLAG): Delete macro definition.
1373 (GET_PID): Redefine in terms of ptid_get_pid().
1374 (GET_LWP): Redefine in terms of ptid_get_lwp().
1375 (GET_THREAD): Redefine in terms of ptid_get_tid().
1376 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1377 (is_lwp, is_thread): Redefine.
1378 * thread-db.c (THREAD_FLAG): Delete macro definition.
1379 (GET_PID): Redefine in terms of ptid_get_pid().
1380 (GET_LWP): Redefine in terms of ptid_get_lwp().
1381 (GET_THREAD): Redefine in terms of ptid_get_tid().
1382 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1383 (is_lwp, is_thread): Redefine.
1384
1385 * corelow.c (add_to_thread_list, get_core_register_section):
1386 Eliminate hacks needed to prevent regressions when inferior_ptid
1387 wasn't wide enough to hold the core file thread id in the pid
1388 component of inferior_ptid.
1389
234fa6d1
MS
13902001-05-14 Michael Snyder <[email protected]>
1391
1392 * remote.c (hex2bin): Make first argument const.
1393 Require explicit count, don't accept null-terminated str.
1394 (remote_resume, remote_async_resume): White space fix-up.
1395 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
1396
caadab2c
MK
13972001-05-13 Mark Kettenis <[email protected]>
1398
1399 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
1400 basename (NAME). The FreeBSD basename returns a pointer to a
1401 static buffer, even if it's simply returning a string identical to
1402 its argument.
1403 (lookup_partial_symtab): Likewise.
1404
2644f393
MS
14052001-05-14 Michael Snyder <[email protected]>
1406
cb0ba49e 1407 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 1408
183a2f1a
KB
14092001-05-14 Kevin Buettner <[email protected]>
1410
1411 * solib.h (no_shared_libraries): Make declaration match definition
1412 in solib.c.
1413
1dd1751e
AC
14142001-05-14 Andrew Cagney <[email protected]>
1415
1416 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
1417 * solib.h (no_shared_libraries): Declare.
1418
b732d07d
AC
14192001-05-12 Andrew Cagney <[email protected]>
1420
1421 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
1422 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
1423 user specified values when available.
1424 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
1425 architecture from info.bfd_arch_info.
1426 * gdbarch.c, gdbarch.h: Regenerate.
1427
67dd5ca6
FN
14282001-05-12 Fernando Nasser <[email protected]>
1429
1430 * remote-e7000.c (e7000_open): Check for bad baud rate.
1431 * remote-st.c (st2000_open): Ditto.
1432
529acb48
JB
14332001-05-11 Jim Blandy <[email protected]>
1434
f8e42d24
JB
1435 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
1436 and ui_out_tuple_end instead of ui_out_list_begin and
1437 ui_out_list_end.
1438
529acb48
JB
1439 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
1440 dependencies. Reorder dependencies to match #includes in file,
1441 for easier verification.
1442
666547aa
AC
1443Fri May 11 13:32:50 2001 Andrew Cagney <[email protected]>
1444
1445 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
1446 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
1447 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
1448 * cli/cli-setshow.c: Ditto.
1449 * printcmd.c: Ditto.
1450 * stack.c: Ditto.
1451
1452 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
1453 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
1454 (ui_out_tuple_begin): New function.
1455 (ui_out_tuple_end): New function.
1456 (ui_out_tuple_begin_end): New function.
1457 (make_cleanup_ui_out_list_begin_end): Replace
1458 make_cleanup_ui_out_list_end function.
1459 * ui-out.h (ui_out_list_begin): Update declaration.
1460 (make_cleanup_ui_out_list_begin_end): Replace
1461 make_cleanup_ui_out_list_end declaration.
1462 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
1463 (ui_out_tuple_begin_end): Declare.
1464
30c98d84
JB
14652001-05-11 Jim Blandy <[email protected]>
1466
1467 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
1468
1faa59a8
AC
14692001-05-11 Andrew Cagney <[email protected]>
1470
1471 From 2001-03-26 Rodney Brown <[email protected]>
1472 * config/pa/tm-hppa.h: Remove trigraph.
1473 * hp-symtab-read.c (hpread_type_translate): Provide return value.
1474 (hpread_read_struct_type): Remove trigraph. Add parameter in
1475 `warning'.
1476 (hpread_read_array_type): Provide return value.
1477 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
1478 value.
1479 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
1480 trigraph.
1481
99567b1b
JB
14822001-05-11 Jim Blandy <[email protected]>
1483
1484 * mips-tdep.c (mips_store_return_value,
1485 mips_extract_return_value): Pass arguments to
1486 return_value_location in the proper order.
1487
d3814881
AC
14882001-05-11 Andrew Cagney <[email protected]>
1489
1490 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
1491 (version.c): Depends on file ``version.in''. Extract version
1492 number from ``version.in'' file.
1493 (clean mostlyclean): Update.
1494 * version.in: New file.
5d6640b1 1495 * NEWS: Update.
d3814881 1496
4d28f7a8
KB
14972001-05-11 Kevin Buettner <[email protected]>
1498
1499 * breakpoint.c (set_raw_breakpoint): Add new parameter
1500 representing the breakpoint's type. Adjust all callers.
1501 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
1502 (create_thread_event_breakpoint): Don't test for zero return
1503 value from set_raw_breakpoint(). It can never be zero.
1504 (create_exception_catchpoint, watch_command_1): Move logic
1505 which calculates the breakpoint type prior to the call to
1506 set_raw_breakpoint().
1507
08b4f080
FN
15082001-05-11 Fernando Nasser <[email protected]>
1509
1510 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
1511 (hardwire_setbaudrate): Set errno to EINVAL and return with error
1512 if the conversion of the baud rate to code fails.
1513
127431f9
AC
15142001-05-10 Andrew Cagney <[email protected]>
1515
1516 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
1517 * ui-out.c (struct ui_out_end_cleanup_data): Define.
1518 (do_cleanup_end): New function. Replace do_list_end.
1519 (make_cleanup_ui_out_end): New function.
1520 (make_cleanup_ui_out_begin_end): New function.
1521 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
1522
5dbc5e5f
EZ
15232001-05-10 Elena Zannoni <[email protected]>
1524
1525 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
1526 and make Kevin Buettner ([email protected]) the reference person.
1527
8e40d292
EZ
15282001-05-10 Elena Zannoni <[email protected]>
1529
1530 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
1531
5a703563
FN
15322001-05-10 Fernando Nasser <[email protected]>
1533
1534 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
1535
6311b07d
AC
1536Thu May 10 16:26:47 2001 Andrew Cagney <[email protected]>
1537
1538 * Makefile.in (mi-main.o): Compile with -Werror.
1539
30559e10
MS
15402001-05-10 Michael Snyder <[email protected]>
1541
f78f6cf1
MS
1542 * remote.c (remote_open_1): Call no_shared_libraries, so that
1543 symbols for shared libraries can be reloaded per session.
1544 (remote_async_open_1): Ditto.
30559e10
MS
1545 * remote.c (bin2hex, hex2bin): New functions. Factor out these
1546 two conversions which are coded for repeatedly in this module.
1547 (remote_threads_extra_info, remote_wait, remote_async_wait,
1548 store_register_using_P, remote_store_registers, remote_write_bytes,
1549 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
1550 of coding the conversions inline.
1551 (fromhex): Not exported, change from extern to static.
1552
0a1d9791
AC
15532001-05-10 Andrew Cagney <[email protected]>
1554
1555 * arch-utils.c (initialize_current_architecture): Delete obsolete
1556 ``info architecture'' command.
1557 (info_architecture): Delete function.
1558
ee055267
AC
15592001-05-10 Andrew Cagney <[email protected]>
1560
1561 * TODO (5.1, 5.2): Update.
1562
85886af6
AC
15632001-05-09 Andrew Cagney <[email protected]>
1564
1565 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
1566 stuff.
30559e10 1567
ecb9ce7e
KS
15682001-05-10 Keith Seitz <[email protected]>
1569
1570 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
1571 and gdbtk-stack.o.
1572 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
1573 (gdbtk-bp.o): New rule.
1574 (gdbtk-register.o): New rule.
1575 (gdbtk-stack.o): New rule.
1576 (gdbtk-cmds.o): Update dependencies.
1577 (gdbtk.o): Ditto.
1578 (gdbtk-hooks.o): Ditto.
1579 (gdbtk-varobj.o): Ditto.
1580
f7635dd9
FN
15812001-05-10 Fernando Nasser <[email protected]>
1582
1583 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
1584 variables, not just unregister them.
1585
0755e6c1
FN
15862001-05-10 Fernando Nasser <[email protected]>
1587
1588 * varobj.c (c_number_of_children): Check for target type of void*,
1589 not the target type name. Allow dereferencing char*.
1590
d7db6da9
FN
15912001-05-10 Fernando Nasser <[email protected]>
1592
1593 * symfile.c (symbol_file_add_main_1): New static function.
1594 Passes the flags arguments to symbol_file_add() and takes care
1595 of any necessary reinitializations.
1596 (symbol_file_command): Call symbol_file_add_main_1() instead of
1597 symbol_file_add().
1598 (symbol_file_add_main): Ditto.
1599
3d6e28e2
KB
16002001-05-09 Kevin Buettner <[email protected]>
1601
1602 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
1603 string change in 2001-05-03 changes.
1604 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
1605 changes.
1606
01263b57
KB
16072001-05-09 Kevin Buettner <[email protected]>
1608
1609 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
1610 component from inferior_ptid.
1611 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
1612 ptid.
1613
74a151fa
EZ
16142001-05-09 Elena Zannoni <[email protected]>
1615
1616 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
1617 conditional for help with connections through parallel ports,
1618 given that the actual code for downloading through a parallel port
1619 is not conditionalized.
1620
1621 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
1622 unmaintaned, and probably on its way to obsolescence.
1623
d7a0d72c
MK
16242001-05-09 Mark Kettenis <[email protected]>
1625
0d17c81d
MK
1626 * i386-tdep.c (i386_frame_saved_pc): New function.
1627 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
1628 i386_frame_saved_pc.
1629 (i386_frame_saved_pc): New prototype.
1630
d7a0d72c
MK
1631 * i386-tdep.c (i386_register_virtual_type): New function.
1632 (i386_register_convertible): New function.
1633 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
1634 of i386_register_virtual_type.
1635 (REGISTER_CONVERTIBLE): Redefine in terms of
1636 i386_register_convertible.
1637 (i386_register_virtual_type, i386_register_convertible): New
1638 prototypes.
1639
ad8fe2ce
JB
16402001-05-08 Jim Blandy <[email protected]>
1641
33757489
JB
1642 * Makefile.in (mn10300-tdep.o): New rule.
1643
1644 * Makefile.in (gdb_string_h): Define. Use it throughout.
1645 Some rules were already using this, even though it isn't defined.
1646
c2c197ae
JB
1647 * Makefile.in (obstack_h, target_h): Define; these are already
1648 used elsewhere, but have been expanding to the empty string.
1649 (memattr_h): Define; needed by target_h.
1650
c064f384
JB
1651 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
1652 static. (This was accidentally omitted from the earlier patch.)
1653
23436510
JB
1654 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
1655 (mn10300_gdbarch_init): Register it as the architecture's
1656 dwarf2_reg_to_regnum method.
1657
ae83b20d
JB
1658 Correct and expand handling of `movm' instruction, and register
1659 saves in general.
1660 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
1661 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
1662 (enum movm_register_bits): New enum.
1663 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
1664 bits, not hex literals. Handle the `other', `exreg0', and
1665 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
1666 r6, and r7, not r2, r3, r4, and r5.
1667 (saved_regs_size): New function.
1668 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
1669 of computing the same thing inline, incorrectly.
1670
bf4b70a5
JB
1671 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
1672 dummy_breakpoint_offset; it's zero.
1673
ee9f9641
JB
1674 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
1675 stuff out into mn10300_pop_frame_regular, and use
1676 generic_pop_current_frame. This lets us share code, and also
1677 makes this function's prototype match that expected by gdbarch.
1678 Make this function static.
1679 (mn10300_pop_frame_regular): New function.
1680 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
1681 gdbarch's pop_frame method.
1682 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
1683 (mn10300_pop_frame): Delete declaration.
1684
2ac51b36
JB
1685 * mn10300-tdep.c (mn10300_saved_pc_after_call,
1686 mn10300_extract_return_value,
1687 mn10300_extract_struct_value_address, mn10300_store_return_value,
1688 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
1689 mn10300_frame_chain, mn10300_skip_prologue,
1690 mn10300_push_arguments, mn10300_push_return_address,
1691 mn10300_store_struct_return, mn10300_frame_saved_pc,
1692 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
1693 Make these functions static; they should only be visible to the
1694 outside world as gdbarch methods.
1695
af4e72e9
JB
1696 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
1697 unused declaration.
1698
584f96a8
JB
1699 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
1700 in some rational order.
1701
82d983b6
JB
1702 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
1703 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
1704
ad8fe2ce
JB
1705 Use gdbarch for most target parameters for the MN10300, rather
1706 than the tm-*.h file.
1707 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
1708 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
1709 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
1710 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
1711 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
1712 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
1713 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
1714 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
1715 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
1716 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
1717 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
1718 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
1719 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
1720 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
1721 Delete definitions. We register gdbarch methods for these now.
1722 (struct frame_info, struct type, struct value): Delete forward
1723 declarations of these types; they're no longer necessary, since we
1724 don't have function declarations here any more.
1725 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
1726 some default gdbarch methods.
1727 (mn10300_store_struct_return): Return void, as expected by
1728 gdbarch.
1729 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
1730 as expected by gdbarch.
1731 (mn10300_frame_init_saved_regs): Provide dummy definition for
1732 this, as required by gdbarch.
1733 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
1734 by gdbarch. Register gdbarch methods or values for all the stuff
1735 removed from tm-10300.h, listed above.
1736
631ec795
AC
17372001-05-08 Andrew Cagney <[email protected]>
1738
1739 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
1740 cli_list_end.
1741 (cli_ui_out_impl): Update.
1742
1743 * ui-out.c (default_begin, default_end): Replace
1744 default_list_begin and default_list_end.
1745 (default_ui_out_impl): Update.
1746 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
1747 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
1748 ui_out_list_end.
1749 (ui_out_list_begin, ui_out_list_end): New. Compatibility
1750 functions.
1751 (struct ui_out_level): Add field type.
1752 (push_level, pop_level): Update. Add type parameter.
1753
1754 * ui-out.h (enum ui_out_type): Declare.
1755 (ui_out_begin, ui_out_end): Declare.
1756 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
1757 and list_end_ftype.
1758 (struct ui_out_impl): Update.
1759
80f49b30
AC
17602001-05-07 Andrew Cagney <[email protected]>
1761
1762 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
1763 ``list_flag'' to ``depth''.
1764 * ui-out.c (default_list_begin, default_list_end): Update.
1765 (uo_list_begin, uo_list_end): Update.
1766 (MAX_UI_OUT_LEVELS): Define.
1767 (struct ui_out_level): Define.
1768 (top-level): Include "gdb_assert.h".
1769 (struct ui_out): Add fields ``level'' and ``levels''. Delete
1770 fields ``list_flag'' and ``field_count''.
1771 (ui_out_new): Update.
1772 (verify_field_proper_position): Update.
1773 (current_level, push_level, pop_level): New functions.
1774 (ui_out_list_begin): Use push_level.
1775 (ui_out_list_end): Use pop_level.
1776 (ui_out_field_int): Use current_level.
1777 (ui_out_field_skip): Ditto.
1778 (ui_out_field_fmt): Ditto.
1779
7aedc9f8
MS
17802001-05-08 Michael Snyder <[email protected]>
1781
1782 * language.c (longest_local_hex_string_custom): Strlen test is
1783 inverted -- reverse the sense of the test.
1784
c6ec85d6
MK
17852001-05-08 Mark Kettenis <[email protected]>
1786
1787 * config/i386/tm-i386v.h (struct frame_info, struct
1788 frame_saved_regs): Remove declarations.
1789 (i386_frame_num_args): Remove prototype.
1790
f938fa6a
AC
17912001-05-07 Andrew Cagney <[email protected]>
1792
1793 * MAINTAINERS: I'm no longer actively maintaining the mn10300
1794 target.
1795
fb106663
AC
17962001-05-04 Andrew Cagney <[email protected]>
1797
1798 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
1799 WinGDB.
1800
ce696e05
KB
18012001-05-06 Kevin Buettner <[email protected]>
1802
1803 * inferior.h (save_inferior_ptid): Declare.
1804 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
1805
1806 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
1807 Delete these functions.
1808 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1809 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1810 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
1811 Likewise.
1812 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
1813 Likewise.
1814 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1815 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1816
1817 * somsolib.c (reset_inferior_ptid): Delete.
1818 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
1819 build the cleanup struct.
1820
1821 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
1822 a cleanup to save/restore inferior_ptid.
1823
c194fbe1
MK
18242001-05-06 Mark Kettenis <[email protected]>
1825
1826 Implement attach/detach for multi-threaded programs on Linux.
1827 * thread-db.c (keep_thread_db): Adjust comment.
1828 (deactivate_target): Removed.
1829 (thread_db_new_objfile): Don't call deactivate_target. Implement
1830 guts of deactivate_target inline instead.
1831 (attach_thread): Call ATTACH_LWP unconditionally if defined.
1832 (thread_db_attach): New function.
1833 (thread_db_detach): Don't call deactivate_target. Do necessary
1834 cleanup inline instead. Set inferior_ptid to LWP corresponding to
1835 the current user-level thread.
1836 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
1837 current user-level thread.
1838 (thread_db_create_inferior): Deactivate target vector if
1839 KEEP_THREAD_DB is zero.
1840 (thread_db_mourn_inferior): Don't call deactivate_target. Do
1841 necessary cleanup inline instead.
1842 (init_thread_db_ops): Initialize to_attach field to
1843 thread_db_attach.
1844 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
1845 (stop_wait_callback): Add prototype.
1846 (init_lwp_list): Add comment about when to re-initialize the LWP
1847 list.
1848 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
1849 Avoid adding publicates to the LWP list. Only mark an LWP as
1850 signalled if it doesn't correspond to a cloned process.
1851 (lin_lwp_attach): Add initial process to the LWP list. Make sure
1852 it's stopped and fake a SIGSTOP.
1853 (detach_callback): New function.
1854 (lin_lwp_detach): Implement.
1855 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
1856 Call child_ops.to_create_inferior directly instead of via
1857 target_beneath local.
1858 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
1859 directly instead of via target_beneath local.
1860
a7fdf62f
EZ
18612001-05-06 Eli Zaretskii <[email protected]>
1862
1863 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
1864 instead of non-portable search for `/'. Use FILENAME_CMP instead
1865 of STREQ, to account for case-insensitive filesystems.
1866 (top-level): #include "filenames.h".
1867
9f60f21b
JB
18682001-05-05 Jim Blandy <[email protected]>
1869
644a1fe1
JB
1870 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
1871 its address, to decide whether it's a watchpoint or not. Zero
1872 is a valid code address.
1873 (update_breakpoints_after_exec): Admonishing comments.
1874 * breakpoint.h (struct breakpoint): Doc fixes.
1875
9f60f21b
JB
1876 * breakpoint.c (check_duplicates): Take a breakpoint object as an
1877 argument, rather than an address and section. All callers changed.
1878
39f77062
KB
18792001-05-03 Kevin Buettner <[email protected]>
1880
1881 * defs.h (ptid_t): New typedef.
1882 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
1883
1884 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
1885 blockframe.c, breakpoint.c, breakpoint.h,
1886 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
1887 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
1888 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
1889 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
1890 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
1891 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
1892 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
1893 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
1894 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
1895 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
1896 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
1897 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
1898 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
1899 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
1900 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
1901 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
1902 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
1903 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
1904 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1905 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
1906 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
1907 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
1908 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
1909 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
1910 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
1911 (inferior_pid): Rename to inferior_ptid everywhere - even in
1912 comments and obsolete ports. In cases where this variable
1913 really is supposed to be used as a process id, use PIDGET() to
1914 extract the process id component from inferior_ptid. The
1915 other cases, either involving other variables whose types had
1916 to be changed or functions whose signatures had to changed
1917 are listed separately below.
1918
1919 * arm-linux-nat.c (get_thread_id): Change type of argument
1920 representing a combined process/thread id from ``int'' to
1921 ``ptid_t''. Also change parameter name to ptid.
1922 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
1923 * corelow.c (core_file_thread_alive): Likewise.
1924 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
1925 * defs.h (*target_wait_hook): Likewise.
1926 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
1927 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
1928 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
1929 (gnu_resume): Likewise.
1930 * go32-nat.c (go32_wait, go32_resume): Likewise.
1931 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
1932 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
1933 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
1934 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
1935 (child_thread_alive): Likewise.
1936 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
1937 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
1938 * i386-linux-nat.c (child_resume): Likewise.
1939 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
1940 (store_debug_register, fetch_debug_register_pair)
1941 (store_debug_register_pair, ia64_linux_insert_watchpoint)
1942 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
1943 Likewise.
1944 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
1945 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
1946 (generic_target_write_pc, ptrace_wait, child_resume)
1947 (get_last_target_status): Likewise.
1948 * infptrace.c (ptrace_wait, child_resume): Likewise.
1949 * inftarg.c (child_wait, child_post_wait, child_thread_live)
1950 (child_pid_to_str): Likewise.
1951 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
1952 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
1953 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
1954 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
1955 (lin_lwp_pid_to_str): Likewise.
1956 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
1957 (thread_db_resume, thread_db_wait): Likewise.
1958 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
1959 (linuxthreads_resume, linuxthreads_wait): Likewise.
1960 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
1961 (child_pid_to_str): Likewise.
1962 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
1963 * mac-nat.c (child_wait, child_resume): Likewise.
1964 * mips-tdep.c (mips_read_pc): Likewise.
1965 * monitor.c (monitor_wait, monitor_resume): Likewise.
1966 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
1967 * ppc-bdm.c (bdm_ppc_wait): Likewise.
1968 * procfs.c (do_attach, procfs_wait, procfs_resume)
1969 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
1970 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
1971 (procfs_find_LDT_entry): Likewise.
1972 * regcache.c (read_register_pid, read_signed_register_pid)
1973 (write_register_pid, generic_target_read_pc, read_pc_pid)
1974 (generic_target_write_pc, write_pc_pid): Likewise.
1975 * regcache.h (read_register_pid, read_signed_register_pid)
1976 (write_register_pid): Likewise.
1977 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
1978 * remote-array.c (array_wait, array_resume): Likewise.
1979 * remote-bug.c (bug_wait, bug_resume): Likewise.
1980 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
1981 * remote-eb.c (eb_wait, eb_resume): Likewise.
1982 * remote-es.c (es1800_wait, es1800_resume): Likewise.
1983 * remote-mips.c (mips_wait, mips_resume): Likewise.
1984 * remote-mm.c (mm_wait, mm_resume): Likewise.
1985 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
1986 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
1987 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
1988 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
1989 * remote-sds.c (sds_wait, sds_resume): Likewise.
1990 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
1991 * remote-st.c (st2000_wait, st2000_resume): Likewise.
1992 * remote-udi.c (udi_wait, udi_resume): Likewise.
1993 * remote-vx.c (vx_wait, vx_resume): Likewise.
1994 * remote.c (remote_current_thread, remote_resume, remote_wait)
1995 (remote_async_resume, remote_async_wait, remote_cisco_wait)
1996 (remote_thread_alive): Likewise.
1997 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
1998 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
1999 (solaris_pid_to_str): Likewise.
2000 * symm-nat.c (child_wait, child_resume): Likewise.
2001 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
2002 (debug_to_notice_signals, debug_to_thread_alive)
2003 (normal_target_post_startup_inferior, normal_pid_to_str)
2004 (debug_to_post_startup_inferior): Likewise.
2005 * target.h (to_resume, to_wait, to_post_wait)
2006 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
2007 (to_pid_to_str [all in struct target_ops]): Likewise.
2008 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
2009 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
2010 (attach_thread, detach_thread, thread_db_resume, check_event)
2011 (thread_db_post_startup_inferior, thread_db_thread_alive)
2012 (thread_db_pid_to_str): Likewise.
2013 * thread.c (add_thread, delete_thread, find_thread_pid)
2014 (pid_to_thread_id, in_thread_list, load_infrun_state)
2015 (save_infrun_state, switch_to_thread, restore_current_thread)
2016 (make_cleanup_restore_current_thread): Likewise.
2017 * top.c (target_wait_hook): Likewise.
2018 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
2019 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
2020 (uw_thread_pid_to_str): Likewise.
2021 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
2022 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
2023 (cywin_pid_to_str): Likewise.
2024 * wince.c (child_wait, child_resume, win32_child_thread_alive):
2025 Likewise.
2026 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
2027 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
2028 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2029 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2030 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
2031 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
2032 (procfs_set_watchpoint): Likewise.
2033 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2034 * config/i386/nm-ptx4.h (child_wait): Likewise.
2035 * config/i386/nm-symmetry.h (child_wait): Likewise.
2036 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
2037 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
2038 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
2039 (lin_lwp_attach_lwp): Likewise.
2040 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
2041 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
2042 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
2043 (hppa_pid_or_tid_to_str): Likewise.
2044 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
2045 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2046 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
2047 (procfs_set_watchpoint): Likewise.
2048
2049 * gdbthread.h (thread_id_to_pid): Change return type which
2050 represents a combined process/thread id from ``int'' to
2051 ``ptid_t''.
2052 * gnu-nat.c (gnu_wait): Likewise.
2053 * go32-nat.c (go32_wait): Likewise.
2054 * hpux-thread.c (hpux_thread_wait): Likewise.
2055 * inferior.h (procfs_first_available): Likewise.
2056 * inftarg.c (child_wait): Likewise.
2057 * infttrace.c (ptrace_wait): Likewise.
2058 * lin-lwp.c (lin_lwp_wait): Likewise.
2059 * lin-thread.c (thread_db_wait): Likewise.
2060 * linux-thread.c (linuxthreads_wait): Likewise.
2061 * lynx-nat.c (child_wait): Likewise.
2062 * m3-nat.c (mach_really_wait): Likewise.
2063 * mac-nat.c (child_wait): Likewise.
2064 * monitor.c (monitor_wait): Likewise.
2065 * ppc-bdm.c (bdm_ppc_wait): Likewise.
2066 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
2067 * remote-adapt.c (adapt_wait): Likewise.
2068 * remote-array.c (array_wait): Likewise.
2069 * remote-bug.c (bug_wait): Likewise.
2070 * remote-e7000.c (e7000_wait): Likewise.
2071 * remote-eb.c (eb_wait): Likewise.
2072 * remote-es.c (es1800_wait): Likewise.
2073 * remote-mips.c (mips_wait): Likewise.
2074 * remote-mm.c (mm_wait): Likewise.
2075 * remote-nindy.c (nindy_wait): Likewise.
2076 * remote-os9k (rombug_wait): Likewise.
2077 * remote-rdi.c (arm_rdi_wait): Likewise.
2078 * remote-rdp.c (remote_rdp_wait): Likewise.
2079 * remote-sds.c (sds_wait): Likewise.
2080 * remote-sim.c (gdbsim_wait): Likewise.
2081 * remote-st.c (st2000_wait): Likewise.
2082 * remote-udi.c (udi_wait): Likewise.
2083 * remote-vx.c (vx_wait): Likewise.
2084 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
2085 (remote_cisco_wait): Likewise.
2086 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
2087 Likewise.
2088 * symm-nat.c (child_wait): Likewise.
2089 * target.c (debug_to_wait): Likewise.
2090 * target.h (to_wait [in struct target_ops]): Likewise.
2091 * thread.c (thread_id_to_pid): Likewise.
2092 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
2093 Likewise.
2094 * top.c (*target_wait_hook): Likewise.
2095 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
2096 * v850ice.c (v850ice_wait): Likewise.
2097 * win32-nat.c (child_wait): Likewise.
2098 * wince.c (child_wait): Likewise.
2099 * config/nm-lynx.h (child_wait): Likewise.
2100 * config/i386/nm-ptx4.h (child_wait): Likewise.
2101 * config/i386/nm-symmetry.h (child_wait): Likewise.
2102
2103 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
2104 to wait_ptid and change its type from ``int'' to ``ptid_t''.
2105 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
2106 but rename saved_inferior_pid to saved_inferior_ptid.
2107 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
2108 save_pid to save_ptid.
2109 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
2110 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
2111 saved_inferior_pid to saved_inferior_ptid.
2112 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
2113 * infrun.c (previous_inferior_pid [static global]): Likewise,
2114 but rename to previous_inferior_ptid.
2115 (resume): Likewise, but rename resume_pid to resume_ptid.
2116 (struct execution_control_state): Likewise, but rename
2117 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
2118 and waiton_pid to waiton_ptid.
2119 (target_last_wait_pid): Likewise, but rename to
2120 target_last_wait_ptid.
2121 * infttrace.c (saved_real_pid): Likewise, but rename to
2122 saved_real_ptid.
2123 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
2124 to saved_inferior_ptid.
2125 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
2126 (trap_ptid): Likewise, but renamed from trap_pid.
2127 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
2128 to gdb_ptid.
2129 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
2130 (thread_db_wait): Likewise, but rename ret_pid to retptid.
2131 * procfs.c (procfs_wait): Likewise, for retval whose name
2132 doesn't change. Also, ``temp'' becomes two separate variables,
2133 one named temp_tid (an int) and the other temp_ptid.
2134 (procfs_notice_thread): Likewise (type change) for gdb_threadid
2135 whose name does not change.
2136 * regcache.c (registers_ptid): Likewise, but renamed from
2137 registers_pid.
2138 (read_register_pid, read_signed_register_pid, write_register_pid):
2139 Likewise, but rename save_pid to save_ptid.
2140 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
2141 to saved_inferior_ptid.
2142 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
2143 * sol-thread.c (struct ps_prochandle): Likewise.
2144 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
2145 (sol_thread_wait): Likewise, for rtnval whose name does not
2146 change, and for save_pid which becomes save_ptid.
2147 (solaris_pid_to_str): Likewise for lwp whose name does not change.
2148 (sol_find_new_threads_callback): Likewise, for pid which becomes
2149 ptid.
2150 * target.h (target_resume, target_wait, target_post_wait)
2151 (target_post_startup_inferior, target_notice_signals)
2152 (target_thread_alive): Likewise.
2153 * thread.c (info_threads_command): Likewise, but rename
2154 current_pid to current_ptid.
2155 (struct current_thread_cleanup): Likewise, but rename field
2156 inferior_pid to inferior_ptid.
2157 * thread-db.c (find_new_threads_callback): Likewise, but rename
2158 pid to ptid.
2159 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
2160 change.
2161 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
2162 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
2163 but rename pid to ptid.
2164 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
2165 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
2166 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
2167 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
2168 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
2169 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
2170
2171 * arch-utils.c (generic_prepare_to_proceed): Test for the
2172 "zero" ptid by using ptid_equal() to test to see if variable
2173 in question is the same as null_ptid. This replaces a direct
2174 test against zero.
2175 * cxux-nat.c (add_shared_symbol_files): Likewise.
2176 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
2177 * infcmd.c (run_command): Likewise.
2178 * inflow.c (kill_command): Likewise.
2179 * infttrace.c (call_ttrace): Likewise.
2180 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
2181 * lin-thread.c (thread_db_kill): Likewise.
2182 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
2183 * remote-es.c (es1800_kill): Likewise.
2184 * sol-thread.c (sol_thread_create_inferior): Likewise.
2185 * solib.c (locate_base): Likewise.
2186 * target.c (nosupport_runtime): Likewise.
2187 * thread-db.c (thread_db_wait): Likewise.
2188 * top.c (quit_confirm, quit_force): Likewise.
2189 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
2190
2191 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
2192 Use ptid_equal to compare value of process/thread ids instead of
2193 ``=='' and ``!='' operators.
2194 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
2195 (stop_wait_callback, lin_lwp_wait): Likewise.
2196 * procfs.c (procfs_wait): Likewise.
2197 * regcache.c (read_register_bytes, read_register_gen)
2198 (write_register_gen, read_register, read_register_pid)
2199 (read_signed_register, read_signed_register_pid, write_register)
2200 (write_register_pid, supply_register): Likewise.
2201 * remote-vx.c (vx_resume): Likewise.
2202 * sol-thread.c (sol_thread_wait): Likewise.
2203 * symm-nat.c (kill_inferior): Likewise.
2204 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
2205 (in_thread_list, info_threads_command, switch_to_thread)
2206 (restore_current_thread): Likewise.
2207 * uw-thread (libtread_stub): Likewise.
2208
2209 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
2210
2211 * corelow.c (add_to_thread_list): Convert argument in add_thread()
2212 call to a ptid_t.
2213 * gnu-nat.c (inf_validate_procs): Likewise.
2214 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
2215 * remote.c (record_currthread, remote_threads_info): Likewise.
2216 * win32-nat.c (child_add_thread): Likewise.
2217
2218 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
2219 respectively, to save_inferior_ptid() and restore_inferior_ptid().
2220 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
2221 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
2222 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2223 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2224 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
2225 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2226 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
2227
2228 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
2229 to be passed to target_resume() when all threads should resume.
2230 (resume): Set resume_ptid to RESUME_ALL rather than -1.
2231 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
2232 instead of -1.
2233 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
2234 a ptid_t in target_resume() call.
2235 * osfsolib.c (solib_create_inferior_hook): Likewise.
2236 * solib-svr4.c (solib_create_inferior_hook): Likewise.
2237
2238 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
2239 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
2240 difference being that the 0xffff pattern will be interpreted
2241 as -1.
2242 * lin-thread.c (PIDGET, PIDGET0): Likewise.
2243 * thread-db.c (PIDGET, PIDGET0): Likewise.
2244 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
2245 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
2246 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
2247 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
2248
2249 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
2250 mach_really_wait rather than mach_really__wait.
2251 * lin-thread.c (check_for_thread_event): Fix warning; make function
2252 actually return a value.
2253
2254 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
2255 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
2256 pid to ptid.
2257 * gdbarch.h, gdbarch.c: Regenerated.
2258
31e28849
JL
22592001-05-03 Jonathan Larmour <[email protected]>
2260
2261 * rdi-share/devsw.c: Include <time.h> for struct tm
2262
8d341142
EZ
22632001-05-03 Eli Zaretskii <[email protected]>
2264
2265 * config/djgpp/fnchange.lst: Add mappings for the new
2266 opcodes/openrisc-* files.
2267
9572d2b6
MS
22682001-05-01 Michael Snyder <[email protected]>
2269
9085700c 2270 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
2271 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
2272
977adac5
ND
22732001-05-01 Nicholas Duffek <[email protected]>
2274
2275 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
2276 (rs6000_in_solib_return_trampoline): Declare.
2277 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
2278 function.
2279 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
2280 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
2281 check after the CSECT check rather than before it. Allocate
2282 separate symtabs for CSECTs whose names begin with '@'.
2283 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
2284 Activate the misc_func_recorded mechanism for whose names begin
2285 with '@'.
2286
6d799331
C
22872001-04-30 J.T. Conklin <[email protected]>
2288
2289 * ppcnbsd-nat.c (fetch_inferior_registers)
2290 (store_inferior_registers, fetch_core_registers): Changed to use
2291 fpreg[] instead of r_regs[] to access floating point registers.
2292
7f4dbe94
EZ
22932001-04-30 Elena Zannoni <[email protected]>
2294
2295 * sh-tdep.c: Get rid of the function prototypes.
2296 (sh_sh4_build_float_register_type): Move earlier in file.
2297 (fv_reg_base_num): Ditto.
2298 (dr_reg_base_num): Ditto.
2299
540af400
MS
23002001-04-30 Michael Snyder <[email protected]>
2301
2302 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
2303 * lin-lwp.c: Ditto.
2304 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
2305 command to turn extra debugging output on / off.
540af400 2306
f5a6fc05
EZ
23072001-04-30 Eli Zaretskii <[email protected]>
2308
2309 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
2310 (top-level): #include filenames.h.
2311
2312 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
2313 FILENAME_CMP, to DTRT on non-Posix platforms.
2314 (top-level): #include filenames.h.
2315
2316
502dcf4e
AC
23172001-04-27 Andrew Cagney <[email protected]>
2318
2319 * gdbtypes.c (check_stub_method): Always initialize ``p''.
2320
cc3f9cbb
AC
23212001-04-27 Andrew Cagney <[email protected]>
2322
2323 * configure.host: Delete romp host.
2324 * TODO: Update.
2325
ed9c5cf2
AC
23262001-04-27 Andrew Cagney <[email protected]>
2327
2328 * TODO: Updates to 5.1. No more targets to obsolete.
2329
d1a310e7
DH
23302001-04-27 Don Howard <[email protected]>
2331
128437e6
DH
2332 (Changes from Kevin Buettner, with minor update by Don Howard.)
2333
2334 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
2335 typos in which hexadecimal constants were really intended to be
2336 binary constants.
2337 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
2338 * MAINTAINERS (Misc): Added myself to the write-after-approval
2339 list.
2340
015a42b4
JB
23412001-04-26 Jim Blandy <[email protected]>
2342
2343 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
2344
2345 Abstract out operations specific to particular C++ ABI's, and
2346 invoke them through a function table. This removes the C++ ABI
2347 dependencies scattered throughout the code, and allows us to
2348 cleanly add support for new C++ ABI's.
2349 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
2350 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
2351 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
2352 #include "cp-abi.h". These files all use functions now declared
2353 there.
2354 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
2355 Deleted. These services are now provided by functions declared in
2356 cp-abi.h.
2357 * value.h (value_rtti_type, value_virtual_fn_field): Same.
2358 * values.c (value_virtual_fn_field): Same, for this definition.
2359 * valops.c (value_rtti_type): Same.
2360 * c-typeprint.c (c_type_print_base): Use the functions from
2361 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
2362 tests.
2363 * dbxread.c (record_minimal_symbol): Same.
2364 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
2365 virtual_base_index_skip_primaries): Same.
2366 * jv-typeprint.c (java_type_print_base): Same.
2367 * linespec.c (find_methods, decode_line_1): Same.
2368 * symtab.c (gdb_mangle_name): Same.
2369 * Makefile.in (SFILES): Add the new .c files mentioned above.
2370 (cp_abi_h): New variable.
2371 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
2372 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
2373 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
2374 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
2375 dependency on $(cp_abi_h).
2376
f3fb8c85
MS
23772001-04-26 Michael Snyder <[email protected]>
2378
20b8570d
MS
2379 * thread-db.c (_initialize_thread_db): Add set/show command
2380 "debug-linux-threads" for debugging output.
2381 * lin-lwp.c (various): Use global "debug_linux_threads to
2382 turn on extra debugging output.
4c8de859 2383 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
2384 * target.c (normal_pid_to_str): Get rid of an ancient hack.
2385 * remote.c (remote_pid_to_str): New function for remote target.
2386
7f0b5c30
JB
23872001-04-24 Jim Blandy <[email protected]>
2388
2389 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
2390 qualifier on C++ references; all references are innately const.
2391
0af5533d
MK
23922001-04-20 Mark Kettenis <[email protected]>
2393
2394 * event-top.h: Fix formatting.
2395
d036b4d9
AC
23962001-04-17 Andrew Cagney <[email protected]>
2397
2398 * source.c (openp): Obsolete #ifdef MPW code.
2399 (open_source_file): Ditto.
2400 * event-top.c (display_gdb_prompt): Ditto.
2401 * utils.c (query): Ditto.
2402 (init_page_info): Ditto.
2403 (init_page_info): Delete #ifndef MPW.
2404 * top.c (gdb_readline): Ditto.
2405 * mac-xdep.c: Obsolete.
2406 * mac-gdb.r: Obsolete.
2407 * config/powerpc/xm-mpw.h: Obsolete.
2408 * config/xm-mpw.h: Obsolete.
2409 * mpw-make.sed: Obsolete.
2410 * mpw-config.in: Obsolete.
2411 * TODO: Update
2412 * NEWS: Update
2413
539ffe0b
MK
24142001-04-19 Mark Kettenis <[email protected]>
2415
2416 * i386-tdep.c (i386_frameless_function_invocation): New function.
2417 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
2418 in terms of i386_frameless_function_invocation. Adjust comment.
2419 (i386_frameless_function_invocation): New prototype.
2420
67e1e03a
MH
24212001-04-18 Martin M. Hunt <[email protected]>
2422
2423 * top.c (gdb_init): Don't call cli_out_new() to
2424 create global uiout if init_ui_hook is set. uiout will
2425 have to be initialized there.
2426
fbec36e2
AC
24272001-04-18 Andrew Cagney <[email protected]>
2428
2429 * arch-utils.c: Include "regcache.h".
2430
ed84f6c1
MK
24312001-04-18 Mark Kettenis <[email protected]>
2432
2433 * i386-tdep.c (i386_saved_pc_after_call): New function.
2434 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
2435 of i386_saved_pc_after_call.
2436 (i386_saved_pc_after_call): New prototype.
2437
c60a7562
MS
24382001-04-17 Michael Snyder <[email protected]>
2439
c9e030cf 2440 * i386-nat.c: Fix typo in comment.
c60a7562
MS
2441 * solib.c (no_shared_libraries): New function. Discard all symbols
2442 from shared libraries.
2443 (_initialize_solib): Add command "nosharedlibrary" as complement
2444 to the command "sharedlibrary". Unloads symbols for all solibs.
2445
514e603d
AC
24462001-04-16 Andrew Cagney <[email protected]>
2447
2448 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
2449 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
2450 (m68*-est-*, m68*-sony-*, m68*-isi-*):
2451 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
2452 * config/m68k/xm-news.h: Obsolete.
2453 * config/m68k/tm-news.h:
2454 * config/m68k/xm-news1000.h: Obsolete.
2455 * config/m68k/news.mh: Obsolete.
2456 * config/m68k/news.mt: Obsolete.
2457 * config/m68k/nm-news.h: Obsolete.
2458 * config/m68k/news1000.mh: Obsolete.
2459 * news-xdep.c: Obsolete.
2460 * Makefile.in (isi-xdep.o): Obsolete.
2461 (ALLDEPFILES): Delete isi-xdep.c.
2462 (tm-isi.h): Obsolete.
2463 * m68k-tdep.c (altos_skip_prologue): Update comments.
2464 (isi_skip_prologue): Obsolete.
2465 * isi-xdep.c: Obsolete.
2466 * config/m68k/xm-isi.h: Obsolete.
2467 * config/m68k/isi.mh: Obsolete.
2468 * config/m68k/tm-isi.h: Obsolete.
2469 * config/m68k/isi.mt: Obsolete.
2470
2471 * TODO: Update.
2472 * NEWS: Update.
2473
6240bebf
MS
24742001-04-17 Michael Snyder <[email protected]>
2475
2476 * remote.c (remote_open_1): On opening the remote target, activate
2477 the solib_create_inferior_hook, so that it can detect when the
2478 target loads shared libraries.
2479 (remote_async_open_1): Ditto.
2480
75ac9d7b
MS
24812001-04-17 Michael Snyder <[email protected]>
2482
2483 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
2484 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
2485 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
2486 * testsuite/gdb.trace/infotrace.exp: Ditto.
2487 * testsuite/gdb.trace/passcount.exp: Ditto.
2488 * testsuite/gdb.trace/while-stepping.exp: Ditto.
2489
b9569773
MS
24902001-04-17 Michael Snyder <[email protected]>
2491
2492 * thread-db.c (check_thread_signals): When looping over all
2493 signals, ignore signal zero.
2494 (disable_thread_signals): Ditto.
2495
81490ea1
MS
24962001-04-17 Eirik Fuller <[email protected]>
2497
2498 * thread.c (do_captured_thread_select): Allow the argument to the
2499 thread command to be an expression rather than a literal integer.
2500
e5434c3d
MK
25012001-04-17 Mark Kettenis <[email protected]>
2502
2503 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
2504 read_memory_unsigned_integer instead of read_memory_integer.
2505
00c7912d
KB
25062001-04-16 Kevin Buettner <[email protected]>
2507
2508 * solib-aix5.c (map_index_vs_section_name_okay): New function.
2509 (aix5_relocate_main_executable): Don't use file offsets for
2510 determining corresponding sections and map file entries. Call
2511 map_index_vs_section_name_okay() to do this instead.
2512
4d1bcd09
KB
25132001-04-16 Kevin Buettner <[email protected]>
2514
2515 * procfs.c (open_with_retry): New function.
2516 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
2517 (proc_get_LDT_entry): Call open_with_retry() instead of open().
2518
097e5c0b 25192001-04-16 Kevin Buettner <[email protected]>
1186f287
KB
2520
2521 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
2522 comparison against TRAP_HWBKPT constant yet again to account
2523 for the various values used by different kernel versions.
2524
9e0c176c
DB
25252001-04-16 Daniel Berlin <[email protected]>
2526
2527 * demangle.c (_initialize_demangler): Use xcalloc on the
2528 demangling_style_names, and make it a null terminated array of
2529 names, to avoid a crash.
2530
c833a37e
MK
25312001-04-16 Mark Kettenis <[email protected]>
2532
2533 * i386-tdep.c (i386_frame_chain): New function.
2534 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
2535 i386_frame_chain.
2536 (i386_frame_chain): New prototype.
2537
46c6cdcf
C
25382001-04-14 J.T. Conklin <[email protected]>
2539
2540 * target.h (target_ops): Removed to_core_file_to_sym_file vector
2541 function.
2542 * corelow.c (core_ops): Updated for above change.
2543 * gnu-nat.c (core_ops): Likewise.
2544 * inftarg.c (child_ops): Likewise.
2545 * monitor.c (monitor_ops): Likewise.
2546 * ppc-bdm.c (bdm_ppc_ops): Likewise.
2547 * remote-adapt.c (adapt_ops): Likewise.
2548 * remote-bug.c (bug_ops): Likewise.
2549 * remote-e7000.c (e7000_ops): Likewise.
2550 * remote-eb.c (eb_ops): Likewise.
2551 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
2552 * remote-mm.c (mm_ops): Likewise.
2553 * remote-nindy.c (nindy_ops): Likewise.
2554 * remote-nrom.c (nrom_ops): Likewise.
2555 * remote-os9k.c (rombug_ops): Likewise.
2556 * remote-rdp.c (remote_rdp_ops): Likewise.
2557 * remote-sim.c (gdbsim_ops): Likewise.
2558 * remote-st.c (st2000_ops): Likewise.
2559 * v850ice.c (v850ice_ops): Likewise.
2560 * target.c (cleanup_target): Likewise
2561 (update_current_target): Likewise.
2562 (setup_target_debug): Likewise
2563 (debug_to_core_file_to_sym_file): Removed.
2564
2565 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
2566 sets symbol file from information obtained from the core file.
2567 * corelow.c (core_file_to_sym_file): Removed.
2568
d1566ff5
FN
25692001-04-13 Fernando Nasser <[email protected]>
2570
2571 From Adam Mirowski <[email protected]>
2572 Fixed Insight on Solaris. It was not possible to debug a process
2573 because of EINTR "errors".
2574 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
2575 with EINTR, retry the call.
2576
6c98e688
KB
25772001-04-12 Kevin Buettner <[email protected]>
2578
2579 * solib-aix5.c (enum maptype): Delete.
2580 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
2581 member a pointer instead of a statically sized array.
2582 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
2583 array.
2584 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
2585 aix5_find_global_pointer): Search for correct mapping to use
2586 based on file offset instead of knowledge of whether the section
2587 is read-only or read/write.
2588 (aix5_find_gate_addresses): Use the first mapping instead of
2589 the (now defunct) MT_READONLY mapping.
2590
49282387
ND
25912001-04-12 Nicholas Duffek <[email protected]>
2592
2593 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
2594 "@".
2595
7f6b83a5
KB
25962001-04-12 Kevin Buettner <[email protected]>
2597
2598 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
2599
24f89b68
AC
26002001-04-09 Andrew Cagney <[email protected]>
2601
2602 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
2603 * config/i386/sun386.mh: Obsolete.
2604 * config/i386/sun386.mt: Obsolete.
2605 * config/i386/xm-sun386.h: Obsolete.
2606 * config/i386/tm-sun386.h: Obsolete.
2607 * config/i386/nm-sun386.h: Obsolete.
2608 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
2609 (sun386-nat.o): Target is obsolete.
2610 * sun386-nat.c: Obsolete.
2611 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
2612 * configure.host (i[3456]86-*-sunos*): Obsolete.
2613 * NEWS: Update.
2614 * TODO: Update.
2615
c114dcd5
C
26162001-04-10 J.T. Conklin <[email protected]>
2617
2618 * maint.c: Fix typo in comment.
2619
6755f5ad
KS
26202001-04-09 Keith Seitz <[email protected]>
2621
2622 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
2623
7700434b
KB
26242001-04-08 Kevin Buettner <[email protected]>
2625
2626 * fork-child.c (fork_inferior, clone_and_follow_inferior):
2627 Document fact that apparent call to vfork() might actually be
2628 a call to fork() instead.
2629 * ser-pipe.c (pipe_open): Likewise.
2630
d493eb33
KB
26312001-04-08 Kevin Buettner <[email protected]>
2632
2633 * printcmd.c (print_frame_args): Use a cleanup to invoke
2634 ui_out_list_end() so that the list count nesting flag will
2635 be decremented properly when an error occurs.
2636 * stack.c (print_frame): Likewise.
2637
af471f3c
C
26382001-04-06 J.T. Conklin <[email protected]>
2639
c839c4db
C
2640 * dcache.c (dcache_write_line): Fixed bugs where cache line was
2641 not written to target correctly.
2642
af471f3c
C
2643 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
2644 void return value;
2645 * gdbserver/low-nbsd.c: Likewise.
2646 * gdbserver/low-sparc.c: Likewise.
2647 * gdbserver/low-sun3.c: Likewise.
2648
d8e275b4
GK
26492001-04-06 Geoffrey Keating <[email protected]>
2650
2651 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
2652 (PTRACE_DETACH): Don't define.
2653
e02bc4cc
DS
26542001-04-06 David Smith <[email protected]>
2655
2656 * arch-utils.c (default_prepare_to_proceed)
2657 (generic_prepare_to_proceed): Added new functions.
2658 * arch-utils.h: New function declarations for
2659 default_prepare_to_proceed() and generic_prepare_to_proceed().
2660 * gdbarch.sh: Added PREPARE_TO_PROCEED.
2661 * gdbarch.c: Regenerated.
2662 * gdbarch.h: Regenerated.
2663 * inferior.h: Added get_last_target_status() declaration.
2664 * infrun.c (get_last_target_status): Added new function.
2665 (handle_inferior_event): Saves last pid and waitstatus, which will
2666 get returned by get_last_target_status().
2667
2668 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
2669 prepare_to_proceed() is potentially redundant since
2670 default_prepare_to_proceed() has been added.
2671 * linux-thread.c (prepare_to_proceed): Ditto.
2672 * lin-lwp.c (prepare_to_proceed): Ditto.
2673 * m3-nat.c (prepare_to_proceed): Ditto.
2674
1b2b2c16
AC
26752001-04-05 Andrew Cagney <[email protected]>
2676
2677 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
2678 and powerpc-*-netware* target.
2679 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
2680 Obsolete.
2681 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
2682 (powerpcle-*-solaris*): Obsolete.
2683 * config/powerpc/tm-cygwin.h: Obsolete.
2684 * config/powerpc/cygwin.mt: Obsolete.
2685 * config/powerpc/xm-cygwin.h: Obsolete.
2686 * config/powerpc/cygwin.mh: Obsolete.
2687 * config/powerpc/nm-solaris.h: Obsolete.
2688 * config/powerpc/xm-solaris.h: Obsolete.
2689 * config/powerpc/tm-solaris.h: Obsolete.
2690 * config/powerpc/solaris.mt: Obsolete.
2691 * config/powerpc/tm-ppc-nw.h: Obsolete.
2692 * config/powerpc/ppc-nw.mt: Obsolete.
2693 * TODO: Update.
2694 * NEWS: Update.
2695
063fd668
FN
26962001-04-06 Fernando Nasser <[email protected]>
2697
2698 * buildsym.c (record_line): Turn off unused addr bits.
2699
a250df2e
FN
27002001-04-06 Fernando Nasser <[email protected]>
2701
2702 From David Deephanphongs <[email protected]>
2703 * inferior.h: Fix declarations of get_inferior_args and
2704 set_inferior_args, which were missing the trailing 's'.
2705
1fcef334
JH
27062001-04-05 Jeff Holcomb <[email protected]>
2707
2708 * monitor.c (monitor_supply_register): Only report an error if we
2709 don't get a valid value.
2710
f032fb6e
EZ
27112001-04-05 Eli Zaretskii <[email protected]>
2712
2713 * README: Don't mention gdba.el.
2714
0191bed7
EZ
27152001-04-05 Elena Zannoni <[email protected]>
2716
2717 From Jimmy Guo <[email protected]>
2718 * top.c (init_main): set prompt if annotation_level>1,
2719 this is necessary when annotation_level is set to 2 via
2720 --annotate=2 command line option.
2721
4a1968f4
AC
27222001-04-04 Andrew Cagney <[email protected]>
2723
2724 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
2725 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
2726 * configure.host (a29k-*-*): Obsolete.
2727 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
2728 ultra3-xdep.c.
2729 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
2730 * config/a29k/tm-ultra3.h: Obsolete.
2731 * config/a29k/ultra3.mt: Obsolete.
2732 * config/a29k/ultra3.mh: Obsolete.
2733 * config/a29k/nm-ultra3.h: Obsolete.
2734 * config/a29k/xm-ultra3.h: Obsolete.
2735 * ultra3-xdep.c: Obsolete.
2736 * ultra3-nat.c: Obsolete.
2737 * config/a29k/a29k-kern.mt: Obsolete.
2738 * NEWS: Update.
2739 * TODO: Update.
2740
608506ed
CF
2741Wed Apr 4 21:48:42 2001 Christopher Faylor <[email protected]>
2742
2743 * main.c: Remove windows.h use.
2744 (gdbtk_test): Use PATH_MAX for home var calculation.
2745 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
2746 Win32 in colon test.
2747 * ser-tcp.c: Use modern __CYGWIN__ conditional.
2748 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
2749 (openp): Ditto.
2750 * symfile.c (symfile_bfd_open): Ditto.
608506ed 2751
6457bd47
MH
27522001-04-04 Martin M. Hunt <[email protected]>
2753
2754 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
2755 Handle all stream setup in gdbtk_init
2756
3df1b9b4
MK
27572001-04-04 Mark Kettenis <[email protected]>
2758
2759 * i386-tdep.c (i386_extract_return_value): Don't return the return
2760 value of a void function.
2761 (i386_store_return_value): Likewise.
2762
76f4ea53
AC
27632001-04-03 Andrew Cagney <[email protected]>
2764
2765 Obsolete w65-*-* target.
2766 * configure.tgt (w65-*-*): Obsolete.
2767 * config/w65/w65.mt: Obsolete.
2768 * config/w65/tm-w65.h: Obsolete.
2769 * w65-tdep.c: Obsolete.
2770 * NEWS: Update. Fix TiC80 description.
2771 * TODO: Update.
2772
52071915
AC
27732001-04-03 Andrew Cagney <[email protected]>
2774
2775 Obsolete tic80-*-* target.
2776 * configure.tgt (tic80-*-*): Obsolete.
2777 * config/tic80/tic80.mt: Obsolete.
2778 * config/tic80/tm-tic80.h: Obsolete.
2779 * tic80-tdep.c: Obsolete.
2780 * TODO: Update
2781 * NEWS: Update.
2782
44eaed12
C
27832001-04-02 J.T. Conklin <[email protected]>
2784
ba79cc81
C
2785 * remote-mips.c (S_IROTH): Moved definition from here.
2786 * gdb_stat.h (S_IROTH): to here.
2787
44eaed12
C
2788 * remote.c (remote_protocol_e, remote_protocol_E): Define.
2789 (set_remote_protocol_e_packet_cmd)
2790 (set_remote_protocol_E_packet_cmd)
2791 (show_remote_protocol_e_packet_command)
2792 (show_remote_protocol_E_packet_command): New functions.
2793 (init_all_packet_configs): Initialize remote_protocol_e and
2794 remote_protocol_E.
2795 (remote_resume, remote_async_resume): Support e/E command
2796 packets.
2797 (show_remote_cmd): Show state of remote_protocol_e and
2798 remote_protocol_E.
2799 (_initialize_remote): Add "set remote step-over-range-packet"
2800 and "set remote step-over-range-w-signal-packet" to CLI.
2801
bb19ff3b
AC
28022001-04-01 Andrew Cagney <[email protected]>
2803
2804 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
2805 ns32k-utek-*.
2806 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
2807 (umax-xdep.o, ns32km3-nat.o): Obsolete.
2808 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
2809 Obsolete.
2810 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
2811 Obsolete.
2812 * config/ns32k/merlin.mh: Obsolete.
2813 * config/ns32k/merlin.mt: Obsolete.
2814 * config/ns32k/xm-merlin.h: Obsolete.
2815 * config/ns32k/tm-merlin.h: Obsolete.
2816 * config/ns32k/nm-umax.h: Obsolete.
2817 * config/ns32k/umax.mh: Obsolete.
2818 * config/ns32k/umax.mt: Obsolete.
2819 * config/ns32k/xm-umax.h: Obsolete.
2820 * umax-xdep.c: Obsolete.
2821 * config/ns32k/ns32km3.mh: Obsolete.
2822 * config/ns32k/ns32km3.mt: Obsolete.
2823 * config/ns32k/tm-ns32km3.h: Obsolete.
2824 * config/ns32k/xm-ns32km3.h: Obsolete.
2825 * ns32km3-nat.c: Obsolete.
2826 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
2827 (merlin_frame_num_args): Ditto.
2828 * NEWS: Update.
2829 * TODO: Update.
2830
d6259d75
EZ
28312001-04-02 Eli Zaretskii <[email protected]>
2832
2833 * config/djgpp/fnchange.lst: Tweak due to
2834 expect/example/chesslib.c.
2835
971ff545
KB
28362001-04-02 Kevin Buettner <[email protected]>
2837
2838 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
2839 unsigned int to unsigned long. Also, fix format string.
2840 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
2841 use an undeclared variable. Also, delete declaration and
2842 initialization of ``fp'' because it is otherwise unused.
2843 * remote-bug.c (sleep): Delete declaration.
2844 (bug_store_register, bug_write_memory, bug_read_memory)
2845 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
2846 format statements and cast certain sprintf() arguments to
2847 eliminate warnings.
2848 (bug_load): Likewise for call to printf_filtered().
2849 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
2850 assignment to ``pc''. The necessary assignment is done in
2851 hand_function_call() after the invocation of FIX_CALL_DUMMY().
2852
4e4f46a1
DB
28532001-03-20 Daniel Berlin <[email protected]>
2854
2855 * symtab.c (completion_list_add_name): Remove duplicate string checks,
2856 readline already does this, and it's much faster at it, too.
2857
ba8629a9
EZ
28582001-04-01 Eli Zaretskii <[email protected]>
2859
2860 * go32-nat.c: Minor tweaks, to pacify the ari script.
2861
7bf0983e
MK
28622001-04-01 Mark Kettenis <[email protected]>
2863
f7af9647
MK
2864 * i386-tdep.c (i386_extract_struct_value_address): New function.
2865 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
2866 in terms of i386_extract_struct_value_address.
2867 (i386_extract_struct_value_address): New prototype.
2868
7bf0983e
MK
2869 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
2870 value to `unsigned long'. Change type of `value' to `unsigned
2871 long'.
2872 (i386_linux_dr_set): Change type of second argument to `unsigned
2873 long'.
2874 (i386_linux_dr_set_control): Change type of first argument to
2875 `unsigned long'.
2876 (i386_linux_dr_get_status): Change type of return value to
2877 unsigned long.
2878 * config/i386/nm-linux.h (i386_linux_dr_set_control,
2879 i386_linux_dr_get_status): Adjust prototypes accordingly.
2880
6e4862ff
KB
28812001-03-31 Kevin Buettner <[email protected]>
2882
2883 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
2884 TRAP_HWBKPT constant to match that in the kernel headers for
2885 Linux/IA-64.
521f1f96 2886
1e8d0a7b
MK
28872001-03-31 Mark Kettenis <[email protected]>
2888
0afdd437
MK
2889 * i386bsd-nat.c: Include "gdb_assert.h".
2890 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
2891 already defined.
2892 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
2893 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
2894 i386bsd_dr_get_status): New functions.
2895 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
2896 (I386_USE_GENERIC_WATCHPOINTS): Define.
2897 Include "i386/nm-i386.h".
2898 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
2899 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
2900 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
2901 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
2902 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
2903 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
2904 ptrace request.
2905 * config.in, configure: Regenerate.
2906
4bcc3944
MK
2907 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
2908 register before enabling it by setting the control register.
2909 (i386_remove_aligned_watchpoint): Reset address register after
2910 disabling it by setting the control register.
2911
1e8d0a7b
MK
2912 * i386-tdep.c (i386_extract_return_value): If the type of the
2913 return value is TYPE_STRUCT and the number of fields is one, call
2914 ourselves with TYPE set tp the type of the first field.
2915 (i386_store_return_value): Likewise.
2916 This fixes a problem with returning structs consisting of a single
2917 `float' or `double' on *BSD.
2918
95a85621
MK
29192001-03-30 Mark Kettenis <[email protected]>
2920
40564aca
MK
2921 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
2922 we're absolutely sure we're going to resume it.
2923
95a85621
MK
2924 * thread-db.c (check_event): Don't report an error if we encounter
2925 a thread creation event for a thread that's already in the thread
2926 list, since that may legitemately happen. Instead only call
2927 attach_thread if it's not already in the thread list.
2928
2e94c453
AC
29292001-03-28 Andrew Cagney <[email protected]>
2930
2931 * config/pa/xm-hppah.h (malloc): Really delete declaration
2932 (MALLOC_INCOMPATIBLE): Really delete macro.
2933 * cli/cli-cmds.c (apropos_command): Use xcalloc.
2934
93d56215
AC
29352001-03-28 Andrew Cagney <[email protected]>
2936
2937 * configure.in (build_warnings): Add -Wuninitialized.
2938 * configure: Regenerate.
2939
2940 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
2941 * sparc-tdep.c (sparc64_push_arguments): Add default case to
2942 switch.
2943 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
2944 expression with if statement.
2945 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
2946 ``stack_size''.
2947 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
2948 (mips_dump_tdep): Fix setting of ef_mips_arch.
2949 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
2950 * dsrec.c (make_srec): Always initialize ``binbuf''.
2951 * monitor.c (monitor_read_memory_single): Do not pass an
2952 uninitialized buffer to monitor_error. Make ``i'' more local.
2953
381bab78
AC
29542001-03-28 Andrew Cagney <[email protected]>
2955
2956 * MAINTAINERS: Change ns32k target to ,-Werror.
2957
2958 * ns32k-tdep.c: Include "gdbcore.h"
2959 (flip_bytes): Change first argument to void*. Add forward
2960 declaration.
2961 (sign_extend): Add declaration.
2962 (merlin_frame_num_args): Add final else clause to if-else chain.
2963 (umax_frame_num_args): Ditto.
2964 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
2965 (flip_bytes): Ditto.
2966
b9511b9a
MK
29672001-03-28 Mark Kettenis <[email protected]>
2968
b05f2432
MK
2969 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
2970 config/i386/nm-linux.h (including comment).
2971 (i386_linux_frame_chain): New function implementing guts of the
2972 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
2973 instead of read_memory_integer.
2974 (i386_linux_frame_saved_pc): Removed doc pointing to
2975 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
2976 now lives in this file.
2977 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
2978 i386-linux-tdep.c (including comment).
2979 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
2980 (i386_linux_frame_chain): New prototype.
2981
0eebe06a
MK
2982 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
2983 make it work again.
2984 (NUM_FREGS): Redefine to 0.
2985 (NUM_REGS): Redefine as NUM_GREGS.
2986 (i386_register_byte, i386_register_raw_size): Update from
2987 i386-tdep.c. Add comment about their origin.
2988 (regmap, register_u_addr): Take these from i386-linux-nat.c.
2989 (i386_register_u_addr): Removed.
2990
b9511b9a
MK
2991 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
2992 fails instead of calling perror_with_name. This should fix
2993 debugging remote i386 targets with a native Linux/x86 GDB. Add
2994 FIXME for this hack.
2995
3172dc30
C
29962001-03-19 J.T. Conklin <[email protected]>
2997
2998 * arch-utils.c (#include "gdbthread.h"): Removed.
2999 (#include "symfile.h"): Removed.
3000 (XMALLOC): Removed unused macro.
3001 * breakpoint.c (tbreak_command): Removed local declaration.
3002 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
3003 Remove duplicate declarations.
3004 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
3005 (remove_solib_event_breakpoints): Fix indentation botch.
3006 * c-typeprint.c (#include "command.h"): Removed.
3007 (#include "gdbcmd.h"): Removed.
3008 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
3009 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
3010 Removed duplicate declarations.
3011 * ch-typeprint.c (#include "command.h"): Removed.
3012 (#include "gdbcmd.h"): Removed.
3013 * corefile.c (#include "frame.h"): Removed
3014 (#include "symfile.h"): Removed.
3015 (#include "language.h"): Removed.
3016 * dbxread.c (#include "command.h"): Removed.
3017 * environ.c (#include "gdbcore.h"): Removed.
3018 * event-loop.c (#include "top.h"): Removed.
3019 * f-typeprint.c (#include "command.h"): Removed.
3020 (#include "gdbcmd.h"): Removed.
3021 (#include "language.h"): Removed.
3022 (#include "typeprint.h"): Removed.
3023 (#include "frame.h"): Removed.
3024 * gdbtypes.h (print_type_scalar): Removed declaration.
3025 * infcmd.c (#include "completer.h"): Removed.
3026 * language.c (#include "frame.h"): Removed.
3027 * m2-typeprint.c (#include "command.h"): Removed.
3028 (#include "gdbcmd.h"): Removed.
3029 (#include "language.h"): Removed.
3030 * m2-valprint.c (#include "valprint.h"): Removed.
3031 * p-typeprint.c (#include "command.h"): Removed.
3032 (#include "gdbcmd.h"): Removed.
3033 * p-valprint.c (#include "typeprint.h"): Removed.
3034 * parse.c (#include "linespec.h"): Removed.
3035 * regcache.c (#include "frame.h"): Removed.
3036 * remote.c (#include "frame.h"): Removed.
3037 (getpkt_sane): Make static.
3038 * source.c (#include "completer.h"): Removed.
3039 * stack.c (#include "symfile.h"): Removed.
3040 (#include "objfiles.h"): Removed.
3041 * symfile.c (#include "completer.h"): Removed.
3042 * tracepoint.c (#include "completer.h"): Removed.
3043 * values.c (#include "frame.h"): Removed.
3044 * varobj.c (#include "valprint.h"): Removed.
3045 * wrapper.c (#include "frame.h"): Removed.
3046
3047 * memattr.c (create_mem_region): Removed unused variable.
3048 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
3049
397b41ad
NC
30502001-03-27 Nick Clifton <[email protected]>
3051
3052 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
3053
ed817e68
KB
30542001-03-27 Kevin Buettner <[email protected]>
3055
3056 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
3057 of free().
3058
b75e0a6b
EZ
30592001-03-27 Eli Zaretskii <[email protected]>
3060
3061 * TODO (Cleanups): Remove the item about converting docs to GFDL.
3062
2fc3ac7e
KB
30632001-03-26 Kevin Buettner <[email protected]>
3064
3065 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
3066 type of ``bundle'' from unsigned char * to char *.
3067 (ia64_get_saved_register): Use alloca() to allocate register
3068 buffers.
3069
224d8953
KB
3070 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
3071
37de36c6
KB
30722001-03-26 Kevin Buettner <[email protected]>
3073
3074 * proc-utils.h (procfs_ctl_t): New typedef.
3075 * proc-api.c (write_with_trace): Change type of ``opcode'' from
3076 long to procfs_ctl_t. Don't assume that the target has defined
3077 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
3078 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
3079 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
3080 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
3081 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
3082 Conditionally define as appropriate for AIX/non-AIX systems. Use
3083 these defines/typedefs as appropriate elsewhere in file.
3084 (struct procinfo): Change type of saved_sigset and saved_sighold
3085 from sigset_t to gdb_sigset_t. Make saved_exitset and
3086 saved_entryset pointer variables. Add two new fields, num_syscalls
3087 and syscall_names.
3088 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
3089 (sysset_t_size, sysset_t_alloc): New functions.
3090 (load_syscalls, free_syscalls, find_syscall): New functions for
3091 platforms which define DYNAMIC_SYSCALLS.
3092 (create_procinfo): Call load_syscalls.
3093 (destroy_one_procinfo): Call free_syscalls.
3094 (GDBRESET): Don't define twice.
3095 (proc_modify_flag): Change type of operation code array `arg'
3096 from long to procfs_ctl_t.
3097 (proc_stop_process, proc_wait_for_stop, proc_run_process)
3098 (proc_set_traced_signals, proc_set_traced_faults)
3099 (proc_set_traced_sysentry, proc_set_traced_sysexit)
3100 (proc_set_held_signals, proc_clear_current_fault)
3101 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
3102 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
3103 (proc_set_traced_sysentry): Dynamically allocate variable sized
3104 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
3105 (proc_set_traced_sysexit): Dynamically allocate variable
3106 sized struct gdb_proc_ctl_pcsexit. Also, free it at
3107 function exit.
3108 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
3109 for reading the sysset_t struct on AIX5.
3110 (procfs_debug_inferior): Don't assume that SYS_exit will be
3111 defined. Add new code for finding certain syscalls on AIX5.
3112 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
3113 (syscall_is_lwp_create): New functions.
3114 (procfs_wait): Restructured code which checks for certain
3115 system calls to use the new syscall_is_... functions.
3116 (procfs_notice_signals): Account for the fact that saved_entryset
3117 and saved_exitset in struct procinfo are now pointers.
3118
25d53da1
KB
31192001-03-26 Kevin Buettner <[email protected]>
3120
3121 * symtab.c (find_pc_sect_line): Revise method used for finding
3122 the ending pc.
3123
50e27f84
MK
31242001-03-26 Mark Kettenis <[email protected]>
3125
3126 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
3127 i386_linux_sigtramp_saved_sp): Make static.
3128 (i386_linux_frame_saved_pc): New function based on the old
3129 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
3130 of read_memory_integer.
3131 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
3132 (i386_linux_sigtramp_saved_pc): Remove prototype.
3133 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
3134 (i386_linux_frame_saved_pc): New prototype.
3135
1a5cef06
AC
31362001-03-26 Andrew Cagney <[email protected]>
3137
3138 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
3139 * TODO (GDB 5.1 - Cleanups): Update.
3140
af802127
AC
31412001-03-26 Andrew Cagney <[email protected]>
3142
3143 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
3144 HAVE_VFORK.
3145
22f8ba57
MK
31462001-03-26 Mark Kettenis <[email protected]>
3147
5b31405b
MK
3148 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
3149
22f8ba57
MK
3150 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
3151 functions.
3152 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
3153 (STORE_STRUCT_RETURN): Redefine in terms of
3154 i386_store_struct_return.
3155 (i386_push_arguments, i386_store_struct_return): New prototypes.
3156 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
3157 definition was identical to the definition in "i386/tm-i386.h" so
3158 the new definition should suffice too.
3159
49baf819 31602001-03-26 Eli Zaretskii <[email protected]>
4d277981 3161
b78a4f26
EZ
3162 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
3163 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
3164
4d277981
EZ
3165 * config/djgpp/djconfig.sh: Add copyright notice.
3166
3167 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
3168 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
3169 (top level) <string.h>: Include gdb_string.h instead.
3170 (dos_noop, dos_raw, dos_noflush_set_tty_state)
3171 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
3172
3173 * go32-nat.c (go32_create_inferior): Move the declaration of
3174 `environ' to here from the top level.
3175 (top level) <_initialize_go32_nat>: Remove redundant prototype.
3176 <gdb_string.h>: Include it instead of string.h.
3177 (store_register): Call register_buffer instead of accessing
3178 registers[] directly.
3179 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
3180 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
3181 the function names at the start of the line.
3182 (go32_set_dr): Throw internal_error if the argument is not a valid
3183 debug register number.
3184 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
3185 (go32_wait, go32_xfer_memory, go32_files_info)
3186 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
3187
8f3ee2ae
JB
31882001-03-25 Jim Blandy <[email protected]>
3189
3190 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
3191
6ec4c4bd
EZ
31922001-03-25 Elena Zannoni <[email protected]>
3193
3194 From Andrew Cagney <[email protected]>
3195
3196 * coffread.c: Include "gdb_assert.h".
3197 (coff_symtab_read): Cast the integer s_sclass to a long before
3198 casting it to a pointer.
3199
b9179dbc
EZ
32002001-03-25 Elena Zannoni <[email protected]>
3201
3202 From Andrew Cagney <[email protected]>
3203
3204 * coffread.c (coff_symtab_read): Initialize
3205 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
3206 the ``.ef'' info.
3207 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
3208
64c4637f
AC
32092001-03-23 Andrew Cagney <[email protected]>
3210
3211 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
3212 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
3213 multi-arch.
3214
3215 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
3216 * gdbarch.h, gdbarch.c: Re-generate.
3217
3218 * target.h (SOFTWARE_SINGLE_STEP_P)
3219 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
3220
61a0eb5b
AC
32212001-03-23 Andrew Cagney <[email protected]>
3222
3223 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
3224 * gdbarch.h, gdbarch.c: Regenerate.
3225
3226 * regcache.h (regcache_read, regcache_write): Declare.
3227 (registers, register_valid, register_buffer): Add note that these
3228 interfaces are deprecated.
3229
3230 * regcache.c: Include "gdb_assert.h".
3231 (legacy_write_register_gen): Rename write_register_gen.
3232 (legacy_read_register_gen): Rename read_register_gen.
3233 (regcache_read, regcache_write): New function.
3234 (read_register_gen, write_register_gen): New function.
3235 (write_register): Simplify. Use write_register_gen.
3236 (read_register): Ditto using read_register_gen.
3237 (read_signed_register): Ditto.
3238 (read_register_bytes): Ditto!!!!
3239 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
3240 replaced by gdbarch_register_read.
3241
3242 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
3243 deprecate.
3244
c2bd2ed9
JB
32452001-03-23 Jim Blandy <[email protected]>
3246
f34754ee
JB
3247 Fix from Dan Berlin:
3248
c2bd2ed9
JB
3249 * stabsread.c (read_cpp_abbrev): Properly construct the names of
3250 virtual function table pointer fields.
3251
c0e61796
AC
32522001-03-19 Andrew Cagney <[email protected]>
3253
3254 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
3255 xmrealloc): Move existing declarations to the one place and
3256 re-order to be consistent.
3257 (xmcalloc, xmfree): Declare.
3258 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
3259 declaration.
3260
3261 * utils.c (size_t): Delete #ifdef defining size_t.
3262 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
3263 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
3264 corresponding malloc, realloc, calloc.
3265 (mfree): Call free directly.
3266 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
3267 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
3268 function bodies to here.
3269 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
3270
c65ecaf3
AC
32712001-03-23 Andrew Cagney <[email protected]>
3272
3273 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
3274 ``shell_file'' static locals.
3275
3276 * jv-lang.c (java_link_class_type): Initialize ``field'' and
3277 ``method''.
3278
3279 * jv-valprint.c (java_value_print): Initialize ``next_element''.
3280
207e433e
MK
32812001-03-23 Mark Kettenis <[email protected]>
3282
3283 * config/i386/nm-i386.h: Fix formatting and change reference to
3284 i386-tdep.c to i386-nat.c.
3285
6c5cfe5b
DS
32862001-03-23 David Smith <[email protected]>
3287
3288 * configure.in: Corrected spelling errors.
3289 * configure: Regenerated.
3290
5300940c
AC
32912001-03-22 Andrew Cagney <[email protected]>
3292
3293 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
3294
17e78a56
AC
32952001-03-22 Andrew Cagney <[email protected]>
3296
3297 * Makefile.in (NTSSTART): Delete.
3298 (NTSOBS): Delete.
3299 (kdb): Delete target.
3300 * kdb-start.c, stuff.c: Mark as obsolete.
3301 * NEWS: Update.
3302
41899c04
AC
33032001-03-22 Andrew Cagney <[email protected]>
3304
3305 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
3306 compiles using an ISO-C compiler.
3307 (MALLOC_INCOMPATIBLE): Ditto.
3308 * linespec.c (decode_line_1): Delete hack to work around
3309 HPPA_COMPILER_BUG.
3310
88665544
AC
33112001-03-22 Andrew Cagney <[email protected]>
3312
3313 * exec.c (xfer_memory): Always initialize section.
3314 * infrun.c (normal_stop): Always initialize source_flag.
3315
a2061976
AC
33162001-03-22 Andrew Cagney <[email protected]>
3317
3318 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
3319 non-use of a continue address and typical use of ``q'' packet.
3320
e24d4c64
EZ
33212001-03-22 Eli Zaretskii <[email protected]>
3322
3323 Make DJGPP use the new unified support for hardware
3324 breakpoints and watchpoints on x86 targets:
3325
3326 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
3327 include nm-i386.h instead.
3328 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
3329 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
3330 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
3331 (target_stopped_data_address, target_insert_watchpoint)
3332 (target_remove_watchpoint, target_insert_hw_breakpoint)
3333 (target_remove_hw_breakpoint): Don't define.
3334 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
3335 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
3336 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
3337 functions from go32-nat.c.
3338
3339 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
3340
3341 * go32-nat.c <top level>: Remove prototypes for watchpoint-
3342 related functions. Remove definitions of watchpoint-related
3343 macros.
3344 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
3345 private cleanup_dregs function.
3346 (cleanup_dregs, go32_insert_watchpoint)
3347 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
3348 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
3349 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
3350 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
3351 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
3352
c26e1c2b
KB
33532001-03-21 Kevin Buettner <[email protected]>
3354
3355 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
3356 than two instead of generating an error.
3357
272ba48f
JB
33582001-03-21 Jim Blandy <[email protected]>
3359
3360 * cp-valprint.c: Reformat to bring into line with GNU coding
3361 standards.
3362
84346e11
MK
33632001-03-21 Mark Kettenis <[email protected]>
3364
3365 Make Linux use the new unified support for hardware breakpoints
3366 and watchpoints on x86 targets.
3367 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
3368 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
3369 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
3370 appropriate value if not already defined.
3371 (register_u_addr): New function.
3372 (kernel_u_size): New function.
3373 (i386_linux_dr_get, i386_linux_dr_set): New functions.
3374 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
3375 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
3376 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
3377 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
3378 (TARGET_HAS_HARDWARE_WATCHPOINTS,
3379 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
3380 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
3381 target_remove_watchpoint): Remove macros.
3382 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
3383 i386_remove_watchpoint): Remove prototypes.
3384 (register_u_addr): New prototype.
3385 (REGISTER_U_ADDR): Define in terms of register_u_addr.
3386 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
3387 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
3388 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
3389 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
3390 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
3391 i386-nat.o.
3392
13b57657
JB
33932001-03-21 Jim Blandy <[email protected]>
3394
f34754ee
JB
3395 Fix from Dan Berlin:
3396
13b57657
JB
3397 * linespec.c (find_methods): Whitespace differences aren't
3398 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 3399 them, not STREQ.
13b57657 3400
eee30e78
AC
34012001-03-21 Andrew Cagney <[email protected]>
3402
3403 * gdbarch.sh: Allow a non- multi-arch target to override a
3404 predicate.
3405 * gdbarch.h: Regenerate.
3406
b77be6cf
AC
34072001-03-21 Andrew Cagney <[email protected]>
3408
3409 * gdbarch.sh: Avoid use of ``!''.
3410
379d08a1
AC
34112001-03-20 Andrew Cagney <[email protected]>
3412
3413 * target.h (enum target_signal): Move definition from here.
3414 * defs.h (enum target_signal): To here.
3415
3416 * config/arc/tm-arc.h (arc_software_single_step): Change type of
3417 first parameter to enum target_signal.
3418 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
3419 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
3420 * rs6000-tdep.c (rs6000_software_single_step): Update.
3421
64485362
AC
34222001-03-20 Andrew Cagney <[email protected]>
3423
3424 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
3425 already defined.
3426
3427 From 2000-08-25 Stephane Carrez <[email protected]>:
3428 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
3429 or a reference ('a') can be in a pseudo register.
3430 * infcmd.c (do_registers_info): Must take into account the pseudo
3431 registers to print their value.
3432 (registers_info): Likewise.
3433 * stack.c (frame_info): Likewise.
3434 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
3435
52b98211
EZ
34362001-03-21 Eli Zaretskii <[email protected]>
3437
3438 Unified support for hardware breakpoints and watchpoints on
3439 x86 targets:
3440
3441 * config/i386/nm-i386.h: New file.
3442
3443 * config/i386/nm-i386.h: (i386_cleanup_dregs)
3444 (i386_insert_watchpoint, i386_remove_watchpoint)
3445 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
3446 (i386_stopped_data_address, i386_insert_hw_breakpoint)
3447 (i386_remove_hw_breakpoint): Declare prototypes.
3448 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
3449 Define if not already defined.
3450 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
3451 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
3452 (target_insert_watchpoint, target_remove_watchpoint)
3453 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
3454 to call the appropriate i386_* functions.
3455
3456 * i386-nat.c: New file.
3457
3458 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
3459 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
3460 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
3461 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
3462 (maint_show_dr): New variables.
3463 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
3464 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
3465 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
3466 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
3467 (i386_stopped_data_address, i386_stopped_by_hwbp)
3468 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
3469 functions.
3470 (_initialize_i386_nat): New function.
3471 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
3472 `show-debug-regs', sets maint_show_dr to non-zero value and
3473 activates debugging print-outs in functions which insert, remove,
3474 and test watchpoints and hardware breakpoints.
3475
3476 * Makefile.in (i386-nat.o): New target.
3477 (ALLDEPFILES): Add i386-nat.o.
3478
28e9e0f0
MK
34792001-03-21 Mark Kettenis <[email protected]>
3480
3481 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
3482 appropriate comment.
3483
e40eccb4
KB
34842001-03-20 Kevin Buettner <[email protected]>
3485
3486 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
3487 thread-db.o, and lin-lwp.o for thread support instead of
3488 linux-thread.o and lin-thread.o.
3489 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
3490 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
3491 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
3492 (lin_lwp_attach_lwp): Declare.
3493
bea7bb93
JB
34942001-03-20 Jim Blandy <[email protected]>
3495
f34754ee
JB
3496 Fix from Dan Berlin:
3497
bea7bb93
JB
3498 * Makefile.in: Clean up dependencies on ../include/demangle.h.
3499 (demangle_h): New variable.
3500 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
3501
b0ed3589
AC
35022001-03-20 Andrew Cagney <[email protected]>
3503
3504 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
3505 * breakpoint.c (bpstat_stop_status): Update.
3506 * infrun.c (handle_inferior_event): Ditto.
3507 * mips-tdep.c (mips_dump_tdep): Ditto.
3508 * infrun.c (resume): Ditto.
3509 * infptrace.c (child_resume): Ditto.
3510 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3511 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3512 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3513 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3514 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3515 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3516 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3517
df087c62
AC
35182001-03-20 Andrew Cagney <[email protected]>
3519
3520 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
3521 with internal_error.
3522
8bd1f2c6
JB
35232001-03-20 Jim Blandy <[email protected]>
3524
f34754ee
JB
3525 Fix from Dan Berlin:
3526
8bd1f2c6
JB
3527 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
3528 than asking for sym_class's type; that's circuitous. Remove
3529 sym_class, since the last use of it is gone.
3530
c97fe386
EZ
35312001-03-20 Eli Zaretskii <[email protected]>
3532
3533 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
3534 Correct the order of calls to ui_out_field_string and
3535 ui_out_list_begin when bs->old_val is NULL.
3536
486363b6
KB
35372001-03-19 Kevin Buettner <[email protected]>
3538
3539 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
3540 * configure: Regenerate.
3541 * config.in: Regenerate.
3542 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
3543
087bb2e2
KB
35442001-03-19 Kevin Buettner <[email protected]>
3545
3546 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
3547 same line to avoid problems with Unixware 7's make when building
3548 a cross debugger.
3549
3c37485b
AC
35502001-03-19 Andrew Cagney <[email protected]>
3551
3552 * defs.h (malloc): Move declaration from here.
3553 * utils.c (malloc): To here.
3554 * config/pa/xm-hppah.h (malloc): Delete declaration.
3555
3556 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
3557 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
3558 (hpread_quick_traverse): Ditto.
3559 * infttrace.c (create_thread_info): Ditto.
3560 (kill_inferior): Ditto.
3561 * gnu-nat.c (make_inf): Ditto, and don't check return value.
3562 * procfs.c (proc_update_threads): Ditto.
3563 * valprint.c (print_decimal_chars): Ditto.
3564 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
3565 malloc and sprintf.
3566 * remote-rdp.c (rdp_set_command_line): Ditto.
3567
0e52036f
AC
35682001-03-19 Andrew Cagney <[email protected]>
3569
3570 * defs.h (realloc): Move declaration from here.
3571 * utils.c (realloc): To here.
3572 * config/pa/xm-hppah.h (realloc): Delete declaration.
3573 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
3574 * symfile.c (add_filename_language): Ditto.
3575 * event-loop.c (create_file_handler): Ditto.
3576
81b8eb80
AC
35772001-03-19 Andrew Cagney <[email protected]>
3578
3579 * defs.h (free): Move declaration from here.
3580 * utils.c (free): To here.
3581 (xfree): Document as the only call to free().
3582 * config/pa/xm-hppah.h (free): Delete declaration.
3583
8cca004a
KB
35842001-03-19 Kevin Buettner <[email protected]>
3585
3586 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
3587 this list.
3588
cf4eee44
AC
35892001-03-19 Andrew Cagney <[email protected]>
3590
3591 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
3592 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
3593 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
3594
1c5b31ef
AC
35952001-03-19 Andrew Cagney <[email protected]>
3596
3597 * TODO: List known problems with TUI.
3598
3a0c66d4
AC
35992001-03-19 Andrew Cagney <[email protected]>
3600
3601 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
3602 gdb.hp).
3603
ce359b09
AC
36042001-03-19 Andrew Cagney <[email protected]>
3605
3606 * remote.c (remote_cisco_section_offsets): Do not cast result from
3607 bfd_get_section_name.
3608 (compare_sections_command): Ditto.
3609 (remote_cisco_section_offsets): Make ``p'' a const pointer.
3610 (compare_sections_command): Ditto for ``sectname''.
3611
0b3f98d3
AC
36122001-03-19 Andrew Cagney <[email protected]>
3613
3614 From Mon Nov 20 13:59:29 2000 Andrew Cagney <[email protected]>:
3615 * valops.c (hand_function_call): Simplify computation of the
3616 address of the pushed argument.
3617
7451d027
AC
36182001-03-17 Andrew Cagney <[email protected]>
3619
3620 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
3621 Code copied from c-exp.y.
3622
fb70ab0c
KB
36232001-03-18 Kevin Buettner <[email protected]>
3624
3625 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
3626 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
3627 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
3628 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
3629 of the Solaris procfs testing section. Instead, group with...
3630 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
3631 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
3632 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
3633 * configure: Regenerate.
3634 * config.in: Regenerate.
3635
3636 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
3637 new configure macros to choose which (if any) code to
3638 compile in. Added code to explicitly handle *BSD systems;
3639 these systems were previously handled only through macro
3640 redefinition. Also, due to the way the autoconf tests are set
3641 up, this function will no longer return a non-zero value when
3642 GDB is configured as a cross debugger. I.e, cross debuggers
3643 will no longer be able to "accidentally" get the host system's
3644 link map offsets.
3645
8aa16b78
KB
36462001-03-18 Kevin Buettner <[email protected]>
3647
3648 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
3649 line to avoid build problem on NetBSD 1.4.
3650
559e75c0
MC
36512001-03-17 Michael Chastain <[email protected]>
3652
3653 * win32-nat.c (child_attach): check args for NULL before passing
3654 to strtoul. This fixes PR gdb/43.
3655
fc338970
MK
36562001-03-17 Mark Kettenis <[email protected]>
3657
7daede3b
MK
3658 * i387-nat.h: Doc Fix.
3659
fc338970
MK
3660 * i386-tdep.c: Fix formatting.
3661 (i386_get_frame_setup, i386_follow_jump, codestream_read,
3662 codestream_seek, codestream_fill, skip_trampoline_code,
3663 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
3664 prototypoes.
3665
e3c6d36d
MK
36662001-03-17 Mark Kettenis <[email protected]>
3667
3668 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
3669 no longer used. Also remove associated FIXME.
3670
4a5c6a1d
AC
36712001-03-16 Andrew Cagney <[email protected]>
3672
3673 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
3674 not generate macro wrappers for multi-arch functions or
3675 predicates.
3676 (class_is_info_p, class_is_predicate_p): Update.
3677 (class_is_function_p, class_is_variable_p): Ditto.
3678 (class_is_multiarch_p): New class function.
3679
7256e1a5
C
36802001-03-16 J.T. Conklin <[email protected]>
3681
3682 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
3683 h8300_frame_args_address from frame_args_address.
3684 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
3685 from frame_locals_address.
3686 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
3687 from print_register_hook.
3688 (h8300_frame_args_address): Declare.
3689 (h8300_frame_find_saved_regs): Declare.
3690 (h8300_frame_locals_address): Declare.
3691 (h8300_frame_saved_pc): Declare.
3692 (h8300_pop_frame): Declare.
3693 (h8300_print_register_hook): Declare.
3694 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
3695 (h8300_frame_args_address): Renamed from frame_args_address.
3696 (h8300_frame_locals_address): Renamed from frame_locals_address.
3697 (h8300_pop_frame): Renamed from pop_frame.
3698 (h8300_print_register_hook): Renamed from print_register_hook.
3699
435b259c
KB
37002001-03-16 Kevin Buettner <[email protected]>
3701
3702 * solib-svr4.c (bfd_lookup_symbol): Change type of
3703 ``storage_needed'' from unsigned int to long in order to
3704 match return type of bfd_get_symtab_upper_bound() and
3705 bfd_get_dynamic_symtab_upper_bound().
3706 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
3707 REASONABLE_LIMIT hack which had been added to work around this
3708 problem.
3709
80117be2
KB
37102001-03-15 Kevin Buettner <[email protected]>
3711
3712 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
3713 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
3714 to free() with calls to xfree().
3715 (bfd_lookup_symbol): Eliminate use of PTR.
3716 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
3717
77cd5909
MH
37182001-03-15 Martin Hunt <[email protected]>
3719
3720 * linespec.c (decode_line_1): Remove trailing quote
3721 when parsing double quotes.
3722
f7f5a202
KB
37232001-03-15 Kevin Buettner <[email protected]>
3724
3725 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
3726 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
3727 argument in the to_xfer_memory calls.
3728
0d35ddba
AC
37292001-03-15 Andrew Cagney <[email protected]>
3730
3731 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
3732 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
3733
043780a1
AC
37342001-03-15 Andrew Cagney <[email protected]>
3735
3736 * wince.c (child_xfer_memory): Add attrib parameter.
3737 * symm-nat.c (child_xfer_memory): Ditto.
3738 * mac-nat.c (child_xfer_memory): Ditto.
3739 * infttrace.c (child_xfer_memory): Ditto.
3740 * procfs.c (procfs_xfer_memory): Ditto.
3741 * lin-thread.c (thread_db_xfer_memory): Ditto.
3742 * gnu-nat.c (gnu_xfer_memory): Ditto.
3743
9b9c068d
AC
37442001-03-14 Andrew Cagney <[email protected]>
3745
3746 * NEWS: Mention that Harris/CXUX m88k is obsolete.
3747
f88e2c52
AC
37482001-03-13 Andrew Cagney <[email protected]>
3749
3750 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
3751 to regcache functions.
3752 * config/m68k/tm-m68k.h: Ditto.
3753 * config/i386/tm-i386v.h: Ditto.
3754 * config/mcore/tm-mcore.h: Ditto.
3755 * config/m88k/tm-m88k.h: Ditto.
3756 * config/m68k/tm-news.h: Ditto.
3757 * config/m68k/tm-linux.h: Ditto.
3758 * config/m68k/tm-delta68.h: Ditto.
3759 * config/m68k/nm-sun3.h: Ditto.
3760 * config/m32r/tm-m32r.h: Ditto.
3761 * config/i386/tm-symmetry.h: Ditto.
3762 * config/i386/tm-sun386.h: Ditto.
3763 * config/i386/tm-i386.h: Ditto.
3764 * config/i386/nm-symmetry.h: Ditto.
3765 * config/i386/nm-sun386.h: Ditto.
3766 * config/i386/nm-ptx4.h: Ditto.
3767 * config/i386/nm-i386mach.h: Ditto.
3768 * config/h8500/tm-h8500.h: Ditto.
3769 * config/h8300/tm-h8300.h: Ditto.
3770 * config/fr30/tm-fr30.h: Ditto.
3771 * config/d30v/tm-d30v.h: Ditto.
3772 * config/arm/tm-arm.h: Ditto.
3773 * config/arc/tm-arc.h: Ditto.
3774 * config/alpha/tm-alpha.h: Ditto.
3775 * config/a29k/tm-vx29k.h: Ditto.
3776 * config/a29k/tm-a29k.h: Ditto.
3777 * config/w65/tm-w65.h: Ditto.
3778 * config/vax/tm-vax.h: Ditto.
3779 * config/v850/tm-v850.h: Ditto.
3780 * config/tic80/tm-tic80.h: Ditto.
3781 * config/sparc/tm-sparclite.h: Ditto.
3782 * config/sparc/tm-sparclet.h: Ditto.
3783 * config/sparc/tm-sparc.h: Ditto.
3784 * config/sparc/nm-sun4sol2.h: Ditto.
3785 * config/sparc/nm-sun4os4.h: Ditto.
3786 * config/sparc/nm-nbsd.h: Ditto.
3787 * config/powerpc/nm-solaris.h: Ditto.
3788 * config/pa/tm-hppao.h: Ditto.
3789 * config/pa/tm-hppa.h: Ditto.
3790 * config/pa/nm-hppab.h: Ditto.
3791 * config/ns32k/tm-umax.h: Ditto.
3792 * config/ns32k/tm-merlin.h: Ditto.
3793 * config/nm-m3.h: Ditto.
3794 * config/nm-gnu.h: Ditto.
3795
0981ead9
AC
37962001-03-14 Andrew Cagney <[email protected]>
3797
3798 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
3799 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
3800 Specify an m88k target. Include sample GAWK script to generate
3801 target list. Delete non-existant romp target.
3802 * TODO (GDB 5.1 - Cleanups): Update.
3803
91c1720e
KS
38042001-03-14 Keith Seitz <[email protected]>
3805
3806 * linespec.c (decode_line_1): Skip argptr over a leading
3807 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
3808
3cc122b3
KB
38092001-03-14 Kevin Buettner <[email protected]>
3810
3811 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
3812
5bb367b1
AC
38132001-03-13 Andrew Cagney <[email protected]>
3814
3815 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
3816 * m3-nat.c: Ditto.
3817 * p-lang.h: Ditto.
3818 * printcmd.c (printf_command): Ditto.
3819 * ch-exp.c (match_integer_literal): Ditto.
3820 * scm-tags.h: Ditto.
3821 * ser-go32.c: Ditto.
3822 * hppa-tdep.c (unwind_command): Ditto.
3823 * defs.h (volatile): Delete macro definition. Assume __STDC__.
3824 * remote-adapt.c (volatile): Ditto.
3825 * remote-eb.c (volatile): Ditto.
3826 * remote-mm.c (volatile): Ditto.
3827 * defs.h (alloca): Assume __STDC__, declare returning void *.
3828
a728f042
AC
38292001-03-08 Andrew Cagney <[email protected]>
3830
3831 * inferior.h (ARCH_NUM_REGS): Delete definition.
3832 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
3833 * regcache.c (registers_changed): Ditto.
3834 (registers_fetched): Ditto.
3835 * infptrace.c (fetch_inferior_registers): Ditto.
3836 (store_inferior_registers): Ditto.
3837 * infcmd.c (do_registers_info): Ditto.
3838 (registers_info): Ditto.
3839 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
3840 (old_store_inferior_registers): Ditto.
3841 * gdbserver/low-linux.c (register_addr): Ditto.
3842 * gdbserver/low-hppabsd.c (register_addr): Ditto.
3843 * core-aout.c: Don't include "inferior.h".
3844 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
3845 (register_addr): Ditto.
3846
f48ff60a
FN
38472001-03-13 Fernando Nasser <[email protected]>
3848
3849 From Steven Johnson <[email protected]>
3850 * cli/cli-script.c (define_command): Fix setting of post hooks.
3851
305d65ca
MK
38522001-03-13 Mark Kettenis <[email protected]>
3853
3854 * i386-linux-tdep.c: Fix formatting and clarify comments.
3855 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
3856 where appropriate.
3857
bf62e5b4
AC
38582001-03-12 Andrew Cagney <[email protected]>
3859
3860 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
3861 (proc_update_sc): Use gdb_assert instead of assert.
3862 (proc_abort): Ditto.
3863 (inf_set_step_thread): Ditto.
3864 (gnu_wait): Ditto.
3865 (S_exception_raise_request): Ditto.
3866 (gnu_terminal_init_inferior): Ditto.
3867
21479ded
KB
38682001-03-09 Kevin Buettner <[email protected]>
3869
3870 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
3871 (solib-legacy.o): New makefile target.
3872 * solib-legacy.c: New file.
3873 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
3874 (default_svr4_fetch_link_map_offsets): Delete.
3875 (set_solib_svr4_fetch_link_map_offsets): Declare.
3876 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
3877 * solib-svr4.c (elf/common.h): Include.
3878 (link.h): Only include for SunOS shared library support.
3879 (_SYSCALL32): Don't define.
3880 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
3881 (default_svr4_fetch_link_map_offsets): Made static; added forward
3882 declaration.
3883 (fetch_link_map_offsets): New static global.
3884 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
3885 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
3886 of what used to be in this function now reside in
3887 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
3888 (open_symbol_file_object): Fix declaration in SunOS section
3889 of the code.
3890 (set_solib_svr4_fetch_link_map_offsets): New extern function.
3891 (init_fetch_link_map_offsets): New static function.
3892 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
3893 under multiarch control.
3894
3895 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
3896 list.
3897 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
3898 * config/arm/linux.mt (TDEPFILES): Likewise.
3899 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3900 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
3901 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
3902 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
3903 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
3904 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
3905 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
3906 * config/i386/linux.mt (TDEPFILES): Likewise.
3907 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
3908 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3909 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
3910 * config/i386/ptx4.mh (XDEPFILES): Likewise.
3911 * config/i386/sun386.mt (TDEPFILES): Likewise.
3912 * config/ia64/linux.mt (TDEPFILES): Likewise.
3913 * config/m68k/linux.mt (TDEPFILES): Likewise.
3914 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
3915 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
3916 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
3917 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
3918 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
3919 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
3920 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
3921 * config/powerpc/linux.mt (TDEPFILES): Likewise.
3922 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
3923 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
3924 * config/sh/linux.mt (TDEPFILES): Likewise.
3925 * config/sparc/linux.mt (TDEPFILES): Likewise.
3926 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
3927 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
3928 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
3929 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
3930 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
3931
d7fa9de0
KB
39322001-03-09 Kevin Buettner <[email protected]>
3933
3934 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
3935
f8241bd1
AC
39362001-03-09 Andrew Cagney <[email protected]>
3937
3938 * MAINTAINERS (Write After Approval): Update Philip Blundell.
3939
e6b4b0c2
KS
39402001-03-09 Keith Seitz <[email protected]>
3941
3942 * MAINTAINERS: Add myself to write after approval list.
3943
96836138
MK
39442001-03-09 Mark Kettenis <[email protected]>
3945
3946 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
3947 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
3948
1b594327
AC
39492001-03-08 Andrew Cagney <[email protected]>
3950
3951 * configure.host (m88*-harris-cxux*): Mark as obsolete.
3952 * configure.tgt: Ditto.
3953 * config/m88k/xm-cxux.h: Ditto.
3954 * config/m88k/tm-cxux.h: Ditto.
3955 * config/m88k/nm-cxux.h: Ditto.
3956 * config/m88k/cxux.mt: Ditto.
3957 * config/m88k/cxux.mh: Ditto.
3958
4a32a1e4
AC
39592001-03-08 Andrew Cagney <[email protected]>
3960
3961 * Makefile.in: Delete rules for obsolete files.
3962
ec9a3449
DT
3963Thu Mar 8 15:43:40 2001 David Taylor <[email protected]>
3964
3965 * stack.c (parse_frame_specification): For one argument case,
3966 handle the situation where the argument is an integer, not an
3967 address -- arguably the most common case. This matters on
3968 targets where pointers and addresses are different.
3969
a50c34dc
AC
39702001-03-08 Andrew Cagney <[email protected]>
3971
3972 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
3973 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
3974 general.
3975
cfc046cf
AC
39762001-03-07 Andrew Cagney <[email protected]>
3977
3978 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
3979 with SID on Solaris 8.
3980
39424bef
MK
39812001-03-07 Mark Kettenis <[email protected]>
3982
3983 * defs.h: Provide prototypes for floatformat_is_negative,
3984 floatformat_is_nan and floatformat_mantissa.
3985 * utils.c: Include "gdb_assert.h".
3986 (floatformat_is_negative): New function.
3987 (floatformat_is_nan): New function.
3988 (floatformat_mantissa): New function.
3989 * valprint.c: Include "floatformat.h".
3990 (print_floating): Get rid of the Linux-specific
3991 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
3992 help these new functions. Print NaN's in a format conforming to
3993 ISO C99.
3994
7a1bd56a
EZ
39952001-03-07 Eli Zaretskii <[email protected]>
3996
3997 * top.c (init_main): Make `set history file name' complete on file
3998 names.
3999
5565b556
C
40002001-03-06 J.T. Conklin <[email protected]>
4001
21a12a30
C
4002 * Makefile.in (LINTFLAGS): Update to contain all of the macros
4003 which define include paths used when compiling.
4004
4005 * util.c (savestring, msavestring): Change type of length argument.
4006 * defs.h (savestring, msavestring): Update to match.
4007
5565b556
C
4008 * symtab.h (decode_line_1): Removed declaration.
4009
4010 * symfile.c (#include <assert.h>): Removed.
4011
4012 * arch-utils.c (#include <ctype.h>): Removed.
4013 * c-typeprint.c: Likewise.
4014 * dbxread.c: Likewise.
4015 * gdbtypes.c: Likewise.
4016 * target.c: Likewise.
4017 * os9kread.c: Likewise.
4018
4019 * c-valprint.c (#include "demangle.h"): Removed.
4020 * ch-typeprint.c: Likewise.
4021 * eval.c: Likewise.
4022 * f-typeprint.c: Likewise.
4023 * f-valprint.c: Likewise.
4024 * m2-typeprint.c: Likewise.
4025 * typeprint.c: Likewise.
4026 * p-typeprint.c: Likewise.
4027 * valarith.c: Likewise.
4028 * valprint.c: Likewise.
4029
4030 * m2-typeprint.c (#include "gdb_string.h"): Removed.
4031 * nlmread.c: Likewise.
4032
4033 * mdebugread.c (#include "gdb-stabs.h"): Removed.
4034 * minsyms.c: Likewise.
4035 * mipsread.c: Likewise.
4036 * nlmread.c: Likewise.
4037
4038 * m2-typeprint.c (#include "obstack.h"): Removed.
4039 * m2-valprint.c: Likewise.
4040
4041 * event-loop.c (#include <setjmp.h>): Removed.
4042
e8be95ae
SS
40432001-03-06 Stan Shebs <[email protected]>
4044
4045 * MAINTAINERS: Remove self from specific maintenance domains
4046 (macos, gdbserver, documentation, testsuite).
4047
b6ba6518
KB
40482001-03-06 Kevin Buettner <[email protected]>
4049
4050 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
4051 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
4052 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
4053 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
4054 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
4055 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
4056 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
4057 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
4058 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
4059 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
4060 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
4061 coff-solib.h, coffread.c, command.h, complaints.c,
4062 complaints.h, completer.c, completer.h,
4063 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
4064 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
4065 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
4066 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
4067 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
4068 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
4069 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
4070 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
4071 config/arm/nm-linux.h, config/arm/tm-arm.h,
4072 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
4073 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
4074 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
4075 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
4076 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
4077 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
4078 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
4079 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
4080 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
4081 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
4082 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
4083 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
4084 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
4085 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
4086 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
4087 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
4088 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
4089 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
4090 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
4091 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
4092 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
4093 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
4094 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
4095 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
4096 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
4097 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
4098 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
4099 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
4100 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
4101 config/i960/tm-i960.h, config/i960/tm-mon960.h,
4102 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
4103 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
4104 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
4105 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
4106 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
4107 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
4108 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
4109 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
4110 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
4111 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
4112 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
4113 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
4114 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
4115 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
4116 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
4117 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
4118 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
4119 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
4120 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
4121 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
4122 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
4123 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
4124 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
4125 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
4126 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
4127 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
4128 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
4129 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
4130 config/mips/nm-irix5.h, config/mips/nm-mips.h,
4131 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
4132 config/mips/tm-embed.h, config/mips/tm-embed64.h,
4133 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
4134 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
4135 config/mips/tm-mips.h, config/mips/tm-mips64.h,
4136 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
4137 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
4138 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
4139 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
4140 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
4141 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
4142 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
4143 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
4144 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
4145 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
4146 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
4147 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
4148 config/nm-sysv4.h, config/none/nm-none.h,
4149 config/none/tm-none.h, config/none/xm-none.h,
4150 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
4151 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
4152 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
4153 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
4154 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
4155 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
4156 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
4157 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
4158 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
4159 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
4160 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
4161 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
4162 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
4163 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
4164 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
4165 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
4166 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
4167 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
4168 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
4169 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
4170 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
4171 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
4172 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
4173 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
4174 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
4175 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
4176 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
4177 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
4178 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
4179 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
4180 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
4181 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
4182 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
4183 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
4184 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
4185 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
4186 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
4187 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
4188 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
4189 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
4190 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
4191 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
4192 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
4193 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
4194 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
4195 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
4196 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
4197 gdbserver/low-sim.c, gdbserver/low-sparc.c,
4198 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
4199 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
4200 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
4201 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
4202 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
4203 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
4204 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
4205 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
4206 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
4207 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
4208 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
4209 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
4210 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
4211 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
4212 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
4213 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
4214 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
4215 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
4216 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
4217 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
4218 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
4219 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
4220 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
4221 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
4222 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
4223 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
4224 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
4225 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
4226 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
4227 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
4228 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
4229 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
4230 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
4231 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
4232 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4233 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
4234 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
4235 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
4236 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
4237 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
4238 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
4239 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
4240 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
4241 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
4242 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
4243 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
4244 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
4245 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
4246 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
4247 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
4248 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
4249 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
4250 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
4251 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
4252 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
4253 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
4254 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
4255 notices.
4256
596c9d4b
KB
42572001-03-05 Kevin Buettner <[email protected]>
4258
4259 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
4260 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
4261 macros.
4262 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
4263 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
4264 (sys/fault.h, sys/select.h): Test for presence of these
4265 header files.
4266 (ia64-*-aix*): Define NEW_PROC_API for this host.
4267 * configure: Regenerate.
4268 * config.in: Regenerate.
4269
4270 * configure.host (ia64-*-aix*): New host.
4271 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 4272
eccbb20d
AC
42732001-03-05 Andrew Cagney <[email protected]>
4274
4275 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
4276
9ff2efe5
CF
4277Mon Mar 5 11:56:09 2001 Christopher Faylor <[email protected]>
4278
4279 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 4280 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 4281
58841d58
AC
42822001-03-04 Andrew Cagney <[email protected]>
4283
4284 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
4285 * ocd.c (ocd_xfer_memory): Ditto.
4286 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
4287 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
4288 buildable with ,-Werror.
4289
4290 * Makefile.in (symfile_h): Define.
4291 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
4292 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
4293 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
4294 ,-Werror.
4295
4296 * dsrec.c (make_srec): Fix internal_error fmt arg.
4297 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
4298
3cad1ac9
KB
42992001-03-03 Kevin Buettner <[email protected]>
4300
4301 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
4302 as an lvalue.
4303
b9fa2e73
AC
43042001-03-02 Andrew Cagney <[email protected]>
4305
130c39e6
AC
4306 * MAINTAINERS (paper trail): Update.
4307
b9fa2e73
AC
4308 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
4309
c53efe6e
AC
43102001-03-02 Andrew Cagney <[email protected]>
4311
4312 From 2001-03-01 Tom Rix <[email protected]>:
4313 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
4314 parameter to mn10200_analyze_prologue.
4315
4316 * config/mn10200/tm-mn10200.h: Include "regcache.h".
4317 * MAINTAINERS: Document that mn10200-elf target is buildable.
4318
52b5c2eb
KB
43192001-03-02 Kevin Buettner <[email protected]>
4320
4321 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
4322 from here...
4323 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
4324 (MONTEREY): Don't define.
4325 (AIX5): Define.
4326
2edb46b1
MH
43272001-03-02 Matt Hiller <[email protected]>
4328
4329 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
4330
92c71a3e
KB
43312001-03-02 Kevin Buettner <[email protected]>
4332
82a2886f 4333 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 4334
e2a4c6c1
C
43352001-03-01 J.T. Conklin <[email protected]>
4336
3a644c8d
C
4337 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
4338 if __CYGWIN32__ is set from here.
4339 * config/i386/xm-cygwin.h: To here.
4340 * config/powerpc/xm-cygwin.h: To here.
4341
e2a4c6c1
C
4342 * i386-stub.c (handle_exception): Use 'T' response packet.
4343
4b33390a
MS
43442001-03-01 Michael Snyder <[email protected]>
4345
4346 * m32r-tdep.c: Fix cut and paste error in comment.
4347
43482001-02-28 Michael Snyder <[email protected]>
4349
4350 * symtab.c (print_msymbol_info): Print addresses by portable method
4351 longest_local_hex_string_custom. Allow for 64-bit addresses.
4352
ba41d549
C
43532001-03-01 J.T. Conklin <[email protected]>
4354
4355 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
4356 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
4357 (MIN_OF_TYPE): Likewise.
4358
4359 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
4360
088d891f
AC
43612001-03-01 Andrew Cagney <[email protected]>
4362
4363 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
4364 * os9kread.c (os9k_process_one_symbol): Add assert to detect
4365 ``loses if sizeof (char *) > sizeof (int)''.
4366
38266776
AC
43672001-03-01 Andrew Cagney <[email protected]>
4368
4369 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
4370
2ad43c4f
AC
43712001-03-01 Andrew Cagney <[email protected]>
4372
4373 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
4374 lists.
4375 (mi-main.o): Ditto.
4376
367e21d8
AC
43772001-03-01 Andrew Cagney <[email protected]>
4378
4379 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
4380 dependency lists.
4381
d85310f7
MS
43822001-02-28 Michael Snyder <[email protected]>
4383
c0d8fd9a
MS
4384 * printcmd.c (print_address_numeric): Update comments to refer
4385 to sizeof addr, not sizeof pointer.
4386 (x_command): Remove needless whitespace (shorten long line).
4387
d85310f7
MS
4388 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
4389 (read_memory_nobpt): Ditto.
4390 (ep_is_catchpoint): Ditto.
4391 (ep_is_shlib_catchpoint): Ditto.
4392 (ep_is_exception_catchpoint): Ditto.
4393 (describe_other_breakpoints): Ditto.
4394
97900206
AC
4395Wed Feb 28 20:37:36 2001 Andrew Cagney <[email protected]>
4396
4397 * regcache.h (register_valid): Fix comment documenting valid
4398 states.
4399
4e052eda
AC
4400Tue Feb 27 23:56:23 2001 Andrew Cagney <[email protected]>
4401
4402 From Steven Johnson:
4403 * regcache.h: New file.
4404
4405 * value.h (read_register_bytes, read_register_gen)
4406 (write_register_gen, write_register_bytes)
4407 (read_register, read_register_pid)
4408 (read_signed_register, read_signed_register_pid)
4409 (write_register, write_register_pid)
4410 (register_cached, set_register_cached)
4411 (register_changed, register_buffer)
4412 (registers_changed, supply_register): Move declaration from here.
4413 * regcache.h: To here.
4414 * gdbcore.h (registers_fetched): Ditto.
4415 * inferior.h (registers, registers_valid): Ditto.
4416
4417 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
4418 generic_target_write_pc, write_pc_pid, write_pc,
4419 generic_target_read_sp, read_sp, generic_target_write_sp,
4420 write_sp, generic_target_read_fp, read_fp,
4421 generic_target_write_fp, write_fp): Add note that these functions
4422 will be moved from this file.
4423
4424 * a29k-tdep.c: Include "regcache.h".
4425 * a68v-nat.c: Ditto.
4426 * abug-rom.c: Ditto.
4427 * alpha-nat.c: Ditto.
4428 * alpha-tdep.c: Ditto.
4429 * alphabsd-nat.c: Ditto.
4430 * arc-tdep.c: Ditto.
4431 * arm-linux-nat.c: Ditto.
4432 * arm-linux-tdep.c: Ditto.
4433 * arm-tdep.c: Ditto.
4434 * blockframe.c: Ditto.
4435 * core-aout.c: Ditto.
4436 * core-sol2.c: Ditto.
4437 * corelow.c: Ditto.
4438 * cpu32bug-rom.c: Ditto.
4439 * cxux-nat.c: Ditto.
4440 * d10v-tdep.c: Ditto.
4441 * d30v-tdep.c: Ditto.
4442 * dbug-rom.c: Ditto.
4443 * dink32-rom.c: Ditto.
4444 * dve3900-rom.c: Ditto.
4445 * findvar.c: Ditto.
4446 * fr30-tdep.c: Ditto.
4447 * frame.c: Ditto.
4448 * go32-nat.c: Ditto.
4449 * h8300-tdep.c: Ditto.
4450 * h8500-tdep.c: Ditto.
4451 * hp300ux-nat.c: Ditto.
4452 * hppa-tdep.c: Ditto.
4453 * hppab-nat.c: Ditto.
4454 * hppah-nat.c: Ditto.
4455 * hppam3-nat.c: Ditto.
4456 * hpux-thread.c: Ditto.
4457 * i386-linux-nat.c: Ditto.
4458 * i386-linux-tdep.c: Ditto.
4459 * i386-tdep.c: Ditto.
4460 * i386aix-nat.c: Ditto.
4461 * i386b-nat.c: Ditto.
4462 * i386bsd-nat.c: Ditto.
4463 * i386gnu-nat.c: Ditto.
4464 * i386ly-tdep.c: Ditto.
4465 * i386m3-nat.c: Ditto.
4466 * i386mach-nat.c: Ditto.
4467 * i386nbsd-nat.c: Ditto.
4468 * i386v4-nat.c: Ditto.
4469 * i387-nat.c: Ditto.
4470 * i387-tdep.c: Ditto.
4471 * i960-tdep.c: Ditto.
4472 * ia64-aix-nat.c: Ditto.
4473 * ia64-linux-nat.c: Ditto.
4474 * ia64-tdep.c: Ditto.
4475 * infptrace.c: Ditto.
4476 * infrun.c: Ditto.
4477 * irix4-nat.c: Ditto.
4478 * irix5-nat.c: Ditto.
4479 * lin-lwp.c: Ditto.
4480 * lin-thread.c: Ditto.
4481 * lynx-nat.c: Ditto.
4482 * m3-nat.c: Ditto.
4483 * m32r-rom.c: Ditto.
4484 * m32r-tdep.c: Ditto.
4485 * m68hc11-tdep.c: Ditto.
4486 * m68k-tdep.c: Ditto.
4487 * m68klinux-nat.c: Ditto.
4488 * m68knbsd-nat.c: Ditto.
4489 * m68knbsd-tdep.c: Ditto.
4490 * m88k-nat.c: Ditto.
4491 * m88k-tdep.c: Ditto.
4492 * mac-nat.c: Ditto.
4493 * mcore-rom.c: Ditto.
4494 * mcore-tdep.c: Ditto.
4495 * mi/mi-main.c: Ditto.
4496 * mips-nat.c: Ditto.
4497 * mips-tdep.c: Ditto.
4498 * mipsm3-nat.c: Ditto.
4499 * mipsv4-nat.c: Ditto.
4500 * mn10200-tdep.c: Ditto.
4501 * mn10300-tdep.c: Ditto.
4502 * monitor.c: Ditto.
4503 * ns32km3-nat.c: Ditto.
4504 * ns32knbsd-nat.c: Ditto.
4505 * ocd.c: Ditto.
4506 * pa64solib.c: Ditto.
4507 * ppc-bdm.c: Ditto.
4508 * ppc-linux-nat.c: Ditto.
4509 * ppc-linux-tdep.c: Ditto.
4510 * ppcbug-rom.c: Ditto.
4511 * ppcnbsd-nat.c: Ditto.
4512 * ptx4-nat.c: Ditto.
4513 * regcache.c: Ditto.
4514 * remote-adapt.c: Ditto.
4515 * remote-array.c: Ditto.
4516 * remote-bug.c: Ditto.
4517 * remote-e7000.c: Ditto.
4518 * remote-eb.c: Ditto.
4519 * remote-es.c: Ditto.
4520 * remote-est.c: Ditto.
4521 * remote-hms.c: Ditto.
4522 * remote-mips.c: Ditto.
4523 * remote-mm.c: Ditto.
4524 * remote-nindy.c: Ditto.
4525 * remote-os9k.c: Ditto.
4526 * remote-rdi.c: Ditto.
4527 * remote-rdp.c: Ditto.
4528 * remote-sds.c: Ditto.
4529 * remote-sim.c: Ditto.
4530 * remote-st.c: Ditto.
4531 * remote-udi.c: Ditto.
4532 * remote-utils.c: Ditto.
4533 * remote-vx.c: Ditto.
4534 * remote-vx29k.c: Ditto.
4535 * remote-vx68.c: Ditto.
4536 * remote-vx960.c: Ditto.
4537 * remote-vxmips.c: Ditto.
4538 * remote-vxsparc.c: Ditto.
4539 * remote.c: Ditto.
4540 * rom68k-rom.c: Ditto.
4541 * rs6000-nat.c: Ditto.
4542 * rs6000-tdep.c: Ditto.
4543 * sh-tdep.c: Ditto.
4544 * sh3-rom.c: Ditto.
4545 * sol-thread.c: Ditto.
4546 * solib-svr4.c: Ditto.
4547 * somsolib.c: Ditto.
4548 * sparc-nat.c: Ditto.
4549 * sparc-tdep.c: Ditto.
4550 * sparcl-tdep.c: Ditto.
4551 * sparclet-rom.c: Ditto.
4552 * sun3-nat.c: Ditto.
4553 * sun386-nat.c: Ditto.
4554 * symm-nat.c: Ditto.
4555 * target.c: Ditto.
4556 * thread-db.c: Ditto.
4557 * thread.c: Ditto.
4558 * tic80-tdep.c: Ditto.
4559 * tracepoint.c: Ditto.
4560 * ultra3-nat.c: Ditto.
4561 * umax-xdep.c: Ditto.
4562 * uw-thread.c: Ditto.
4563 * v850-tdep.c: Ditto.
4564 * v850ice.c: Ditto.
4565 * valops.c: Ditto.
4566 * w65-tdep.c: Ditto.
4567 * w89k-rom.c: Ditto.
4568 * win32-nat.c: Ditto.
4569 * wince.c: Ditto.
4570 * z8k-tdep.c: Ditto.
4571
07d48ebc
MH
45722001-02-28 Matt Hiller <[email protected]>
4573
4574 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
4575
2edb46b1
MH
45762001-02-27 Matt Hiller <[email protected]>
4577
4578 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
4579 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
4580 mn10300_stab_reg_to_regnum.
4581
993f3aa5
DT
4582Tue Feb 27 16:56:13 2001 David Taylor <[email protected]>
4583
4584 * symtab.c (search_symbols): Fix off by one error in test for
4585 error.
4586
86168def
AC
45872001-02-23 Andrew Cagney <[email protected]>
4588
4589 * config/sparc/sp64linux.mt: New file.
4590 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
4591 * configure.host: Recognize sparc64-*-linux* as a linux host.
4592
4593 From 2000-03-17 Jakub Jelinek <[email protected]>:
4594 * config/sparc/tm-sp64linux.h: New file.
4595
e1e9e218
KB
45962001-02-24 Kevin Buettner <[email protected]>
4597
4598 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
4599 with call to internal_error().
4600 * dbxread.c (process_one_symbol): Likewise.
4601 * exec.c (build_section_table, xfer_memory): Likewise.
4602 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
4603 Likewise.
4604 * hpread.c (hpread_type_translate, hpread_read_array_type)
4605 (hpread_type_lookup): Likewise.
4606 * i386-tdep.c (gdb_print_insn_i386): Likewise.
4607 * i960-tdep.c (mem): Likewise
4608 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
4609 * infptrace.c (child_resume): Likewise.
4610 * infttrace.c (_initialize_infttrace): Likewise.
4611 * language.c (binop_result_type, add_language): Likewise.
4612 * lynx-nat.c (store_inferior_registers): Likewise.
4613 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
4614 * mdebugread.c (parse_partial_symbols): Likewise.
4615 * monitor.c (monitor_printf_noecho, monitor_printf)
4616 (monitor_dump_regs): Likewise.
4617 * ocd.c (stu_put_packet): Likewise.
4618 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
4619 * remote-bug.c (bug_open): Likewise.
4620 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
4621 * remote-es.c (es1800_read_bytes): Likewise.
4622 * remote-mips.c (common_breakpoint): Likewise.
4623 * remote-rdp.c (send_rdp): Likewise.
4624 * remote-sds.c (putmessage): Likewise.
4625 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
4626 Likewise.
4627 * sparcl-tdep.c (sparclite_download): Likewise.
4628 * symtab.c (lookup_partial_symbol): Likewise.
4629 * target.c (push_target, pop_target, initialize_targets): Likewise.
4630 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
4631 Likewise.
4632 * valprint.c (print_decimal, print_longest, print_longest)
4633 (strcat_longest): Likewise.
4634 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
4635 * xmodem.c (xmodem_send_packet): Likewise.
4636 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
4637 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
4638 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
4639 (STORE_RETURN_VALUE): Likewise.
4640 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
4641 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
4642 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
4643 Likewise.
4644
17fceda3
AC
46452001-02-23 Andrew Cagney <[email protected]>
4646
2126d5fb
AC
4647 * CONTRIBUTE: Document how to cite a problem report.
4648 * TODO: Note need to replace CONTRIBUTE with generated file.
4649
17fceda3
AC
4650 * CONTRIBUTE: Mention that patches do not need to include the
4651 generated files gdbarch.h and gdbarch.c.
4652
60edd51d
AC
46532001-02-21 Andrew Cagney <[email protected]>
4654
4655 * value.h (get_saved_register): Move from here.
4656 * frame.h: To here.
4657
d7fa2ae2
KB
46582001-02-21 Kevin Buettner <[email protected]>
4659
4660 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
4661 (in_solib_dynsym_resolve_code): Add declaration.
4662 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
4663 in_solib_dynsym_resolve_code() rather than
4664 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
4665 which caused this macro to only be defined when
4666 SVR4_SHARED_LIBS is defined.
4667 * solib.c (in_solib_dynsym_resolve_code): New function.
4668 * solist.h (struct target_so_ops): Add new member
4669 in_dynsym_resolve_code.
4670 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
4671 in_svr4_dynsym_resolve_code. Also, made static.
4672 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
4673 member in aix5_so_ops.
4674 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
4675 in_svr4_dynsym_resolve_code. Also, added second version
4676 of this function which will be used when SVR4_SHARED_LIBS
4677 is not defined.
4678 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
4679 member in svr4_so_ops.
4680
4681 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
4682 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
4683 config/ia64/xm-aix.h: New files.
4684 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
4685 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 4686 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
4687 sigcontext_register_address member of struct tdep when
4688 on target is detected to be running AIX.
4689 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
4690 this list.
4691
fbad0893
KB
46922001-02-20 Kevin Buettner <[email protected]>
4693
4694 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
4695 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
4696 for thread support instead of linux-thread.o and lin-thread.o.
4697 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
4698 ATTACH_LWP): Define to use the following lin-lwp.c functions...
4699 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
4700 lin_lwp_attach_lwp): Declare.
4701
1adad886
AC
47022001-02-20 Andrew Cagney <[email protected]>
4703
4704 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
4705 formatting.
4706
0579d647
KB
47072001-02-20 Kevin Buettner <[email protected]>
4708
4709 * solib-aix5.c (solib-svr4.h): Remove include.
4710 (solib_break_names): Delete names which aren't actually
4711 used by AIX5.
4712 (bkpt_names): Remove.
4713 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
4714 to STREQ() with equivalent calls to strcmp().
4715 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
4716 aix5_solib_create_inferior_hook): Revise comments.
4717 (enable_break): Remove old ``bkpt_names'' code.
4718
d65fe839
AC
47192001-02-19 Andrew Cagney <[email protected]>
4720
4721 * Makefile.in (SFILES): Add frame.c .
4722 (COMMON_OBS): Add frame.o .
4723 (frame.o): New target.
4724
4725 * frame.c (find_saved_register):
4726 (default_get_saved_register):
4727 (get_saved_register):
4728 (read_relative_register_raw_bytes_for_frame):
4729 (read_relative_register_raw_bytes): Moved to here.
4730 * regcache.c: From here.
4731
60cf7a85
KB
47322001-02-20 Kevin Buettner <[email protected]>
4733
4734 * solib-aix5.c: New file.
4735
291b7e04
MH
47362001-02-20 Martin M. Hunt <[email protected]>
4737
a43ad351
MH
4738 * solib.c (info_sharedlibrary_command): Don't assume pointers
4739 are the same size of long, call longest_local_hex_string_custom().
4740
58bc91c9
MH
4741 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
4742 extract_signed_integer() should be called instead of
4743 extract_address().
4744
47452001-02-20 Martin M. Hunt <[email protected]>
4746
291b7e04
MH
4747 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
4748
d02ee681
AC
47492001-02-19 Andrew Cagney <[email protected]>
4750
4751 Frm 2001-02-09 Jim Kingdon <[email protected]>:
4752 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
4753 then floating point registers are 8 bytes.
4754
a858089e
MS
47552001-02-19 Michael Snyder <[email protected]>
4756
4757 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
4758 accomodate 64-bit addresses.
4759
23cc649f
EZ
47602001-02-19 Elena Zannoni <[email protected]>
4761
4762 From Peter Schauer <[email protected]>
4763 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
4764 lookup_symbol, when trying to find a symbol with a mangled name,
4765 to avoid infinite recursion.
4766
0db23c95
AC
47672001-02-18 Andrew Cagney <[email protected]>
4768
4769 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
4770
911413e6
JL
47712001-02-19 Jonathan Larmour <[email protected]>
4772
4773 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
4774 (save_prologue_cache): Ditto.
4775
8d1de4b7
EZ
47762001-02-19 Elena Zannoni <[email protected]>
4777
4778 From: [email protected]:
4779 * partial-stab.h (switch): Check that pst is not null
4780 before dereferencing it.
4781
3017564a
EZ
47822001-02-19 Elena Zannoni <[email protected]>
4783
4784 From Andrew Cagney <[email protected]>:
4785 * symfile.c (add_symbol_file_command): Always initialize
4786 my_cleanup using a NULL cleanup.
4787
fa58ee11
EZ
47882001-02-19 Eli Zaretskii <[email protected]>
4789
4790 * demangle.c (demangling_style_names): New variable.
4791 (_initialize_demangler): Fill demangling_style_names with the
4792 names of known demangling styles from libiberty_demanglers[]. Use
4793 add_set_enum_cmd instead of add_set_cmd, to get completion on
4794 demangling style names.
4795
4796 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
4797 file-name completion.
4798
4799 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
4800
4801 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
4802 `solib-absolute-prefix'.
4803
4804 * tracepoint.c (_initialize_tracepoint): Ditto for
4805 `save-tracepoints'.
4806
4807 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
4808
4809 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
4810 file-name completion.
4811
4812 * infcmd.c (_initialize_infcmd): Make the following commands use
4813 the file-name completer: `tty', `args', `path', `paths', and
4814 `run'.
4815
7830cf6f
EZ
48162001-02-18 Eli Zaretskii <[email protected]>
4817
89dea5aa
EZ
4818 * go32-nat.c: Include i387-nat.h.
4819 (fetch_register): New function, uses some of the guts of
4820 go32_fetch_registers and calls i387_supply_register.
4821 (go32_fetch_registers): Most of the code moved into
4822 fetch_register. Use i387_supply_fsave.
4823 (store_register): Use i387_fill_fsave instead of custom code.
4824 (go32_store_registers): Use i387_fill_fsave.
4825
4826 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
4827
4828 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
4829
7830cf6f
EZ
4830 * completer.c (gdb_completer_file_name_break_characters): Remove
4831 slash from file-name break characters.
4832 [__MSDOS__]: Special definition for DOS/Windows file names.
4833 (line_completion_function): When completing on file names, bump
4834 `p' to the first file-name constituent character of `word', before
4835 invoking the completer.
4836
f31e928c
MK
48372001-02-17 Mark Kettenis <[email protected]>
4838
4839 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
4840 consistently for parameter names. Fix comments accordingly.
4841 (i387_supply_register): New function.
4842 (i387_supply_fsave): Implement using i387_supply_register.
4843 * i387-nat.h: Use regnum instead of regno consistently for
4844 parameter names. Fix comments accordingly.
4845 (i387_supply_register): New prototype.
4846
d696208f
MS
48472001-02-16 Michael Snyder <[email protected]>
4848
4849 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
4850 instead of TARGET_PTR_BIT (to support Harvard architectures).
4851
971429b4
AC
48522001-02-16 Andrew Cagney <[email protected]>
4853
4854 From 2001-02-11 Paul Hilfinger <[email protected]>
4855 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
4856 argument to parameter list and to call in order to conform to
4857 to_xfer_memory field of struct target_ops.
4858
9ca0e47c
MC
48592001-02-12 Michael Chastain <[email protected]>
4860
da7dd56f 4861 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
4862 section relocation feature of syms_from_objfile. Do my own
4863 section relocation, offsetting each section of the som by
4864 either text_addr - text_link_addr or data_start.
4865
7d65bd2d
AC
48662001-02-16 Andrew Cagney <[email protected]>
4867
4868 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
4869
e33e9692
AC
48702001-02-16 Andrew Cagney <[email protected]>
4871
4872 * MAINTAINERS (paper trail): Update.
4873
17dee195
MK
48742001-02-16 Mark Kettenis <[email protected]>
4875
4876 * target.h (target_fetch_registers): Fix comment.
4877
0f6e1ba6
AC
48782001-02-15 Andrew Cagney <[email protected]>
4879
4880 * f-exp.y: Include <ctype.h>.
4881 (parse_number): Ensure that ``i'' is always initialized.
4882
9a069618
JK
48832001-02-14 Jim Kingdon <[email protected]>
4884
4885 * MAINTAINERS: Add myself to paper trail section.
4886
fc24370e
MS
48872001-02-14 Michael Sokolov <[email protected]>
4888
4889 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
4890 * configure, config.in: Regenerate.
4891 * corelow.c: Include <sys/file.h> if present.
4892
4b69c284
AC
48932001-02-14 Andrew Cagney <[email protected]>
4894
4895 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
4896 declare when have SIGTTOU.
4897
7904f322
EZ
48982001-02-14 Eli Zaretskii <[email protected]>
4899
4900 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
4901
9e798668
JK
49022001-02-12 Jim Kingdon <[email protected]>
4903
4904 * MAINTAINERS: Update my email address.
4905
65d5a54a
EZ
49062001-02-11 Eli Zaretskii <[email protected]>
4907
4908 * NEWS: Document that "info symbol" works with COFF debug info and
4909 its variants.
4910
4911 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
4912 symbols whose SYMBOL_BFD_SECTION is NULL.
4913
0cff82d9 49142001-02-10 Peter Schauer <[email protected]>
a8079a9b
PS
4915
4916 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
4917 * xcoffsolib.c (xcoff_solib_address): Renamed from
4918 pc_load_segment_name. Return NULL if address is not in a shared
4919 library. Cleanup shared library name construction, using xasprintf.
4920 Format shared library member names consistent with format in exec.c.
4921 (solib_info): Format shared library member names consistent with
4922 format in exec.c.
4923 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
4924 using xcoff_solib_address for PC_SOLIB definition.
4925 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
4926 needed.
4927
0cff82d9 49282001-02-10 Peter Schauer <[email protected]>
4b2e4867
PS
4929
4930 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
4931 with xmalloc calls and cleanups.
4932
0cff82d9 49332001-02-10 Peter Schauer <[email protected]>
d737ece6
PS
4934
4935 * rs6000-nat.c (child_xfer_memory): Add missing parameter
4936 'struct mem_attrib *' required by 2001-01-23 change.
4937
c5bb1243
JK
49382001-02-08 Jim Kingdon <[email protected]>
4939
4940 Updates to "make TAGS":
4941 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
4942 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
4943 tahoe-tdep.c.
4944 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
4945
c799ae7b
EZ
49462001-02-08 Eli Zaretskii <[email protected]>
4947
4948 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
4949
12685e01
AC
4950Wed Feb 7 22:39:26 2001 Andrew Cagney <[email protected]>
4951
4952 From Dean Luick <[email protected]>:
4953 * defs.h (continuation): Remove unused global variable.
4954
7fcca85b
AC
4955Wed Feb 7 22:28:31 2001 Andrew Cagney <[email protected]>
4956
4957 * configure.tgt: Remove references to convex, pyramid, altos and
4958 tahoe.
4959 * configure.host: Ditto.
4960 * MAINTAINERS: Ditto.
4961 * NEWS: Update.
4962
4963 * tahoe-tdep.c: Delete obsolete file.
4964 * pyr-xdep.c: Ditto.
4965 * pyr-tdep.c: Ditto.
4966 * convex-tdep.c: Ditto.
4967 * convex-xdep.c: Ditto.
4968 * config/tahoe/xm-tahoe.h: Ditto.
4969 * config/tahoe/tm-tahoe.h: Ditto.
4970 * config/tahoe/tahoe.mt: Ditto.
4971 * config/tahoe/tahoe.mh: Ditto.
4972 * config/pyr/xm-pyr.h: Ditto.
4973 * config/pyr/tm-pyr.h: Ditto.
4974 * config/pyr/pyramid.mt: Ditto.
4975 * config/pyr/pyramid.mh: Ditto.
4976 * config/m68k/xm-altos.h: Ditto.
4977 * config/m68k/tm-altos.h: Ditto.
4978 * config/m68k/altos.mt: Ditto.
4979 * config/m68k/altos.mh: Ditto.
4980 * config/convex/xm-convex.h: Ditto.
4981 * config/convex/tm-convex.h: Ditto.
4982 * config/convex/convex.mt: Ditto.
4983 * config/convex/convex.mh: Ditto.
4984 * config/convex/Convex.notes: Ditto.
4985 * config/arm/xm-arm.h: Ditto.
4986 * config/arm/nm-arm.h: Ditto.
4987 * config/arm/arm.mt: Ditto.
4988 * config/arm/arm.mh: Ditto.
4989 * arm-convert.s: Ditto.
4990 * arm-xdep.c: Ditto.
4991 * altos-xdep.c: Ditto.
4992
8e65ff28
AC
4993Wed Feb 7 19:41:21 2001 Andrew Cagney <[email protected]>
4994
4995 * defs.h (internal_error, internal_verror): Add __FILE__ and
4996 __LINE__ parameter.
4997 * utils.c (internal_error, internal_verror): Update.
4998
4999 * v850-tdep.c: Update calls to internal_error.
5000 * utils.c: Ditto.
5001 * ui-out.c: Ditto.
5002 * ui-file.c: Ditto.
5003 * target.h: Ditto.
5004 * symtab.h: Ditto.
5005 * symm-nat.c: Ditto.
5006 * sparc-tdep.c: Ditto.
5007 * source.c: Ditto.
5008 * serial.c: Ditto.
5009 * rs6000-tdep.c: Ditto.
5010 * rs6000-nat.c: Ditto.
5011 * remote.c: Ditto.
5012 * remote-vx.c: Ditto.
5013 * remote-sim.c: Ditto.
5014 * remote-mips.c: Ditto.
5015 * regcache.c: Ditto.
5016 * objfiles.h: Ditto.
5017 * objfiles.c: Ditto.
5018 * mn10300-tdep.c: Ditto.
5019 * mips-tdep.c: Ditto.
5020 * maint.c: Ditto.
5021 * m68k-tdep.c: Ditto.
5022 * m3-nat.c: Ditto.
5023 * language.c: Ditto.
5024 * infptrace.c: Ditto.
5025 * inferior.h: Ditto.
5026 * infcmd.c: Ditto.
5027 * ia64-tdep.c: Ditto.
5028 * i386-tdep.c: Ditto.
5029 * i386-linux-nat.c: Ditto.
5030 * hppah-nat.c: Ditto.
5031 * go32-nat.c: Ditto.
5032 * findvar.c: Ditto.
5033 * f-lang.c: Ditto.
5034 * elfread.c: Ditto.
5035 * event-loop.c: Ditto.
5036 * dwarf2read.c: Ditto.
5037 * dsrec.c: Ditto.
5038 * d30v-tdep.c: Ditto.
5039 * d10v-tdep.c: Ditto.
5040 * cli/cli-setshow.c: Ditto.
5041 * cli/cli-script.c: Ditto.
5042 * ch-exp.c: Ditto.
5043 * breakpoint.c: Ditto.
5044 * ax-gdb.c: Ditto.
5045 * arch-utils.c: Ditto.
5046 * a29k-tdep.c: Ditto.
5047 * gdb_assert.h: Ditto.
5048 * gdbarch.sh: Ditto.
5049 * gdbarch.h, gdbarch.c: Re-generate.
5050
72290732
AC
50512001-02-07 Andrew Cagney <[email protected]>
5052
5053 From Mark Kettenis <[email protected]>:
5054 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
5055
a6da1910
AC
50562001-02-07 Andrew Cagney <[email protected]>
5057
5058 * remote-sim.c (dump_mem): Cleanup printf format argument.
5059 * MAINTAINERS: Update, mn10300-elf now builds.
5060
153f9905
MK
50612001-02-07 Mark Kettenis <[email protected]>
5062
5063 * event-top.c: Remove duplicate #include <signal.h>.
5064
f042532c
AC
50652001-02-06 Andrew Cagney <[email protected]>
5066
5067 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
5068 allocated buffer.
5069 (save_inferior_pid): Restore the PID from that tempoary
5070 buffer. Delete the buffer.
5071 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
5072
58cfabe6
AC
50732001-02-06 Andrew Cagney <[email protected]>
5074
5075 * MAINTAINERS: Add ``The Obvious Fix Rule''.
5076
ea8a41b8
AC
50772001-02-06 Andrew Cagney <[email protected]>
5078
5079 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
5080
95160752
AC
50812001-02-06 Andrew Cagney <[email protected]>
5082
5083 * gdbarch.sh: Include "gdb_assert.h".
5084 (struct gdbarch): Change ``nr_data'' to unsigned.
5085 (alloc_gdbarch_data, free_gdbarch_data): New functions.
5086 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
5087 architecture vector.
5088 (struct gdbarch_data, struct gdbarch_data_registration): Move init
5089 method to gdbarch_data. Add free method, make index unsigned.
5090 (struct gdbarch_data_registry): Make nr unsigned.
5091 (register_gdbarch_data): Add free parameter. Store in
5092 gdbarch_data.
5093 (init_gdbarch_data): Use set_gdbarch_data.
5094 (set_gdbarch_data): New function.
5095
5096 * gdbarch.h, gdbarch.c: Re-generate.
5097
64122a8b
MS
50982001-02-06 Michael Sokolov <[email protected]>
5099
5100 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
5101 fprintf_filtered with correct arguments.
5102
e6cbd02a
MS
51032001-02-06 Michael Snyder <[email protected]>
5104 Submitted by Paul Hilfinger ([email protected])
5105 and Andrei Petrov ([email protected]).
5106 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
5107 must be allocated dynamically, since these are no longer constants.
5108 * infcmd.c: Ditto.
5109 * regcache.c: Ditto.
5110 * remote.c: Ditto.
5111 * sol-thread.c: Ditto.
5112 * valops.c: Ditto.
5113 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
5114 work-around for a missing Sun header file in solaris for sparc64.
5115
713f0374
PB
51162001-02-04 Philip Blundell <[email protected]>
5117
5118 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
5119 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
5120 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
5121 GET_THREAD_SIGNALS): Define.
5122 * arm-linux-nat.c (fill_gregset): Correct type of argument.
5123 (supply_gregset): Likewise.
5124 (fill_fpregset): Likewise.
5125 (supply_fpregset): Likewise.
5126
4603e466
DT
5127Tue Feb 6 11:58:57 2001 David Taylor <[email protected]>
5128
5129 * valops.c (value_cast): If casting a scalar to a pointer, do not
5130 issue a message about truncation unless it exceeds the length of
5131 an address, not the length of a pointer. This is because what the
5132 user gives us is an address, not a pointer, and we will ultimately
5133 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
5134 to a pointer. This allows things like "print *(int *)0x01000234"
5135 to work without generating a misleading message on a target having
5136 two byte pointers and four byte addresses.
5137
554cb486
CF
51382001-02-05 Christopher Faylor <[email protected]>
5139
5140 * win32-nat.c: Change PTR to void * throughout.
5141
042be3a9
C
51422001-02-05 J.T. Conklin <[email protected]>
5143
5144 * signals.h: Removed.
5145 * event-top.c (#include <signal.h>): Changed from signals.h.
5146 * inflow.c: Likewise.
5147 * mac-xdep.c: Likewise.
5148 * ser-pipe.c: Likewise.
5149 * ser-tcp.c: Likewise.
5150 * standalone.c: Likewise.
5151 * top.c: Likewise.
5152 * utils.c: Likewise.
5153 * Makefile.in: Removed signals.h from dependencies.
5154
a4acd088
CF
51552001-02-05 Christopher Faylor <[email protected]>
5156
5157 Change suggested by Dean Luick <[email protected]>
5158 * inferior.h (step_over_calls_kind): Remove trailing comma from
5159 last enum element.
5160 (step_over_calls): Declare as extern rather than global.
5161
3116c80a
EZ
51622001-02-05 Elena Zannoni <[email protected]>
5163
5164 * sh-tdep.c: Update copyright.
5165 (sh_extract_return_value): Rewrite.
5166 (sh3e_sh4_extract_return_value): New function.
5167 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
5168 version of the function for sh3e and sh4 CPUs.
5169
240be855
MC
51702001-02-05 Michael Chastain <[email protected]>
5171
5172 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
5173 to conform with interface change.
5174
a17b5c4e
EZ
51752001-02-04 Eli Zaretskii <[email protected]>
5176
32fe0950
EZ
5177 * config/djgpp/fnchange.lst: Tweak to make consistent with the
5178 new files.
5179
619cbaf7
EZ
5180 * config/djgpp/djconfig.sh: Use explicit absolute file name when
5181 invoking `find'.
5182
cd42d3a8
EZ
5183 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
5184 UART_FIFO_WORKS is defined. Otherwise use outportb.
5185 From Francisco Pastor <[email protected]>
5186
a17b5c4e
EZ
5187 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
5188 with target.h's `to_xfer_memory' member.
5189
86ddecc5
C
51902001-02-02 J.T. Conklin <[email protected]>
5191
5192 * ppc-bdm.c (#include <signal.h>): Removed.
5193 * remote-array.c: Likewise.
5194 * remote-bug.c: Likewise.
5195 * remote-e7000.c: Likewise.
5196 * remote-mips.c: Likewise.
5197 * remote-os9k.c: Likewise.
5198 * remote-st.c: Likewise.
5199 * remote-udi.c: Likewise.
5200 * remote-vx29k.c: Likewise.
5201 * remote-vx68.c: Likewise.
5202 * remote-vx960.c: Likewise.
5203 * remote-vxmips.c: Likewise.
5204 * remote-vxsparc.c: Likewise.
5205
338d7c5c
JM
52062001-02-02 John Moore <[email protected]>
5207
5208 * remote-utils.h (sr_set_device): Changed free() to xfree() where
5209 appropriate. Also changed Copyright to include 2001.
5210 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
5211 * value.h (value_free): Likewise.
5212 * gdbarch.sh (gdbarch_free): Likewise.
5213 * gdbarch.c, gdbarch.h: Regenerated.
5214
2b5436af
JM
52152001-02-02 John Moore <[email protected]>
5216
5217 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 5218 xfree(). Also changed Copyright to include 2001.
2b5436af 5219
82467003
C
52202001-02-02 J.T. Conklin <[email protected]>
5221
5222 * monitor.c (#include "gdb_wait.h"): Removed.
5223 * ocd.c: Likewise.
5224 * ppc-bdm.c: Likewise.
5225 * remote-adapt.c: Likewise.
5226 * remote-array.c: Likewise.
5227 * remote-bug.c: Likewise.
5228 * remote-e7000.c: Likewise.
5229 * remote-eb.c: Likewise.
5230 * remote-es.c: Likewise.
5231 * remote-mips.c: Likewise.
5232 * remote-mm.c: Likewise.
5233 * remote-nindy.c: Likewise.
5234 * remote-os9k.c: Likewise.
5235 * remote-rdi.c: Likewise.
5236 * remote-rdp.c: Likewise.
5237 * remote-sds.c: Likewise.
5238 * remote-sim.c: Likewise.
5239 * remote-st.c: Likewise.
5240 * remote-udi.c: Likewise.
5241 * remote-vx.c: Likewise.
5242 * remote-vx29k.c: Likewise.
5243 * remote-vx68.c: Likewise.
5244 * remote-vx960.c: Likewise.
5245 * remote-vxmips.c: Likewise.
5246 * remote-vxsparc.c: Likewise.
5247 * remote.c: Likewise.
5248 * ser-pipe.c: Likewise.
5249 * ser-unix.c: Likewise.
5250 * Makefile.in: Updated dependencies.
5251
27b82ed2
DS
52522001-01-31 David Smith <[email protected]>
5253
5254 * event-loop.c: Change inclusion of string.h to gdb_string.h and
5255 updated the copyright notice.
5256 * ser-pipe.c: Ditto.
5257 * mi/mi-cmds.c: Ditto.
5258 * mi/mi-console.c: Ditto.
5259 * mi/mi-getopt.c: Ditto.
5260 * mi/mi-parse.c: Ditto.
5261
ab9cc815
DS
52622001-01-31 David Smith <[email protected]>
5263
5264 * MAINTAINERS: Add David Smith to Write After Approval list.
5265
d1f4cff8
AC
5266Tue Jan 30 15:43:08 2001 Andrew Cagney <[email protected]>
5267
5268 * cli/cli-utils.c (putchar_filtered): Move function from here.
5269 * utils.c (putchar_filtered): To here.
5270 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
5271 * defs.h (putchar_filtered): To here.
5272
74c1b268
AC
5273Tue Jan 30 17:27:11 2001 Andrew Cagney <[email protected]>
5274
5275 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
5276 AC_FUNC_VFORK macro.
5277 * config.in, configure: Re-generate.
5278
5279 * gdb_vfork.h: New file.
5280 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
5281 * fork-child.c (fork_inferior): Ditto.
5282
4fcf66da
AC
5283Tue Jan 30 17:09:07 2001 Andrew Cagney <[email protected]>
5284
5285 * defs.h (strsave): Delete declaration.
5286 * utils.c (strsave): Delete definition.
5287 * TODO (strsave): Update
5288
5289 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
5290 * sparcl-tdep.c (sparclite_open): Ditto.
5291 * mips-tdep.c (mips_set_processor_type_command): Ditto.
5292 (_initialize_mips_tdep): Ditto.
5293 * solib.c (solib_open): Ditto.
5294 * symfile.c (add_filename_language): Ditto.
5295 (set_ext_lang_command): Ditto.
5296 * source.c (init_source_path): Ditto.
5297 (mod_path): Ditto.
5298 * sh3-rom.c (sh3_open): Ditto.
5299 (sh3e_open): Ditto.
5300 * serial.c (serial_open): Ditto.
5301 * remote-mips.c (common_open): Ditto.
5302 * monitor.c (monitor_open): Ditto.
5303 * m32r-rom.c (m32r_upload_command): Ditto.
5304 * infcmd.c (path_command): Ditto.
5305 * f-exp.y (parse_number): Ditto.
5306 * breakpoint.c (create_longjmp_breakpoint): Ditto.
5307 (create_thread_event_breakpoint): Ditto.
5308 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
5309 (_initialize_arc_tdep): Ditto.
5310
e191e0ab
AC
5311Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
5312
5313 * cli/cli-script.c (define_command): Check for a bad hook value in
5314 switch statement.
5315
10214f55
C
53162001-01-30 J.T. Conklin <[email protected]>
5317
5318 * configure/sh/embed.mt: New file.
5319 * configure/sh/linux.mt: New file.
5320 * configure/sh/sh.mt: Removed.
5321 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
5322 (sh-*-*): Removed.
5323
c9049fc9
MC
53242001-01-29 Michael Chastain <[email protected]>
5325
5326 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
5327 symbol comparisons in binary search.
5328
0cff82d9 53292001-01-27 Christopher Faylor <[email protected]>
aea02b6b
CF
5330
5331 * win32-nat.c (child_xfer_memory): Add missing argument required by
5332 2001-01-23 change.
5333
e6e0bfab
MK
53342001-01-27 Mark Kettenis <[email protected]>
5335
5336 * ui-out.c (do_list_end): New function.
5337 (make_cleanup_ui_out_list_end): New function.
5338 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
5339 * stack.c (print_frame) [UI_OUT]: Call
5340 make_cleanup_ui_out_list_end to make sure we mark the end of the
5341 list if we do a non-local exit. At the end of the function,
5342 instead of calling ui_out_list_end directly, let do_cleanups
5343 handle it.
5344
1adeb98a
FN
53452001-01-26 Fernando Nasser <[email protected]>
5346
5347 Fix double parsing of filenames passed as command line arguments
5348 to GDB (causes weird handling of escape characters).
5349 Also, remove dependencies on the CLI from libgdb.
5350 * call-cmds.h: Remove declaration of exec_file_command().
5351 * gdbcore.h: Remove declaration of exec_file_command().
5352 Add declarations for exec_open() and exec_file_clear().
5353 * symfile.h: Add declarations for symbol_file_add_main() and
5354 symbol_file_clear().
5355 * exec.c (exec_open): New function. Implements to_open for exec
5356 targets.
5357 (exec_file_clear): New function. Makes GDB forget about a previously
5358 specified executable file.
5359 (exec_file_attach): Move parsing of arguments from here ...
5360 (exec_file_command): ... to here.
5361 (init_exec_ops): Use exec_open(), not exec_file_command() to
5362 implement to_open for exec targets.
5363 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
5364 with default values. Used when the file name has already been parsed.
5365 (symbol_file_clear): New function. Makes GDB forget about previously
5366 read symbols.
5367 (symbol_file_command): Call the above function instead of inline code.
5368 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
5369 "call-cmds.h".
5370 (captured_main): Call exec_file_attach() and symbol_file_add_main()
5371 instead of exec_file_command() and symbol_file_command().
5372 (captured_main): Add comment.
5373 * corefile.c: Include "symfile.h".
5374 (core_file_command): Call symbol_file_add_main() instead of
5375 symbol_file_command().
5376 (reopen_exec_file): Call exec_open() instead of exec_file_command().
5377 * infcmd.c: Include "symfile.h".
5378 (attach_command): Call symbol_file_add_main() instead of
5379 symbol_file_command().
5380 * infrun.c: Remove comment about the inclusion of "symfile.h",
5381 not any longer appropriate.
5382 (follow_exec): Call symbol_file_add_main() instead of
5383 symbol_file_command().
5384 * remote-es.c: Include "symfile.h".
5385 (es1800_load): Call symbol_file_add_main() instead of
5386 symbol_file_command().
5387 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
5388 not any longer appropriate.
5389 (vx-wait): Call symbol_file_add_main() instead of
5390 symbol_file_command().
5391 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
5392 instead of symbol_file_command().
5393 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
5394 symbol_file_add_main() instead of exec_file_command() and
5395 symbol_file_command().
5396 * Makefile.in: Update dependencies.
5397
5b616ba1
JH
53982001-01-26 Jeff Holcomb <[email protected]>
5399
5400 * remote-udi.c (udi_open): Change strdup to xstrdup.
5401 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
5402 Update copyright message.
5403 * varobj.c (delete_variable_1): Likewise.
5404
5405 * gdb_string.h: Remove declaration of strdup. Update copyright
5406 message.
5407 * config/xm-mpw.h: Likewise.
5408 * config/i386/xm-i386mach.h: Likewise.
5409 * config/m68k/xm-apollo68b.h: Likewise.
5410 * config/m68k/xm-hp300bsd.h: Likewise.
5411 * config/rs6000/xm-rs6000.h: Likewise.
5412 * config/vax/xm-vaxult.h: Remove declaration of strdup.
5413 * config/vax/xm-vaxult2.h: Likewise.
5414
b91d87cf
JH
54152001-01-26 Jeff Holcomb <[email protected]>
5416
5417 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
5418
873406a6
C
54192001-01-25 J.T. Conklin <[email protected]>
5420
5421 * target.c (target_xfer_memory_partial): Return -1 on failure due
5422 to invalid access mode attribute.
5423
0613c401
CF
54242001-01-25 Christopher Faylor <[email protected]>
5425
5426 * win32-nat.c (_initialize_core_win32): Prototype correctly.
5427
efd59e3f
MK
54282001-01-25 Mark Kettenis <[email protected]>
5429
5430 * config/alpha/tm-fbsd.h: Update copyright.
5431 (USE_STRUCT_CONVENTION): Define in terms of
5432 alphabsd_use_struct_convention.
5433 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
5434 * alphafbsd-tdep.c: New file.
5435
388e1ff2
FN
54362001-01-24 Fernando Nasser <[email protected]>
5437
5438 * top.c (print_gdb_version): Update Copyright year.
5439
f4d650ec
C
54402001-01-24 J.T. Conklin <[email protected]>
5441
5442 * dcache.c (dcache_write_line): Fix typo.
5443
5444 * memattr.c (delete_mem_region): Replace free() with xfree().
5445 (mem_number): Add explicit type.
5446
5447 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
5448 (rw_common): Likewise.
5449
07091751
FN
54502001-01-24 Fernando Nasser <[email protected]>
5451
5452 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
5453 for the inferior program arguments.
5454 (run_command, run_no_args_command, init_infcmd)): Use accessor
5455 functions to set the inferior program arguments.
5456 * inferior.h: Add definitions to the accessor functions above.
5457
090c42a4
JB
54582001-01-23 Jim Blandy <[email protected]>
5459
5460 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
5461 Implement these correctly, using make_cv_type.
5462
f29d9b6d 54632001-01-23 J.T. Conklin <[email protected]>
29e57380
C
5464
5465 * exec.c (xfer_memory): Add attrib argument.
5466 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 5467 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
5468 * monitor.c (monitor_xfer_memory): Likewise.
5469 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
5470 * remote-array.c (array_xfer_memory): Likewise.
5471 * remote-bug.c (bug_xfer_memory): Likewise.
5472 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
5473 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
5474 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
5475 * remote-mips.c (mips_xfer_memory): Likewise.
5476 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
5477 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
5478 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
5479 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
5480 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
5481 * remote-sds.c (sds_xfer_memory): Likewise.
5482 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
5483 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
5484 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
5485 * remote-vx.c (vx_xfer_memory): Likewise.
5486 * remote.c (remote_xfer_memory): Likewise.
5487 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
5488 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 5489 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
5490
5491 * target.h (#include "memattr.h"): Added.
5492 (target_ops.to_xfer_memory): Add attrib argument.
5493
5494 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
5495 * dcache.h (set_dcache_state): Removed declaration.
5496 * dcache.c (set_dcache_state): Removed definition
5497
5498 * dcache.c: Update module comment, as dcache is now enabled and
5499 disabled with memory region attributes instead of by the global
5500 variable "remotecache". Add comment describing the interaction
5501 between dcache and memory region attributes.
5502 (dcache_xfer_memory): Add comment describing benefits of moving
5503 cache writeback to a higher level.
5504 (dcache_struct): Removed cache_has_stuff field. This was used to
5505 record whether the cache had been accessed in order to invalidate
5506 it when it was disabled. However, this is not needed because the
5507 cache is write through and the code that enables, disables, and
5508 deletes memory regions invalidate the cache. Add comment which
5509 suggests that we could be more selective and only invalidate those
5510 cache lines containing data from those memory regions.
5511 (dcache_invalidate): Updated.
5512 (dcache_xfer_memory): Updated.
f29d9b6d 5513
29e57380
C
5514 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
5515 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
5516 perform a uncached transfer if dcache_enabled_p was clear. This
5517 function is now only called if caching is enabled for the memory
5518 region.
5519 (dcache_info): Always print cache info.
5520
5521 * target.c (do_xfer_memory): Add attrib argument.
5522 (target_xfer_memory, target_xfer_memory_partial): Break transfer
5523 into chunks defined by memory regions, pass region attributes to
5524 do_xfer_memory().
5525 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
5526
5527 * Makefile.in (SFILES): Add memattr.c.
5528 (COMMON_OBS): Add memattr.o.
5529 (dcache.o): Add target.h to dependencies.
5530 * memattr.c: New file.
5531 * memattr.h: Likewise.
5532
f29d9b6d
C
5533 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
5534 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
5535 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
5536 * gdbserver/low-sim.c (#include "defs.h"): Removed.
5537 (mygeneric_load): Rename from generic_load.
5538
5539 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
5540 (#include "defs.h"): Removed.
5541 (inferior_pid, perror_with_name): Remove declarations.
5542 * gdbserver/low-linux.c: Likewise.
5543 * gdbserver/low-nbsd.c: Likewise.
5544 * gdbserver/low-sparc.c: Likewise.
5545 * gdbserver/low-sun3.c: Likewise.
5546
5547 * i386-stub.c: Re-indent.
5548 * m68k-stub.c: Re-indent.
5549
58d5518e
ND
55502001-01-22 Nicholas Duffek <[email protected]>
5551
5552 * gdbarch.sh (PARM_BOUNDARY): Define.
5553 * gdbarch.c: Regenerate.
5554 * gdbarch.h: Regenerate.
5555
f6427ade
C
55562001-01-22 J.T. Conklin <[email protected]>
5557
5558 * ns32k-tdep.c: #include "frame.h"
5559 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
5560 appears to have been inadvertantly removed sometime in May 1999.
5561
5562 * Revert 2000-11-09 changes where shared library objects were
5563 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
5564 we'd like to be able to debug dynamically linked executables,
5565 this makes it impossible to build a cross debugger on a many
5566 hosts.
5567
5568 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
5569 * config/i386/nbsdelf.mt: Likewise.
5570 * config/m68k/nbsd.mt: Likewise.
5571 * config/ns32k/nbsd.mt: Likewise.
5572 * config/powerpc/nbsd.mt: Likewise.
5573 * config/sparc/nbsd.mt: Likewise.
5574 * config/sparc/nbsdelf.mt: Likewise.
5575 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
5576 * config/i386/nbsdelf.mh: Likewise.
5577 * config/m68k/nbsd.mh: Likewise.
5578 * config/ns32k/nbsd.mh: Likewise.
5579 * config/powerpc/nbsd.mh: Likewise.
5580 * config/sparc/nbsd.mh: Likewise.
5581
8052a17a
JM
55822001-01-19 Jason Merrill <[email protected]>
5583
5584 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
5585 (process_one_symbol): Likewise.
5586 * dwarfread.c (handle_producer): Likewise.
5587
21a6f6bb
AC
5588Thu Jan 18 12:08:57 2001 Andrew Cagney <[email protected]>
5589
5590 * configure.in (build_warnings): Disable -Wuninitialized until GDB
5591 compiles with -Wuninitialized,-Werror.
5592 * configure: Regenerate.
5593
5594 * MAINTAINERS: Add list of buildable targets.
5595
494b7ec9
AC
5596Thu Jan 18 12:48:04 2001 Andrew Cagney <[email protected]>
5597
5598 * defs.h (STRCMP): Delete macro.
5599
5600 * objfiles.c (objfile_relocate): Replace STRCMP with call to
5601 strcmp.
5602 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
5603 * symfile.c (compare_symbols): Ditto.
5604 * standalone.c (open): Ditto.
5605 * remote-es.c (verify_break): Ditto.
5606 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
5607
5608 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
5609
8038e1e2
AC
5610Thu Jan 18 12:25:06 2001 Andrew Cagney <[email protected]>
5611
5612 * varobj.c (FREEIF): Delete macro.
5613 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
5614 call.
5615
ea8d0b28
NC
56162001-01-18 Nick Clifton <[email protected]>
5617
5618 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
5619 (arc_print_insn): No bfd available, so pass NULL to
5620 arc_get_disassembler.
5621
5dbd9048
JB
56222001-01-09 James Ingham <[email protected]>
5623
5624 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
5625 a mangled symbol rather than recursing into lookup_symbol, since
5626 this will just re-unmangle the name & call lookup_symbol_aux -
5627 leading to an infinite recursion.
5628
28ae27b1
MK
56292001-01-18 Mark Kettenis <[email protected]>
5630
5631 * infcmd.c (print_return_value): Restore another space lost by
5632 switch to UIOUT. ``$NN='' should be ``$NN =''.
5633
6ab3a9c9
AC
5634Fri Jan 19 02:31:40 2001 Andrew Cagney <[email protected]>
5635
5636 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
5637 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
5638 definition in parenthesis.
5639
ad6525fc
AC
5640Fri Jan 19 02:13:40 2001 Andrew Cagney <[email protected]>
5641
5642 From 2000-10-27 Mark Salter <[email protected]>:
5643 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
5644 packet.
5645 (remote_insert_hw_breakpoint): Ditto.
5646
6259c7e2
C
56472001-01-17 J.T. Conklin <[email protected]>
5648
5649 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 5650 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
5651 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
5652 * m68knbsd-tdep.c: New file.
5653
5654 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
5655
5656 * m68knbsd-nat.c: #include gdbcore.h.
5657
abdcb2a5
AC
5658Wed Jan 17 09:41:58 2001 Andrew Cagney <[email protected]>
5659
5660 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
5661
e7a8479f
MS
56622001-01-16 Michael Snyder <[email protected]>
5663
aaeb7efa
MS
5664 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
5665 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
5666 * source.c (openp): Fix typo in comment.
5667
7036d6ce
ND
56682001-01-12 Nicholas Duffek <[email protected]>
5669
5670 * blockframe.c (generic_get_saved_register): Spelling fix.
5671 * frame.h (FRAME_FP): Spelling fix.
5672
9549d9c1
AC
5673Fri Jan 12 18:29:46 2001 Andrew Cagney <[email protected]>
5674
5675 * infcmd.c (print_return_value): Restore space lost by switch to
5676 UIOUT. ``$NN='' should be ``$NN =''.
5677
7302a204
ND
56782001-01-08 Nicholas Duffek <[email protected]>
5679
5680 * regcache.c (set_register_cached, register_buffer,
5681 real_register, pseudo_register fetch_register, store_register):
5682 New functions.
5683 (register_changed, read_relative_register_raw_bytes_for_frame,
5684 registers_changed, registers_fetched, read_register_bytes,
5685 read_register_gen, write_register_gen, read_register,
5686 read_signed_register, write_register, supply_register): Replace
5687 register_valid[] with register_cached() and
5688 set_register_cached().
5689 (read_register_bytes, read_register_gen, write_register_gen,
5690 read_register, read_signed_register, write_register,
5691 supply_register): Replace registers[] with register_buffer().
5692 (read_register_bytes, read_register_gen, read_register,
5693 read_signed_register): Call fetch_register().
5694 (write_register_gen, write_register): Call real_register() and
5695 store_register().
5696 (write_register_bytes): Call store_register().
5697 * value.h (set_register_cached, register_buffer): Prototype.
5698 * remote.c (remote_fetch_registers): Allocate regs[] with a
5699 run-time size. Replace register_valid[] with
5700 set_register_cached().
5701 (store_register_using_P, remote_store_registers): Replace
5702 registers[] with register_buffer().
5703
5ebd2499
ND
57042001-01-08 Nicholas Duffek <[email protected]>
5705
5706 * regcache.c: Change "write-back" comment to "write-through".
5707 Change "regno" to "regnum".
5708 (read_register, read_signed_register): Remove "raw" from return
5709 value description.
5710 (supply_register): Spelling fix.
5711 * value.h: Change "regno" to "regnum".
5712
1302fd5e
FN
57132001-01-08 Fernando Nasser <[email protected]>
5714
5715 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
5716 to be installed.
5717
9dcb560c
MS
57182001-01-04 Michael Snyder <[email protected]>
5719
5720 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
5721
0e2fb98e
ND
57222001-01-04 Nicholas Duffek <[email protected]>
5723
5724 * valops.c (VALUE_SUBSTRING_START): Delete.
5725
12cf3f1b
ND
57262001-01-04 Nicholas Duffek <[email protected]>
5727
5728 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
5729 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
5730 (cli_utils_h): New variable.
5731 (cli/cli-utils.o): New rule.
5732 * cli/cli-utils.c: New file.
5733 * cli/cli-utils.h: New file.
5734
cc533b9d
ND
57352001-01-04 Nicholas Duffek <[email protected]>
5736
5737 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
5738 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
5739
ad2a4d09
C
57402001-01-03 J.T. Conklin <[email protected]>
5741
5742 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
5743 comment.
5744
8140e7ac
MS
57452001-01-02 Michael Snyder <[email protected]>
5746
3116c80a
EZ
5747 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
5748 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 5749 non-float types.
779e876b 5750 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
5751 Update copyright notice.
5752
15f33b66 5753For older changes see ChangeLog-2000
c906108c
SS
5754\f
5755Local Variables:
5756mode: change-log
5757left-margin: 8
5758fill-column: 74
5759version-control: never
5760End:
This page took 1.026192 seconds and 4 git commands to generate.