* NEWS: Note that Alpha targets are now multi-arch.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2f4bc57b
JT
12002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
2
3 * NEWS: Note that Alpha targets are now multi-arch.
4
665132f9
MS
52002-04-24 Michael Snyder <msnyder@redhat.com>
6
7 * parser-defs.h (prev_lexptr): New external variable.
8 * parse.c (parse_exp_1): Set prev_lexptr to null before
9 calling the language-specific parser.
10 * c-exp.y (yylex): Set prev_lexptr to start of current token.
11 (yyerror): Use prev_lexptr in error reporting.
12
32872fa7
DJ
132002-04-24 Daniel Jacobowitz <drow@mvista.com>
14
15 * config/i386/tm-linux.h: Define FILL_FPXREGSET.
16 * gregset.h: If FILL_FPXREGSET is defined, provide
17 gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset.
18 * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET
19 is defined, call fill_fpxregset.
20
57e76fac
MS
212002-04-24 Roland McGrath <roland@frob.com>
22
23 * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here.
24 * i386gnu-nat.c [HAVE_SYS_PROCFS_H]
25 (supply_gregset, supply_fpregset): New functions.
26
27 * gnu-nat.c (gnu_find_memory_regions): New function.
28 (init_gnu_ops): Set `to_find_memory_regions' hook to that.
29 (gnu_xfer_memory): Add a cast.
30
f43845b3
MS
312002-04-24 Michael Snyder <msnyder@redhat.com>
32
33 * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the
34 loop. Add handling for "str lr, [sp, #-4]!" and for saves
35 of argument regs ("str r(0123), [r11, #-nn"]).
36 (arm_skip_prologue): Better handling for frameless functions.
37 Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]".
38 (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
39
a0abec03
AC
40Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com>
41
42 * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
43 NUM_PSEUDO_REGS can be used.
44
d7bd68ca
AC
452002-04-24 Andrew Cagney <ac131313@redhat.com>
46
47 * arch-utils.h: Update copyright.
48
49 * gdbarch.sh (PC_IN_SIGTRAMP): Add.
50 * gdbarch.h, gdbarch.c: Re-generate.
51
52 * inferior.h (IN_SIGTRAMP): Delete definition.
53 * arch-utils.c (legacy_pc_in_sigtramp): New function.
54 * arch-utils.h (legacy_pc_in_sigtramp): Declare.
55
56 * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
57 (mips_dump_tdep): Do not print value of IN_SIGTRAMP.
58 * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP.
59 (find_proc_framesize): Ditto.
60 * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
61 (alpha_init_extra_frame_info): Ditto.
62 * infrun.c (handle_inferior_event): Ditto.
63 (handle_inferior_event): Ditto.
64 (check_sigtramp2): Ditto.
65 * blockframe.c (create_new_frame): Ditto.
66 (get_prev_frame): Ditto.
67 * ppc-linux-tdep.c: Update comments.
68 * i386-linux-tdep.c: Update comments.
69 * breakpoint.c (bpstat_what): Update comment.
70
d06f167a
ML
712002-04-24 Michal Ludvig <mludvig@suse.cz>
72
73 * gdbserver/linux-low.c (regsets_fetch_inferior_registers),
74 (regsets_store_inferior_registers): Removed cast to int from
75 ptrace() calls.
76 * gdbserver/regcache.h: Added declaration of struct inferior_info.
77
4867e41e
DM
782002-04-24 David S. Miller <davem@redhat.com>
79
21d83aa5
DM
80 * i960-tdep.c (register_in_window_p): New function.
81 (i960_find_saved_register): Use it instead of
82 REGISTER_IN_WINDOW_P.
83 * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.
84
4867e41e
DM
85 * symtab.h (find_stab_function_addr): Kill extern.
86 * minsyms.c (find_stab_function_addr): Remove from here...
87 * dbxread.c: ... to here, and mark it static.
88
69cdf6a2
DM
892002-04-20 David S. Miller <davem@redhat.com>
90
91 * sparc-tdep.c (sparc_pop_frame): Only need to allocate
92 SPARC_INTREG_SIZE * 16 bytes for reg_temp.
93
5a595886
DM
942002-04-21 David S. Miller <davem@redhat.com>
95
96 * remote-vxsparc.c (vx_read_register): Fix typo, we want
97 REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
98 (vx_write_register): Likewise.
99
1da1a192
JB
1002002-04-23 J. Brobecker <brobecker@gnat.com>
101
102 * source.c (is_regular_file): New function.
103 (openp): Check wether file to open is a regular file
104 to avoid opening directories.
105
baa6f10b
JT
1062002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
107
108 * findvar.c (extract_signed_integer): Cast printf argument
109 to suppress format warning.
110 (extract_unsigned_integer): Likewise.
111 * infcmd.c (registers_info): Likewise.
112 * top.c (get_prompt_1): Likewise.
113 * valops.c (value_assign): Likewise.
114 * valprint.c (print_decimal): Likewise.
115
b2c4da81
L
1162002-04-22 H.J. Lu (hjl@gnu.org)
117
118 * c-exp.y (typebase): Support
119
120 [long|long long|short] [signed|unsigned] [int|]
121
122 and
123
124 signed [long|long long|short] int
125
f267bd6a
JT
1262002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
127
128 * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),
129 and vax-tdep.h.
130 * vax-tdep.h: New file.
131 * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h.
132 Make several routines static.
133 (vax_get_saved_register): New function.
134 (vax_gdbarch_init): New function.
135 (_initialize_vax_tdep): Register vax_gdbarch_init.
136 * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL.
137 Remove macros now under the control of gdbarch.
138
da3c6d4a
MS
1392002-04-22 Michael Snyder <msnyder@redhat.com>
140
11d3b27d
MS
141 * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
142 Some whitespace and coding standards tweaks.
da3c6d4a 143
a33f7558
JT
1442002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
145
146 * vax-tdep.c: Include regcache.h.
147 (vax_call_dummy_words): New.
148 (sizeof_vax_call_dummy_words): New.
149 (vax_fix_call_dummy): New function.
150 (vax_saved_pc_after_call): Ditto.
151 * config/vax/tm-vax.h: Don't include regcache.h.
152 (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call.
153 (CALL_DUMMY): Remove.
154 (CALL_DUMMY_WORDS): Define.
155 (SIZEOF_CALL_DUMMY_WORDS): Define.
156 (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
157
47a73475
MS
1582002-04-18 Michael Snyder <msnyder@redhat.com>
159
160 * arm-tdep.h: Change regnum defines to enums for ease of debugging.
161
52efde73
JT
1622002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
163
164 * vax-tdep.c (vax_frame_chain): New function.
165 (vax_push_dummy_frame): Ditto.
166 (vax_pop_frame): Ditto.
167 * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain.
168 (FRAMELESS_FUNCTION_INVOCATION): Use
169 generic_frameless_function_invocation_not.
170 (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame.
171 (POP_FRAME): Use vax_pop_frame.
172
ea74468c
JT
1732002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
174
175 * vax-tdep.c (vax_store_struct_return): New function.
176 (vax_extract_return_value): Ditto.
177 (vax_store_return_value): Ditto.
178 (vax_extract_struct_value_address): Ditto.
179 * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use
180 vax_store_struct_return.
181 (EXTRACT_RETURN_VALUE): Use vax_extract_return_value.
182 (STORE_RETURN_VALUE): Use vax_store_return_value.
183 (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
184
5516aa92
JT
1852002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
186
187 * vax-tdep.c (vax_frame_saved_pc): New function.
188 (vax_frame_args_address_correct): Ditto.
189 (vax_frame_args_address): Ditto.
190 (vax_frame_locals_address): Ditto.
191 (vax_frame_num_args): Move code to be in proximity to
192 other frame-related functions.
193 * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan.
194 (FRAME_SAVED_PC): Use vax_frame_saved_pc.
195 (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct.
196 (FRAME_ARGS_ADDRESS): Use vax_frame_args_address.
197 (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
198
36af0b35
L
1992002-04-22 H.J. Lu (hjl@gnu.org)
200
201 * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and
202 includedir.
203
ab62c900
JT
2042002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
205
206 * vax-tdep.c (vax_frame_init_saved_regs): New function.
207 * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove.
208 (FRAME_INIT_SAVED_REGS): New macro.
209
7232b100
JT
2102002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
211
212 * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.
213
b70d2aee
JT
2142002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
215
216 * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants
217 where needed.
218 (fetch_osf_core_registers): Likewise.
219 (supply_gregset): Likewise.
220
a0e8a2d1
JB
2212002-04-22 J. Brobecker <brobecker@gnat.com>
222
223 * symfile.h (get_section_index): Define.
224 * symfile.c (get_section_index): New function.
225 * mdebugread.c (SC_IS_SBSS): New macro.
226 (SC_IS_BSS): Return true for the scBss storage class only, as
227 the scSBss storage class refers to the .sbss section.
228 (parse_partial_symbols): Discard the symbols which associated
229 section does not exist.
230 Make sure to use the .sbss section index for symbols which
231 storage class is scBss, rather than using the .bss section index.
232
51eb8b08
JT
2332002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
234
235 * vax-tdep.c: Update copyright years.
236 (vax_register_name): New function.
237 (vax_register_byte): Ditto.
238 (vax_register_raw_size): Ditto.
239 (vax_register_virtual_size): Ditto.
240 (vax_register_virtual_type): Ditto.
241 * config/vax/tm-vax.h: Update copyright years.
242 (REGISTER_NAMES): Remove.
243 (REGISTER_NAME): Define.
244 (REGISTER_BYTE): Use vax_register_byte.
245 (REGISTER_RAW_SIZE): Use vax_register_raw_size.
246 (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size.
247 (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
248
6cc1c0a8
AC
2492002-04-21 Andrew Cagney <ac131313@redhat.com>
250
251 * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
252 declaration
253 * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
254
9319a2fe
DM
2552002-04-21 David S. Miller <davem@redhat.com>
256
257 * arch-utils.c (generic_prologue_frameless_p): Kill
258 SKIP_PROLOGUE_FRAMELESS_P code.
259 * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
260 references.
261 (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New.
262 * arc-tdep.c (arc_prologue_frameless_p): Implement.
263 * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
264 references.
265 (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New.
266 * sparc-tdep.c (sparc_prologue_frameless_p): Implement.
267 (sparc_gdbarch_init): Pass it to
268 set_gdbarch_prologue_frameless_p.
a0e8a2d1 269
e9ed6d01
JT
2702002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
271
272 * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.
273 (alphabsd-nat.o): New dependency list.
274
36012033
JT
2752002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
276
277 * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and
278 alphafbsd-tdep.c.
279 (alpha-linux-tdep.o): New dependency list.
280 (alphafbsd-tdep.o): Likewise.
281
3379287a
JT
2822002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
283
284 * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset
285 to here...
286 * alpha-tdep.c: ...from here.
287 * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
288
4bcbd6cb
JT
2892002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
290
291 * config/alpha/tm-alpha.h: Move alpha_software_single_step
292 prototype from here...
293 * alpha-tdep.h: ...to here.
294
b31da25e
AC
2952002-04-21 Andrew Cagney <ac131313@redhat.com>
296
297 * frame.h (selected_frame_level): Document as deprecated.
298 (frame_relative_level): Declare.
299 * stack.c (frame_relative_level): New function.
300 (selected_frame_level): Document as deprecated.
301 (select_frame): Do not set the selected_frame_level.
302
303 * stack.c (frame_info, record_selected_frame): Update.
304 (frame_command, current_frame_command): Update.
305 (up_silently_base, up_command, down_silently_base): Update.
306 (down_command): Update.
307 * inflow.c (kill_command): Update.
308 * tracepoint.c (finish_tfind_command): Update.
309 * corelow.c (core_open): Update.
310 * thread.c (info_threads_command): Update.
311 (do_captured_thread_select): Update.
312 * infcmd.c (finish_command): Update.
313 * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
314
9c1d6fe5
JT
3152002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
316
317 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.
318
ab89facf
AC
3192002-04-21 Andrew Cagney <ac131313@redhat.com>
320
321 * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
322 type const.
323
82a4efa1
JT
3242002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
325
326 * alphafbsd-tdep.c: Update copyright years. Include
327 alpha-tdep.h.
328 (alphafbsd_use_struct_convention): Make static.
329 (alphafbsd_init_abi): New function.
330 (_initialize_alphafbsd_tdep): New function.
331 * config/alpha/tm-fbsd.h: Update copyright years.
332 (USE_STRUCT_CONVENTION): Remove.
333
44dffaac
JT
3342002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
335
336 * alpha-tdep.c (alpha_abi_handler): New structure to describe
337 an Alpha ABI variant.
338 (alpha_abi_handler_list): Declare.
339 (alpha_gdbarch_register_os_abi): New function.
340 (alpha_gdbarch_init): Give registered ABI variant handlers a
341 chance to tweak the gdbarch once we have set up defaults.
342 * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
343
65585be4
JT
3442002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
345
346 * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
347 to standard_coerce_float_to_double.
348 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
349
d9b023cc
JT
3502002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
351
352 * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.
353 * alpha-tdep.c (heuristic_proc_start): Use vm_min_address
354 from gdbarch_tdep rather than a constant.
355 (alpha_gdbarch_init): Initialize tdep->vm_min_address to
356 the default text address for all Alpha Unix ABIs.
357 (alpha_dump_tdep): Report the value of tdep->vm_min_address.
358 * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
359
dc129d82
JT
3602002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
361
362 * alpha-tdep.h: New file. Includes several Alpha target constants
363 taken from...
364 * config/alpha/tm-alpha.h: ...here. Remove macros that we now
365 let gdbarch deal with.
366 (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL.
367 * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd
368 to dependency list.
369 * alpha-nat.c: Include alpha-tdep.h. Update for adjusted
370 Alpha target register names.
371 * alphabsd-nat.c: Likewise.
372 * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted
373 Alpha target register names. Make serveral routines static.
374 (alpha_get_saved_register): New function.
375 (alpha_abi_names): New.
376 (process_note_abi_tag_sections): New function.
377 (get_elfosabi): New function.
378 (alpha_gdbarch_init): New function.
379 (alpha_dump_tdep): New function.
380 (_initialize_alpha_tdep): Register alpha_gdbarch_init.
381
d49d1e0a
AC
3822002-04-21 Andrew Cagney <ac131313@redhat.com>
383
384 * frame.c (find_saved_register): Delete #ifdef
385 HAVE_REGISTER_WINDOWS code.
386 * config/sparc/tm-sparc.h: Update comments.
387 * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
388
92e8c9ed
AC
3892002-04-21 Andrew Cagney <ac131313@redhat.com>
390
391 * i960-tdep.c (i960_find_saved_register): New function.
392 (i960_get_saved_register): New function.
393 * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
394 (i960_get_saved_register): Declare.
395 * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
396
e1925118
DM
3972002-04-20 David S. Miller <davem@redhat.com>
398
399 * sparc-nat.c (store-inferior_registers): Fix ambiguous else.
400
29673b29
AC
4012002-04-20 Andrew Cagney <ac131313@redhat.com>
402
403 * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
404 instead of NUM_PSEUDO_REGS.
405
6c86dcd5
DM
4062002-04-20 David S. Miller <davem@redhat.com>
407
408 * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
409 GDB_MULTI_ARCH_PARTIAL
410 * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
411 define, let tm-sp64.h do it.
412
aa40ec90
JT
4132002-04-20 Jason Thorpe <thorpej@wasabisystems.com>
414
415 * frame.c (find_saved_register): Avoid a NULL pointer
416 dereference and actually walk the frame list.
417
0f79675b
AC
4182002-04-20 Andrew Cagney <ac131313@redhat.com>
419
420 * gdbarch.sh (gdbarch_update_p): Keep the list of architectures
421 sorted in most most-recent-used order. Document.
422 * gdbarch.h, gdbarch.c: Regenerate.
423
c04a1aa8
DJ
4242002-04-20 Daniel Jacobowitz <drow@mvista.com>
425
426 * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
427 (add_inferior): Call create_register_cache.
428 (clear_inferiors): Call free_register_cache.
429 (inferior_regcache_data, set_inferior_regcache_data): New functions.
430 * gdbserver/regcache.c (struct inferior_regcache_data): New.
431 (registers): Remove.
432 (get_regcache): New function.
433 (create_register_cache, free_register_cache): New functions.
434 (set_register_cache): Don't initialize the register cache here.
435 (registers_to_string, registers_from_string, register_data): Call
436 get_regcache.
437 * gdbserver/regcache.h: Add prototypes.
438 * gdbserver/server.h: Likewise.
439
611cb4a5
DJ
4402002-04-20 Daniel Jacobowitz <drow@mvista.com>
441
442 * gdbserver/mem-break.c: New file.
443 * gdbserver/mem-break.h: New file.
444 * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
445 dependencies.
446 * gdbserver/inferiors.c (struct inferior_info): Add target_data
447 member.
448 (clear_inferiors): Free target_data member if set.
449 (inferior_target_data, set_inferior_target_data): New functions.
450 * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
451 (i386_stop_pc, i386_set_pc): New. Add to the_low_target.
452 * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
453 (struct inferior_linux_data): New.
454 (linux_create_inferior): Use set_inferior_target_data.
455 (linux_attach): Likewise. Call add_inferior.
456 (linux_wait_for_one_inferior): New function.
457 (linux_wait): Call it.
458 (linux_write_memory): Add const.
459 (initialize_low): Call set_breakpoint_data.
460 * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
461 handling members.
462 * gdbserver/server.c (attach_inferior): Remove extra add_inferior
463 call.
464 * gdbserver/server.h: Include mem-break.h. Update inferior.c
465 prototypes.
466 * gdbserver/target.c (read_inferior_memory)
467 (write_inferior_memory): New functions.
468 * gdbserver/target.h (read_inferior_memory)
469 (write_inferior_memory): Change macros to prototypes.
470 (struct target_ops): Update comments. Add const to write_memory
471 definition.
472
f91305dd 4732002-04-19 Andrew Cagney <ac131313@redhat.com>
bf75c8c1
AC
474
475 * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
476 instead of ->prev.
477 * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
478 * s390-tdep.c (s390_frame_chain): Do not use ->prev.
479 * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
480 instead of ->prev.
481
73d322b1
EZ
4822002-04-19 Elena Zannoni <ezannoni@redhat.com>
483
484 Fix PR gdb/471.
485 * gdbtypes.c (init_simd_type): Rewrite using new functions.
486 (build_builtin_type_vec128): Ditto.
487 (append_composite_type_field): Fix calculation of type length in
488 union case.
489
ccd9a834
EZ
4902002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
491
492 * config/djgpp/README: Update.
493
494 * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
495 compiler warnings.
496
a57f9e49
JT
4972002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
498
499 * alpha-tdep.c (setup_arbitrary_frame): Rename...
500 (alpha_setup_arbitrary_frame): ...to this.
501 * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
502 for alpha_setup_arbitrary_frame.
503
f4f9705a
AC
5042002-04-18 Andrew Cagney <cagney@redhat.com>
505
506 * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
507 * gdbarch.h, gdbarch.c: Regenerate.
508
509 * defs.h (breakpoint_from_pc_fn): Delete type definition.
510 * target.h (memory_breakpoint_from_pc): Update declaration.
511 * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
512
513 * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
514 * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
515 * mem-break.c (memory_breakpoint_from_pc): Ditto.
516 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
517 * s390-tdep.c (s390_breakpoint_from_pc): Ditto
518 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
519 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
520 * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
521 * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
522 * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
523 * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
524 * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
525
526 * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
527 const pointer.
528 * monitor.c (monitor_insert_breakpoint): Ditto.
529 * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
530
531 * config/mcore/tm-mcore.h: Update copyright.
532 * mem-break.c: Ditto.
533 * xstormy16-tdep.c: Ditto.
534
29f319b8
PM
5352002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
536
537 * p-exp.y: Add precedence rule for '^' token.
538 This removes the shift/reduce conflicts.
539 Remove the comment concerning these shift/reduce conflicts.
540
ebeac11a
EZ
5412002-04-18 Elena Zannoni <ezannoni@redhat.com>
542
543 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
544 (registers_powerpc_nofp): New register set for processors
545 without floating point unit.
546
27c31547
DM
5472002-04-18 David S. Miller <davem@redhat.com>
548
549 * MAINTAINERS: Add myself to write-after-approval.
550
47a73475
MS
5512002-04-17 Michael Snyder <msnyder@redhat.com>
552
553 * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm.
554
953836b2
AC
5552002-04-17 Andrew Cagney <ac131313@redhat.com>
556
557 * rs6000-tdep.c (frame_initial_stack_address): Use
558 frame_register_read to read the alloca_reg.
559
8b0d4340
AC
5602002-04-17 Andrew Cagney <ac131313@redhat.com>
561
562 * frame.c (find_saved_register): Find saved registers in the next
563 not prev frame.
564 Fix PR gdb/365.
565
d8864532
AC
5662002-04-17 Andrew Cagney <ac131313@redhat.com>
567
568 * gdbarch.sh (LANG): Set to ``c''.
569
36cc83a3
AC
5702002-04-15 Andrew Cagney <ac131313@redhat.com>
571
572 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
573
2f4150cc 5742002-04-15 Andrew Cagney <ac131313@redhat.com>
2c7ef074
AC
575
576 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
577 Update copyright.
578
628703c6 579 * hpread.c (hpread_get_lntt): Add declaration.
2f4150cc
AC
580 Also fix PR gdb/391.
581
56157b4a
AC
5822002-04-14 Andrew Cagney <ac131313@redhat.com>
583
584 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
585 * aclocal.m4, configure: Re-generate.
586 Fix PR gdb/391.
587
6d1e3329
EZ
5882002-04-14 Elena Zannoni <ezannoni@redhat.com>
589
590 * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
591 instead of tm_print_insn.
592
cb06fa07
EZ
5932002-04-14 Elena Zannoni <ezannoni@redhat.com>
594
595 * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
596
f208ba17
AC
5972002-04-14 Andrew Cagney <ac131313@redhat.com>
598
599 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
600 * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
601 (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
602
20f01a46
DH
6032002-04-12 Don Howard <dhoward@redhat.com>
604
605 * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
606 max_user_call_depth.
607 (init_cmd_lists): Initialize the new value;
608 * cli/cli-script.c (execute_user_command): Limit the call depth of
609 user defined commands. This avoids a core-dump when user commands
610 are infinitly recursive.
611
a88376a3
KB
6122002-04-12 Kevin Buettner <kevinb@redhat.com>
613
614 * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
615 * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
616 from tdep struct instead of DEFAULT_LR_SAVE.
617 (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
618 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
619 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
620
f2172603
MS
6212002-04-12 Michael Snyder <msnyder@redhat.com>
622
694f61fb 623 * Remote.c: Spelling fix.
20fe79c8
MS
624 * gcore.c (default_derive_heap_segment): Use bfd_section_name.
625 If no symbol found for "sbrk", try "_sbrk".
626 (make_output_phdrs): Use bfd_section_name.
627 (gcore_copy_callback): Use bfd_section_name.
62995fc4 628 * eval.c: Indentation fix-ups.
169a7369
MS
629 * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
630 in case it gets applied to an address that is already
631 in the instruction space.
de74f71f
MS
632 * cli/cli-decode.c (help_list): Allow long lines to wrap.
633 * symfile.c: Fix indentation, long lines.
f2172603
MS
634 * source.c: White space fix-up.
635
cda5a58a
AC
6362002-04-12 Andrew Cagney <cagney@redhat.com>
637
638 * defs.h (read_relative_register_raw_bytes): Delete declaration.
639 * frame.c (frame_register_read): New function. Return non-zero on
640 success.
641 (read_relative_register_raw_bytes_for_frame): Delete.
642 (read_relative_register_raw_bytes): Delete.
643 * frame.h (frame_register_read): Declare.
644 * d30v-tdep.c: Update Copyright. Use frame_register_read.
645 * sh-tdep.c: Ditto.
646 * infcmd.c (do_registers_info): Ditto.
647 * hppa-tdep.c: Ditto.
648 * rs6000-tdep.c: Ditto.
649 * h8500-tdep.c: Ditto.
650 * mips-tdep.c: Ditto.
651 * h8300-tdep.c: Ditto.
652 * z8k-tdep.c: Ditto.
653
2ea5f656
KB
6542002-04-12 Kevin Buettner <kevinb@redhat.com>
655
656 From Jimi X <jimix@watson.ibm.com>:
657 * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
658 64-bit SysV ABI.
659
27b15785
KB
6602002-04-12 Kevin Buettner <kevinb@redhat.com>
661
662 From Jimi X <jimix@watson.ibm.com>:
663 * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
664 bfd info.
665
5d57ee30
KB
6662002-04-12 Kevin Buettner <kevinb@redhat.com>
667
668 From Jimi X <jimix@watson.ibm.com>:
669 * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
670 register sets for these processor variants.
671
bc1e36ca
DJ
6722002-04-11 Daniel Jacobowitz <drow@mvista.com>
673
674 * gdbserver/linux-low.c (usr_store_inferior_registers): Support
675 registers which are allowed to fail to store.
676 * gdbserver/linux-low.h (linux_target_ops): Likewise.
677 * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
678 (ppc_cannot_store_register): FPSCR may not be storable.
679 * regformats/reg-ppc.dat: Support FPSCR.
680
e3f36dbd
KB
6812002-04-11 Kevin Buettner <kevinb@redhat.com>
682
683 * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
684 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
685 Add fpscr as an invalid/unfetchable register.
686 * ppc-linux-nat.c (ppc_register_u_addr, store_register)
687 (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
688 (fill_fpregset): Add support for register fpscr.
689 (fetch_ppc_registers, store_ppc_registers, supply_gregset)
690 (fill_gregset): Account for the fact that register ``mq'' might
691 not exist.
692 * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
693 (registers_power): Add fpscr to register set at slot 71.
694 (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
695 exist on most PPC architectures. Initialize ppc_fpscr_regnum.
696
943c9c25
MS
6972002-04-11 Michael Snyder <msnyder@redhat.com>
698
699 * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
700 * configure: Regenerate.
701 * config.in: Regenerate.
702 * acconfig.h: Add define for _SYSCALL32.
703 * core-sol2.c: Remove #define _SYSCALL32.
704 * solib-legacy.c: Remove #define _SYSCALL32.
705
d8c0a2e7
AC
7062002-04-10 Andrew Cagney <ac131313@redhat.com>
707
708 * stack.c (select_frame): Cleanup internal error message, do not
709 use %p.
710
7cc19214
AC
7112002-04-10 Andrew Cagney <ac131313@redhat.com>
712
713 * stack.c (select_frame): Check that selected_frame and the
714 specified level are as expected.
715 * blockframe.c (get_prev_frame): Set the `level' from next_frame.
716 Update copyright.
717 * frame.h (struct frame_info): Add field `level'. Update
718 copyright.
719 Work-in-progress PR gdb/464.
720
67a2b77e
AC
7212002-04-10 Andrew Cagney <ac131313@redhat.com>
722
723 * maint.c (maint_print_section_info): Rename print_section_info.
724 (print_bfd_section_info, print_objfile_section_info): Update.
725 * inferior.h (struct gdbarch): Add opaque declaration.
726 * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
727 * gdbarch.h: Regenerate.
728
8cfda98c
ML
7292002-04-10 Michal Ludvig <mludvig@suse.cz>
730
731 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
732 (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
733 (kernel_u_size): Added.
734 * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
735 (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
736
ca439ad2
JI
7372002-04-04 Jim Ingham <jingham@apple.com>
738
739 * valarith.c (find_size_for_pointer_math): New function, either returns
740 the size for a pointer's target, returns 1 for void *, or errors for
741 incomplete types.
742 (value_add, value_sub): use find_size_for_pointer_math.
743
2f2893d9
DJ
7442002-04-09 Daniel Jacobowitz <drow@mvista.com>
745
746 * linux-low.c (linux_look_up_symbols): New hook.
747 (linux_target_ops): Add linux_look_up_symbols.
748 * remote-utils.c (decode_address): New function.
749 (look_up_one_symbol): New function.
750 * server.c (handle_query): Call target look_up_symbols hook.
751 * server.h (look_up_one_symbol): Add prototype.
752 * target.h (struct target_ops): Add look_up_symbols hook.
753
2ec06d2e
DJ
7542002-04-09 Daniel Jacobowitz <drow@mvista.com>
755
d64b8841
DJ
756 * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
757 * ChangeLog: Correct paths in last ChangeLog entry.
758
7592002-04-09 Daniel Jacobowitz <drow@mvista.com>
760
761 * gdbserver/linux-low.h: Remove obsolete prototypes.
2ec06d2e
DJ
762 (struct linux_target_ops): New.
763 (extern the_low_target): New.
d64b8841 764 * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
2ec06d2e
DJ
765 (register_addr): Use the_low_target explicitly.
766 (fetch_register): Likewise.
767 (usr_fetch_inferior_registers): Likewise.
768 (usr_store_inferior_registers): Likewise.
d64b8841 769 * gdbserver/linux-arm-low.c (num_regs): Remove.
2ec06d2e
DJ
770 (arm_num_regs): Define.
771 (arm_regmap): Renamed from regmap, made static.
772 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
773 made static.
774 (arm_cannot_store_register): Renamed from cannot_store_register,
775 made static.
776 (the_low_target): New.
d64b8841 777 * gdbserver/linux-i386-low.c (num_regs): Remove.
2ec06d2e
DJ
778 (i386_num_regs): Define.
779 (i386_regmap): Renamed from regmap, made static.
780 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
781 made static.
782 (i386_cannot_store_register): Renamed from cannot_store_register,
783 made static.
784 (the_low_target): New.
d64b8841 785 * gdbserver/linux-ia64-low.c (num_regs): Remove.
2ec06d2e
DJ
786 (ia64_num_regs): Define.
787 (ia64_regmap): Renamed from regmap, made static.
788 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
789 made static.
790 (ia64_cannot_store_register): Renamed from cannot_store_register,
791 made static.
792 (the_low_target): New.
d64b8841 793 * gdbserver/linux-m68k-low.c (num_regs): Remove.
2ec06d2e
DJ
794 (m68k_num_regs): Define.
795 (m68k_regmap): Renamed from regmap, made static.
796 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
797 made static.
798 (m68k_cannot_store_register): Renamed from cannot_store_register,
799 made static.
800 (the_low_target): New.
d64b8841 801 * gdbserver/linux-mips-low.c (num_regs): Remove.
2ec06d2e
DJ
802 (mips_num_regs): Define.
803 (mips_regmap): Renamed from regmap, made static.
804 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
805 made static.
806 (mips_cannot_store_register): Renamed from cannot_store_register,
807 made static.
808 (the_low_target): New.
d64b8841 809 * gdbserver/linux-ppc-low.c (num_regs): Remove.
2ec06d2e
DJ
810 (ppc_num_regs): Define.
811 (ppc_regmap): Renamed from regmap, made static.
812 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
813 made static.
814 (ppc_cannot_store_register): Renamed from cannot_store_register,
815 made static.
816 (the_low_target): New.
d64b8841 817 * gdbserver/linux-s390-low.c (num_regs): Remove.
2ec06d2e
DJ
818 (s390_num_regs): Define.
819 (s390_regmap): Renamed from regmap, made static.
820 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
821 made static.
822 (s390_cannot_store_register): Renamed from cannot_store_register,
823 made static.
824 (the_low_target): New.
d64b8841 825 * gdbserver/linux-sh-low.c (num_regs): Remove.
2ec06d2e
DJ
826 (sh_num_regs): Define.
827 (sh_regmap): Renamed from regmap, made static.
828 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
829 made static.
830 (sh_cannot_store_register): Renamed from cannot_store_register,
831 made static.
832 (the_low_target): New.
d64b8841 833 * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
2ec06d2e
DJ
834 (the_low_target): New.
835
96cb11df
AC
8362002-04-09 Andrew Cagney <ac131313@redhat.com>
837
838 * frame.c (read_relative_register_raw_bytes_for_frame): Do not
839 override FP_REGNUM with frame->fp. Update copyright.
840 * parse.c (num_std_regs, std_regs): Delete.
841 (target_map_name_to_register): Do not search std_regs. Update
842 function description.
843 * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
844 declarations. Update copyright.
845 Fix PR gdb/251.
846
c3a3ccc7
DJ
8472002-04-09 Daniel Jacobowitz <drow@mvista.com>
848
849 * gdbserver/Makefile.in: Add stamp-h target.
850 * gdbserver/configure.in: Create stamp-h.
851 * gdbserver/configure: Regenerated.
852
ce3a066d
DJ
8532002-04-09 Daniel Jacobowitz <drow@mvista.com>
854
855 * gdbserver/inferiors.c: New file.
856 * gdbserver/target.c: New file.
857 * gdbserver/target.h: New file.
858 * gdbserver/Makefile.in: Add target.o and inferiors.o. Update
859 dependencies.
860 * gdbserver/linux-low.c (inferior_pid): New static variable,
861 moved from server.c.
862 (linux_create_inferior): Renamed from create_inferior.
863 Call add_inferior. Return 0 on success instead of a PID.
864 (linux_attach): Renamed from myattach.
865 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
866 (linux_thread_alive): Renamed from mythread_alive.
867 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
868 child dies.
869 (linux_resume): Renamed from myresume. Add missing ``return 0''.
870 (regsets_store_inferior_registers): Correct error message.
871 Add missing ``return 0''.
872 (linux_fetch_registers): Renamed from fetch_inferior_registers.
873 (linux_store_registers): Renamed from store_inferior_registers.
874 (linux_read_memory): Renamed from read_inferior_memory.
875 (linux_write_memory): Renamed from write_inferior_memory.
876 (linux_target_ops): New structure.
877 (initialize_low): Call set_target_ops ().
878 * gdbserver/remote-utils.c (unhexify): New function.
879 (hexify): New function.
880 (input_interrupt): Send signals to ``signal_pid''.
881 * gdbserver/server.c (inferior_pid): Remove.
882 (start_inferior): Update create_inferior call.
883 (attach_inferior): Call add_inferior.
884 (handle_query): New function.
885 (main): Call handle_query for `q' packets.
886 * gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
887 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
888
0729219d
DJ
8892002-04-09 Daniel Jacobowitz <drow@mvista.com>
890
891 * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
892 dependencies.
893 * gdbserver/configure.in: Check for <string.h>
894 * gdbserver/configure: Regenerate.
895 * gdbserver/config.in: Regenerate.
896 * gdbserver/gdbreplay.c: Include needed system headers.
897 (remote_open): Remove strchr prototype.
898 * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
899 * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
900 (supply_register_by_name): Likewise.
901 (collect_register): Change buf argument to void *.
902 (collect_register_by_name): Likewise.
903 * gdbserver/regcache.h: Add missing prototypes.
904 * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
905 * gdbserver/server.c (handle_query): New function.
906 (attached): New static variable, moved out of main.
907 (main): Quiet longjmp clobber warnings.
908 * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
909 * gdbserver/utils.c (error): Remove NORETURN.
910 (fatal): Likewise.
911
97658e92
DJ
9122002-04-09 Daniel Jacobowitz <drow@mvista.com>
913
914 * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
915 after the last symbol in a block.
916
6044e3eb
PM
9172002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
918
919 * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
920 is non zero as a found symbol.
921
0406ec40
AC
9222002-04-08 Andrew Cagney <ac131313@redhat.com>
923
924 * findvar.c: Include "builtin-regs.h".
925 (value_of_register): Call value_of_builtin_reg when applicable.
926 * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
927 (target_map_name_to_register): Call
928 builtin_reg_map_name_to_regnum.
929 * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
930 (COMMON_OBS): Add builtin-regs.o and std-regs.o.
931 (builtin_regs_h): Define.
932 (builtin-regs.o): New target.
933 (findvar.o): Add $(builtin_regs_h).
934 * builtin-regs.c, builtin-regs.h: New files.
935 * std-regs.c: New file.
936 Partial fix for PR gdb/251.
937
56a6dfb9
KB
9382002-04-08 Kevin Buettner <kevinb@redhat.com>
939
940 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
941 it's no longer required.
942
3a808432
AC
9432002-04-08 Andrew Cagney <ac131313@redhat.com>
944
945 * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
946
7c40d541
KB
9472002-04-08 Kevin Buettner <kevinb@redhat.com>
948
949 From Jimi X <jimix@watson.ibm.com>:
950 * rs6000-tdep.c (rs6000_software_single_step): Use
951 rs6000_breakpoint_from_pc() to fetch breakpoint instruction
952 and size. Use target_insert_breakpoint() and
953 target_remove_breakpoint() to insert and remove breakpoints
954 instead of explicit memory reads and writes.
955
cc9836a8
KB
9562002-04-08 Kevin Buettner <kevinb@redhat.com>
957
958 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
959 * rs6000-tdep.c (rs6000_push_arguments): Eliminate
960 ELF_OBJECT_FORMAT ifdef.
961
7495d1dc
KB
9622002-04-08 Kevin Buettner <kevinb@redhat.com>
963
964 From Jimi X <jimix@watson.ibm.com>:
965 * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
966
4288e836
KB
9672002-04-08 Kevin Buettner <kevinb@redhat.com>
968
969 From Jimi X <jimix@watson.ibm.com>:
970 * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
971 definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
972
a4e4e501
MK
9732002-04-07 Mark Kettenis <kettenis@gnu.org>
974
975 * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
976 s/asprintf/xasprintf/.
977 (fbsd_make_corefile_notes): s/strdup/xstrdup/.
978
006defba
AC
9792002-04-07 Andrew Cagney <ac131313@redhat.com>
980
981 I believe Jeff Law denies responsability for this one:
982 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
983 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
984 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
985 Work-around for PR gdb/366.
986
7aa83cac
EZ
9872002-04-07 Elena Zannoni <ezannoni@redhat.com>
988
989 * remote-e7000.c (write_small, e7000_read_inferior_memory,
990 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
991 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
992
cf1fcca1
EZ
9932002-04-07 Elena Zannoni <ezannoni@redhat.com>
994
995 * sh-tdep.c (sh_fp_frame_init_saved_regs,
996 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
997 information.
998
3f289e6f
AC
9992002-04-07 Andrew Cagney <ac131313@redhat.com>
1000
1001 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
1002 maintainer.
1003
129188f6
AC
10042002-04-07 Andrew Cagney <ac131313@redhat.com>
1005
1006 * README (Reporting Bugs in GDB): Document the bug web page as the
1007 prefered way of submitting bugs.
1008 Fix PR gdb/402.
1009
1200cd6e
AC
10102002-04-06 Andrew Cagney <ac131313@redhat.com>
1011
1012 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
1013 -1. Update comment.
1014 * gdbarch.h, gdbarch.c: Re-generate.
1015
2853c33c
AS
10162002-04-07 Andreas Schwab <schwab@suse.de>
1017
1018 * m68klinux-nat.c (fill_fpregset): Properly pass address of
1019 buffer to regcache_collect.
1020
c2169756
AC
10212002-04-06 Andrew Cagney <ac131313@redhat.com>
1022
1023 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
1024 * gdbarch.c, gdbarch.h: Re-generate.
1025
25f1b008
AC
10262002-04-06 Andrew Cagney <ac131313@redhat.com>
1027
1028 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
1029 declaration. Fix -Werror.
1030
59263426
DJ
10312002-04-05 Daniel Jacobowitz <drow@mvista.com>
1032
1033 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
1034 * gdbarch.c: Regenerate.
1035
f5db4da3
MS
10362002-04-05 Michael Snyder <msnyder@redhat.com>
1037
80f8a6eb
MS
1038 * breakpoint.c (clear_command): Rewrite middle section to
1039 combine two loops with identical control conditions.
1040 Add a cleanup to eliminate a memory leak.
f5db4da3
MS
1041 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
1042
ad3dcc5c
L
10432002-04-05 H.J. Lu (hjl@gnu.org)
1044
1045 * solib-svr4.c (bkpt_names): Add "__start".
1046
f32e7a74
AC
10472002-04-04 Andrew Cagney <ac131313@redhat.com>
1048
1049 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
1050 as test for 64 bit target.
1051
8227c0ff
AC
10522002-04-05 Andrew Cagney <ac131313@redhat.com>
1053
1054 * h8500-tdep.c (h8500_write_fp): Delete function.
1055 * dwarf2cfi.c (cfi_write_fp): Document as not used.
1056 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
1057 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
1058 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
1059 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
1060 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
1061 (s390_write_fp):
1062 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
1063 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
1064 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
1065 (d10v_write_fp): Delete function.
1066 * inferior.h (write_fp, generic_target_write_fp): Delete
1067 declarations.
1068 * regcache.c (generic_target_write_fp): Delete function.
1069 (write_fp): Delete function.
1070 * gdbarch.sh (TARGET_WRITE_FP): Delete.
1071 * gdbarch.h, gdbarch.c: Regenerate.
1072 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
1073 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
1074 (sparc64_write_fp): Delete declaration.
1075 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
1076 (h8500_write_fp): Delete declaration.
1077
2757dd86
AC
10782002-04-04 Andrew Cagney <ac131313@redhat.com>
1079
1080 * sparc-tdep.c (sparc64_write_fp): Delete.
1081 (sparc_push_dummy_frame): Replace write_fp call with code to store
1082 the FP directly.
1083 (sparc_gdbarch_init): Do not initialize write_fp.
1084
c69255e1
KB
10852002-04-05 Kevin Buettner <kevinb@redhat.com>
1086
1087 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
1088 clause.
1089
ae767bfb
JB
10902002-03-29 Jim Blandy <jimb@redhat.com>
1091
1092 * stack.c (get_selected_block): Add new argument `addr_in_block',
1093 used to return the exact code address we used to select the block,
1094 not just the block.
1095 * blockframe.c (get_frame_block, get_current_block): Same.
1096 * frame.h (get_frame_block, get_current_block,
1097 get_selected_block): Update declarations.
1098 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
1099 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
1100
84d2ac95
MS
11012002-04-05 Michael Snyder <msnyder@redhat.com>
1102
1103 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
1104 warning message.
1105
596aa3bf
JB
11062002-04-05 J. Brobecker <brobecker@gnat.com>
1107
1108 * utils.c (xfullpath): New function.
1109 * defs.h (xfullpath): Add declaration.
1110 * source.c (openp): Use xfullpath in place of gdb_realpath to
1111 avoid resolving the basename part of filenames when the
1112 associated file is a symbolic link. This fixes a potential
1113 inconsistency between the filenames known to GDB and the
1114 filenames it prints in the annotations.
1115 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
1116 to be able to match a filename with either the real filename, or
1117 the name of any symbolic link to this file.
1118 (lookup_partial_symtab): Ditto.
1119
c02f5703
MS
11202002-04-04 Michael Snyder <msnyder@redhat.com>
1121
1122 * breakpoint.c: Add support for hardware breakpoints in overlays.
1123 (overlay_events_enabled): New state variable.
1124 (insert_breakpoints): Use overlay_events_enabled to decide
1125 whether to attempt to set a breakpoint at the overlay load addr.
1126 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1127 (remove_breakpoint): Use overlay_events_enabled to decide
1128 whether breakpoints need to be removed from overlay load addr.
1129 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1130 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
1131 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
1132 disable_overlay_breakpoints): Update overlay_events_enabled.
1133
5fb290d7
DJ
11342002-04-04 Daniel Jacobowitz <drow@mvista.com>
1135
1136 * dwarf2read.c (struct function_range): New.
1137 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
1138 (check_cu_functions): New.
1139 (read_file_scope): Initialize global function lists.
1140 Call dwarf_decode_line after processing children.
1141 (read_func_scope): Add to global function list.
1142 (dwarf_decode_lines): Call check_cu_functions everywhere
1143 record_line is called. Call record_line with a linenumber
1144 of 0 to mark sequence ends.
1145
7b3fabf0
ML
11462002-04-04 Michal Ludvig <mludvig@suse.cz>
1147
1148 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
1149 change sync with glibc.
1150
bce58c09
JB
11512002-04-03 Jim Blandy <jimb@redhat.com>
1152
1153 * configure.in: Call AC_C_INLINE.
1154 * configure: Regenerated.
1155
2fccf04a
DJ
11562002-04-01 Daniel Jacobowitz <drow@mvista.com>
1157
1158 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
1159 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
1160
2d1bfe2e
MK
11612002-03-31 Mark Kettenis <kettenis@gnu.org>
1162
a5941fbf
MK
1163 * NEWS: Mention gcore support on FreeBSD/i386.
1164
a90cd31d
MK
1165 * fbsd-proc.c: New file.
1166 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
1167 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
1168
2d1bfe2e
MK
1169 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
1170 while statement.
1171
9eb6e5a1
JB
11722002-03-29 Jim Blandy <jimb@redhat.com>
1173
1174 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
1175 unescaped newlines in string literals, but newer ones don't. So
1176 escape them.
1177
f02df580
MS
11782002-03-26 Michael Snyder <msnyder@redhat.com>
1179 Andrew Cagney <cagney@redhat.com>
1180
1181 * cli/cli-dump.c: New file. Dump memory to file,
1182 restore file to memory.
1183 * cli/cli-dump.h: New file.
1184 * Makefile.in: Add rules, dependencies for cli-dump.o.
89743e04 1185 * NEWS: Mention new commands.
f02df580 1186
109f874e
MS
11872002-03-28 Michael Snyder <msnyder@redhat.com>
1188
1189 * symfile.c (symbol_file_add): Move test for null symbols to later.
1190
520f6ade
AC
11912002-03-27 Andrew Cagney <ac131313@redhat.com>
1192
1193 From veksler at il.ibm.com:
1194 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
1195 the xstrduped original path.
1196 Fix PR gdb/417.
1197
d4654627
MS
11982002-03-27 Michael Snyder <msnyder@redhat.com>
1199
1200 * breakpoint.c (_initialize_breakpoint): Clean up help string.
1201 * infcmd.c (_initialize_infcmd): Ditto.
1202 * language.c (_initialize_language): Ditto.
1203 * symfile.c (_initialize_symfile): Ditto.
1204 * top.c (_init_main): Ditto.
1205 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1206
6be8bc0c
EZ
12072002-03-27 Elena Zannoni <ezannoni@redhat.com>
1208
1209 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
1210 vector registers handling.
1211 (skip_prologue): Handle new AltiVec instructions. Fill in new
1212 fields of frame data.
1213 (frame_get_saved_regs): Fill in information for AltiVec registers.
1214
12af6855
JB
12152002-03-27 Jim Blandy <jimb@redhat.com>
1216
1217 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
1218 a function; leave this macro here to invoke that function.
1219 (symbol_init_mangled_name): Declaration for that function.
1220 * symtab.c (symbol_init_mangled_name): New function.
1221
dc672865
AC
12222002-03-27 Andrew Cagney <ac131313@redhat.com>
1223
1224 * valarith.c: Replace strerror with safe_strerror.
1225 * tracepoint.c: Ditto.
1226 * lin-lwp.c: Ditto.
1227 * go32-nat.c: Ditto.
1228 * inflow.c: Ditto.
1229 * gnu-nat.c: Ditto.
1230
d96429cd
AS
12312002-03-27 Andreas Schwab <schwab@suse.de>
1232
1233 * event-top.c (command_line_handler): Remove useless if.
1234
7e336ba1
AJ
12352002-03-27 Andreas Jaeger <aj@suse.de>
1236
1237 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
1238 comment.
1239
de220d0f
ML
12402002-03-27 Michal Ludvig <mludvig@suse.cz>
1241
1242 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
1243 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
1244 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
1245 (x86_64_linux_dr_get_status, supply_gregset),
1246 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
1247 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
1248 (x86_64_register_info_table): Add.
1249 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
1250 (x86_64_register_raw_size, x86_64_register_virtual_type),
1251 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
1252 general x86_64_register_info_table.
1253 (i386_gdbarch_init): gdbarch_register_bytes is now set
1254 dynamicaly during initialization.
1255 * regformats/reg-x86-64.dat: Synced with changes to registers above.
1256 * gdbserver/linux-x86-64-low.c: Ditto.
7e336ba1 1257
0e98d0a7
DJ
12582002-03-27 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * gdbserver/server.c (main): Call target_signal_to_host_p
1261 and target_signal_to_host on signals received from the remote.
1262 * gdbserver/remote-utils.c (prepare_resume_reply): Call
1263 target_signal_from_host on signals sent to the remote.
1264 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
1265 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
1266
3130066b
DJ
12672002-03-27 Daniel Jacobowitz <drow@mvista.com>
1268
1269 * signals/signals.c: Include "server.h" in gdbserver build.
1270 (target_signal_from_name): Don't use STREQ.
1271 (_initialize_signals): Likewise. Don't include function in
1272 gdbserver build.
1273
9aedf4f4
DJ
12742002-03-27 Daniel Jacobowitz <drow@mvista.com>
1275
1276 * signals.c: Moved to...
1277 * signals/signals.c: Here.
7e336ba1 1278 * Makefile (signals.o): Update.
9aedf4f4 1279
3fa41cdb
JL
12802002-03-26 Jeff Law (law@redhat.com)
1281
1282 * somread.c (som_symtab_read): Remove some commented out code and
1283 updated related comments. Do not set the minimal symbol table to
1284 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
1285 in a dynamic executable.
1286 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
1287 where we are unable to find the minimal symbol for the given
1288 PC value.
1289
ee677e8d
MS
12902002-03-25 Jeff Law (law@redhat.com)
1291
1292 * linux-proc.c (read_mapping): Scan up to end of line for filename.
1293
e76e1718
ML
12942002-03-25 Michal Ludvig <mludvig@suse.cz>
1295
1296 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
1297
18a642a1
AC
12982002-03-23 Andrew Cagney <ac131313@redhat.com>
1299
1300 * command.h: Update copyright.
1301 (struct cmd_list_element): Replace definition with opaque
1302 declaration.
1303 (enum cmd_types): Document that it will eventually be moved to
1304 cli/cli-decode.h
1305 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
1306 (MALLOCED_REPLACEMENT): Delete macro.
1307 * Makefile.in (cli_decode_h): Add $(command_h).
1308 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
7e336ba1 1309 * top.c: Include "cli/cli-decode.h".
18a642a1
AC
1310 * completer.c: Include "cli/cli-decode.h".
1311 * maint.c: Include "cli/cli-decode.h".
1312 * cli/cli-decode.h: Include "command.h".
1313 (enum command_class): Delete.
1314 (enum cmd_types): Comment out.
1315 (enum cmd_auto_boolean): Delete.
1316 (enum var_types): Delete.
1317
b2875cc0
AC
13182002-03-23 Andrew Cagney <ac131313@redhat.com>
1319
1320 * cli/cli-decode.c: Include "gdb_assert.h".
1321 (add_set_or_show_cmd): New static function.
1322 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
1323 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
1324 all fields, such as func, from the set command.
1325
3b45974e
AC
13262002-03-23 Andrew Cagney <ac131313@redhat.com>
1327
1328 * MAINTAINERS (sh-elf): Change warning flag to -w.
1329
823ca731
AC
13302002-03-23 Andrew Cagney <cagney@redhat.com>
1331
1332 * defs.h (error): Add printf format attribute.
1333 * thread-db.c (thread_from_lwp): Fix error format string.
1334 * stack.c (parse_frame_specification): Ditto.
1335 * cli/cli-decode.c (undef_cmd_error): Ditto.
1336 * scm-lang.c (scm_lookup_name): Ditto.
1337 * tracepoint.c (trace_error): Ditto.
1338 * remote-utils.c (usage): Ditto.
1339 * remote.c (compare_sections_command): Ditto.
1340 Fix PR gdb/328.
1341
0e101458
AC
13422002-03-22 Andrew Cagney <ac131313@redhat.com>
1343
1344 * gdbtypes.c (append_composite_type_field): New function.
1345 (init_composite_type): New function.
1346 * gdbtypes.h (append_composite_type_field): Declare.
1347 (init_composite_type): Ditto.
1348
8e0662df
EZ
13492002-03-22 Elena Zannoni <ezannoni@redhat.com>
1350
1351 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
7e336ba1 1352 function.
8e0662df
EZ
1353 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
1354 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
1355 structure returning convention for SYSV ABI case, but not
1356 for GNU/Linux, FreeBSD, or NetBSD.
1357
3121eff0
DJ
13582002-03-22 Daniel Jacobowitz <drow@mvista.com>
1359
1360 * symtab.h (lookup_block_symbol): Add mangled_name argument
1361 to prototype.
1362
1363 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
1364 with new mangled_name argument.
1365 * linespec.c (decode_line_1): Likewise.
1366 * valops (value_of_this): Likewise.
1367 * symtab.c (lookup_transparent_type): Likewise.
1368 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
1369 (lookup_symbol): If we are given a mangled name, pass it down
1370 to lookup_symbol_aux.
1371 (lookup_block_symbol): If we are given a mangled name to check
1372 against, only return symbols which match it.
1373
349b409f
CF
13742002-03-22 Christopher Faylor <cgf@redhat.com>
1375
1376 * win32-nat.c (child_create_inferior): Check for proper shell to use
1377 here, in case the user changes it on the fly.
1378 (_initialize_inftarg): Remove shell path considerations.
1379
2a873819
EZ
13802002-03-21 Elena Zannoni <ezannoni@redhat.com>
1381
1382 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
1383 for gdbarch_max_register_raw_size and max_register_virtual_size.
1384 Adjust copyright year.
1385
a1b9830c
DJ
13862002-03-21 Daniel Jacobowitz <drow@mvista.com>
1387
1388 * dbxread.c (process_one_symbol): Extend the first N_SLINE
1389 in a function to cover the entire beginning of the function
1390 as well if it does not already.
1391
8b5790f2
TR
13922002-03-21 Tom Rix <trix@redhat.com>
1393
1394 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
1395 (rs6000_ptrace64): Renamed from ptrace64.
1396
bdbe5747
MH
13972002-03-20 Martin M. Hunt <hunt@redhat.com>
1398
1399 * gdbserver/remote-utils.c (remote_open): Don't call
1400 getprotobyname, we're all using TCP here so just use
1401 IPPROTO_TCP.
7e336ba1 1402 * gdbserver/gdbreplay.c (remote_open): Ditto.
bdbe5747
MH
1403
14042002-03-20 Martin M. Hunt <hunt@redhat.com>
7e336ba1 1405
bdbe5747
MH
1406 * regcache.c (_initialize_regcache): No need to call
1407 build_regcache() at this time; it gets called whenever
1408 the gdbarch changes.
1409
7781cd62
DB
14102002-03-20 David O'Brien <obrien@FreeBSD.org>
1411
1412 * sparc-nat.c: Include sys/param.h where possible.
1413
f65ca430
DJ
14142002-03-20 Daniel Jacobowitz <drow@mvista.com>
1415
1416 Fix PR gdb/422.
1417 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
1418 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
1419 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
1420 complex types.
1421 * stabsread.c (rs6000_builtin_type): Likewise.
1422 (read_sun_floating_type): Likewise.
1423
0c867556
PS
14242002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1425
1426 * stabsread.c (read_member_functions): Remove skip code for duplicate
1427 constructor/destructor methods. Use standard parsing for these
1428 methods and just do not chain them to the list of methods after
1429 parsing.
1430
12b9c64f
AO
14312002-03-19 Alexandre Oliva <aoliva@redhat.com>
1432
1433 * coffread.c: Remove redundant static declarations. Replace
1434 occurrences of `PTR' with `void *'.
1435 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
1436 * top.h (quit_cover): Likewise.
1437 * defs.h (catch_errors): Likewise.
1438
349c5d5f
AC
14392002-03-18 Andrew Cagney <ac131313@redhat.com>
1440
1441 * defs.h (XMALLOC): Define.
1442 * gdb-events.sh (XMALLOC): Delete macro.
1443 * gdb-events.c, gdb-events.h: Regenerate.
1444 * gdbarch.sh (XMALLOC): Delete macro.
1445 * gdbarch.c: Regenerate.
1446 * serial.c (XMALLOC): Delete macro.
1447 * ui-file.c (XMALLOC): Ditto.
1448 * ser-unix.h (XMALLOC): Ditto.
1449 * sh-tdep.c (XMALLOC): Ditto.
1450 * ui-out.c (XMALLOC): Ditto.
1451 * utils.c (XMALLOC): Ditto.
1452 * i386-tdep.c (XMALLOC): Ditto.
1453 * gdb-events.c (XMALLOC): Ditto.
1454 * d10v-tdep.c (XMALLOC): Ditto.
1455 * cli-out.c (XMALLOC): Ditto.
1456
1457 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
1458 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
1459 * ui-file.c, ui-out.c: Ditto.
1460
7d0766f3
AC
14612002-03-18 Andrew Cagney <ac131313@redhat.com>
1462
1463 * command.h (struct cmd_list_element): Add field context.
1464 (set_cmd_context, get_cmd_context): Declare.
1465 * cli/cli-decode.h: Ditto.
1466 * cli/cli-decode.c (get_cmd_context): New function.
1467 (set_cmd_context): New function.
1468 (add_cmd): Initialize context.
1469 Part of fixing PR gdb/145 and PR gdb/146.
1470
5913bcb0
AC
14712002-03-17 Andrew Cagney <ac131313@redhat.com>
1472
1868c04e
AC
1473 * cli/cli-decode.c (cmd_type): New function.
1474 * command.h (cmd_type): Declare.
1475 * infrun.c (set_schedlock_func): Call function cmd_type.
1476 * kod.c (kod_set_os): Call cmd_type.
1477 * cris-tdep.c (cris_version_update): Use function cmd_type.
1478 (cris_mode_update, cris_abi_update): Ditto.
1479
5913bcb0
AC
1480 * command.h: (execute_cmd_post_hook): Declare.
1481 (execute_cmd_pre_hook): Declare.
1482 * cli/cli-script.c (clear_hook_in_cleanup): New function.
1483 (execute_cmd_post_hook, execute_cmd_pre_hook): New
1484 functions. Execute pre/post hook while ensuring that afterwords
1485 hook_in is cleared.
1486 * top.c (execute_command): Use execute_cmd_post_hook, and
1487 execute_cmd_pre_hook to execute pre/post commands.
1488 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
1489 hook_stop_stub.
1490 (hook_stop_stub): Call execute_cmd_pre_hook.
1491
b51450c9
AC
14922002-03-17 Andrew Cagney <ac131313@redhat.com>
1493
1494 * kod.c (kod_set_os): Revert previous change. Is called by ``info
1495 set'' and this leads to a core dump. Move xstrdup of
1496 operating_system to after check that it is not NULL.
1497
f66c9f11
AC
14982002-03-17 Andrew Cagney <ac131313@redhat.com>
1499
8e694ecf
AC
1500 * kod.c (kod_set_os): Remove unnecessary check that
1501 ``command->type'' is set_cmd.
1502
f66c9f11
AC
1503 * valprint.c (set_input_radix): Use input_radix.
1504 (set_output_radix): Use output_radix.
1505 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
1506 isn't reverted.
1507
9d01611c
AC
15082002-03-16 Andrew Cagney <ac131313@redhat.com>
1509
1510 * value.h (struct value): Delete field ``substring_addr''. Change
1511 aligner fields to force_doublest_align, force_longest_align,
ee2d3b3a
AC
1512 force_core_addr_align and force_pointer_aligh.
1513
1514 * value.h (struct value): Fix typo in above change.
9d01611c 1515
4156bb53
PS
15162002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1517
1518 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
1519 to fix internal_error from ``maintenance print architecture''.
1520
0e5e3ea6
PS
15212002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1522
1523 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
1524 for gcc versions after gcc-2.8.1.
1525
9b013045
PS
15262002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1527
1528 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
1529 for method resolution. Restore adjustment of ``this'' pointer after
1530 calling value_struct_elt, which was accidentally removed during the
1531 HP merge.
1532
376c9600
AC
15332002-03-15 Andrew Cagney <ac131313@redhat.com>
1534
1535 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
1536 value_of_register.
1537 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
1538 get_saved_register.
1539 * value.h (value_of_register): Update.
1540
a4db0f07
RH
15412002-03-14 Richard Henderson <rth@redhat.com>
1542
1543 * configure.in: Detect declaration for canonicalize_file_name.
1544 * utils.c (canonicalize_file_name): Declare, if needed.
1545 (gdb_realpath): Prefer realpath if available and usable.
1546 * config.in, configure: Rebuild.
1547
96383835
RH
15482002-03-14 Richard Henderson <rth@redhat.com>
1549
1550 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
1551 a constant array bound.
1552
1553 * MAINTAINERS: Add myself to write-after-approval.
1554
75245b24
MS
15552002-03-14 Michael Snyder <msnyder@redhat.com>
1556
1557 * symfile.c (syms_from_objfile): Return immediately if no syms.
1558 (symbol_file_add): Return immediately if no syms.
1559 (find_sym_fns): Return immediately if no syms.
1560
e641a1ca
ML
15612002-03-13 Michal Ludvig <mludvig@suse.cz>
1562
1563 * gdbserver/remote-util.c (remote_open): Print remote-side's
1564 IP address when remote debugging over the network.
7e336ba1 1565
df08bfec
DB
15662002-03-12 David O'Brien <obrien@FreeBSD.org>
1567
1568 * config/sparc/fbsd.mh: Fix copyright.
1569 * config/sparc/fbsd.mt: Likewise.
1570
9a57864f
RE
15712002-03-11 Richard Earnshaw <rearnsha@arm.com>
1572
1573 * MAINTAINERS: Fix typo in name of gdb warnings option.
1574 (x86-64): Fix formating so that this can be parsed by awk.
1575
dd7bf85e
DJ
15762002-03-10 Daniel Jacobowitz <drow@mvista.com>
1577
1578 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
1579 * defs.h: Include "gdb/signals.h".
1580 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
1581
33a0a2ac
ML
15822002-03-10 Michal Ludvig <mludvig@suse.cz>
1583
1584 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
7e336ba1 1585 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
33a0a2ac
ML
1586 from x86-64-tdep.h
1587
dd824b04
DJ
15882002-03-10 Daniel Jacobowitz <drow@mvista.com>
1589 Don Howard <dhoward@redhat.com>
1590
1591 * mips-tdep.c (ST0_FR): Define.
1592 (mips2_fp_compat): New function, temporarily disabled.
1593 (mips_read_fp_register_single): New function.
1594 (mips_read_fp_register_double): New function.
1595 (mips_print_register): Use them.
1596 (do_fp_register_row): Likewise.
1597
6a41ff59
AC
15982002-03-09 Andrew Cagney <ac131313@redhat.com>
1599
1600 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
1601 approval''.
1602
4ea09c10
PS
16032002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1604
1605 * stabsread.c (read_member_functions): Fix is_stub test for
1606 static member functions, improve comment.
1607
6ccc741d
RE
16082002-03-07 Richard Earnshaw <rearnsha@arm.com>
1609
1610 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
1611 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
1612 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
1613 commands that set boolean values.
1614 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
1615 (arm_rdi_resume): Always initialize PC.
1616 (arm_rdi_open): Don't use rslt as a boolean.
1617 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
1618 (arm_rdi_fetch_registers, arm_rdi_store_registers)
1619 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
1620 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
1621
438013df
AO
16222002-03-06 Alexandre Oliva <aoliva@redhat.com>
1623
1624 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
1625 * configure: Rebuilt.
1626
70ed8774
SC
16272002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1628
1629 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
1630 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
1631
5ba2abeb
AC
16322002-03-06 Andrew Cagney <ac131313@redhat.com>
1633
1634 * cli/cli-decode.c (set_cmd_completer): New function.
1635 * command.h (set_cmd_completer): Declare.
1636 * cli/cli-decode.h (set_cmd_completer): Ditto.
1637
1638 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
1639 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1640 * win32-nat.c (_initialize_inftarg): Ditto.
1641 * remote-rdi.c (_initialize_remote_rdi): Ditto.
1642 * proc-api.c (_initialize_proc_api): Ditto.
1643 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
1644 * source.c (_initialize_source): Ditto.
1645 * exec.c (_initialize_exec): Ditto.
1646 * solib.c (_initialize_solib): Ditto.
1647 * top.c (init_main): Ditto.
1648 * tracepoint.c (_initialize_tracepoint): Ditto.
1649 * symfile.c (_initialize_symfile): Ditto.
1650 * printcmd.c (_initialize_printcmd): Ditto.
1651 * infcmd.c (_initialize_infcmd): Ditto.
1652 * corefile.c (_initialize_core): Ditto.
1653
f779ca99
AC
16542002-03-05 Andrew Cagney <ac131313@redhat.com>
1655
1656 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
1657
01a3934b
AC
16582002-03-05 Andrew Cagney <ac131313@redhat.com>
1659
1660 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
1661
37057839
AC
16622002-03-05 Andrew Cagney <ac131313@redhat.com>
1663
1664 * NEWS: Update headings, 5.2 has branched.
1665
c6ecbae5
DJ
16662002-03-04 Daniel Jacobowitz <drow@mvista.com>
1667
1668 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
1669 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
1670 (register_addr, REGISTER_RAW_SIZE): Likewise.
1671 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
1672 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
1673
e9f30c21
ML
16742002-03-03 Michal Ludvig <mludvig@suse.cz>
1675
1676 * MAINTAINERS (x86-64): Add myself.
1677 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
1678 changed value_ptr -> struct value *
1679
54394ac3
DB
16802002-03-01 David O'Brien <obrien@FreeBSD.org>
1681
1682 * configure.host (sparc64-*-freebsd): Add.
1683 * configure.tgt: Likewise.
1684 * config/sparc/fbsd.mh: New file.
1685 * config/sparc/fbsd.mt: Likewise.
1686 * config/sparc/nm-fbsd.h: Likewise.
1687 * config/sparc/tm-fbsd.h: Likewise.
1688
bfe95955
DJ
16892002-03-01 Daniel Jacobowitz <drow@mvista.com>
1690
1691 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
1692 regformats/reg-s390x.dat.
1693
f33c6cbf
AC
16942002-03-01 Andrew Cagney <ac131313@redhat.com>
1695
1696 * utils.c: Add FIXME explaining true/false problem.
1697
5ecaa7dd
AC
16982002-02-28 Andrew Cagney <ac131313@redhat.com>
1699
1700 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
1701
2a251cc2
MC
17022002-02-28 Michael Chastain <mec@shout.net>
1703
1704 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
1705
6a8031a3 17062002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
1707
1708 * gdbserver/linux-s390-low.c: New file.
1709 * regformats/reg-s390.dat: New file.
1710 * regformats/reg-s390x.dat: New file.
1711 * gdbserver/configure.srv: Add S/390.
1712 * gdbserver/Makefile.in: Add S/390.
1713 * configure.tgt: Enable gdbserver for S/390.
1714
ac469903
EZ
17152002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
1716
1717 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
1718 first line of the doc string for "info dos", except at the end of
1719 the sentence, since the short help stops at the first period.
1720
985cb1a3
JM
17212002-02-28 Jason Merrill <jason@redhat.com>
1722
1723 * dwarf2read.c (dwarf_cfi_name): Add new codes.
1724
c570663e
FF
17252002-02-27 Fred Fish <fnf@redhat.com>
1726
1727 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
1728 comment (dumy -> dummy).
1729
43630227
PS
17302002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1731
1732 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
1733
b84911e8
RB
17342002-02-27 Rodney Brown <rbrown64@csc.com.au>
1735
1736 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
1737
58caa3dc
DJ
17382002-02-27 Daniel Jacobowitz <drow@mvista.com>
1739
1740 * gdbserver/acconfig.h: New file.
1741 * gdbserver/i387-fp.c: New file.
1742 * gdbserver/i387-fp.h: New file.
1743 * gdbserver/linux-x86-64.c: New file.
1744 * regformats/reg-x86-64.dat: New file.
1745 * configure.tgt: Add x86_64-*-linux* gdbserver support.
1746 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
1747 * gdbserver/configure.in: Add support for regsets.
1748 * gdbserver/config.in: Regenerate.
1749 * gdbserver/configure: Regenerate.
1750 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
1751 * gdbserver/linux-low.h: New file.
1752 * gdbserver/linux-low.c: Include "linux-low.h". Add support
1753 for regsets.
1754 * gdbserver/linux-arm-low.c: Include "linux-low.h".
1755 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
1756 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
1757 * gdbserver/linux-mips-low.c: Include "linux-low.h".
1758 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
1759 * gdbserver/linux-sh-low.c: Include "linux-low.h".
1760 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
1761 "i387-fp.h". Add PTRACE_GETREGS and friends.
1762 * gdbserver/regcache.c (supply_register): New function.
1763 (supply_register_by_name): New function.
1764 (collect_register): New function.
1765 (collect_register_by_name): New function.
1766
93652174
DJ
17672002-02-27 Daniel Jacobowitz <drow@mvista.com>
1768
1769 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
1770 (config.status): Add configure.srv dependency.
1771 (server_h): Add config.h dependency.
1772
a02e4a61
DJ
17732002-02-27 Daniel Jacobowitz <drow@mvista.com>
1774
1775 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
1776 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
1777 * gdbserver/configure.srv: Change i386-*-linux* to use
1778 reg-i386-linux.o.
1779
ce0eebec
AC
17802002-02-26 Andrew Cagney <ac131313@redhat.com>
1781
1782 * x86-64-tdep.c: Re-indent. Update copyright date.
1783
82dbc5f7
AC
17842002-02-26 Andrew Cagney <ac131313@redhat.com>
1785
1786 From Michal Ludvig <mludvig@suse.cz>:
1787 * x86-64-tdep.c (value.h): Delete.
1788 (gdb_assert.h): Include.
1789 (x86_64_register_convert_to_virtual,
1790 x86_64_register_convert_to_raw ): Add check which lets only
1791 floating-point values to be converted.
1792 (value_push): Delete.
1793 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
1794 (i386_gdbarch_init): Number of register_bytes fixed.
1795
e4621584
AC
17962002-02-26 Andrew Cagney <ac131313@redhat.com>
1797
1798 * MAINTAINERS: Add x86-64 target.
1799
81a9a963
AC
18002002-02-26 Andrew Cagney <ac131313@redhat.com>
1801
1802 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
1803 * osfsolib.c (solib_map_sections): Ditto.
1804 * irix5-nat.c (solib_map_sections): Ditto.
1805 * corelow.c (gdb_check_format): Ditto.
1806 * symfile.c (symfile_bfd_open): Ditto.
1807 * solib.c (solib_map_sections): Ditto.
1808 Fix PR gdb/354.
7e336ba1 1809
0f017ab9
AC
18102002-02-26 Andrew Cagney <ac131313@redhat.com>
1811
1812 * remote.c (_initialize_remote): By default, disable ``e'' and
1813 ``E'' step out-of-range packets.
1814
75738c29
AS
18152002-02-26 Andreas Schwab <schwab@suse.de>
1816
1817 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
1818 m68k_linux_frame_saved_pc.
1819 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
1820 in_sigtramp.
1821 (SIGCONTEXT_PC_OFFSET): Remove.
1822 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
1823 m68k_linux_sigtramp_saved_pc): New functions.
1824 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
1825 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
1826 (UCONTEXT_PC_OFFSET): Define.
1827 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
1828 non-RT and RT signal trampolines.
1829
7e8ed687
RE
18302002-02-26 Richard Earnshaw <rearnsha@arm.com>
1831
1832 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
1833 (TARGET_NBPG, STACK_END_ADDR): Delete
1834 (VARIABLES_INSIDE_BLOCK): Delete.
1835
6972bc8b
AC
18362002-02-25 Andrew Cagney <ac131313@redhat.com>
1837
1838 * utils.c (perror_with_name): Make string parameter constant.
1839 (print_sys_errmsg): Ditto.
1840 (query): Ditto.
1841 * defs.h (perror_with_name): Update.
1842 (print_sys_errmsg): Update.
1843 (query): Update.
1844
aa32f823
DJ
18452002-02-25 Daniel Jacobowitz <drow@mvista.com>
1846
1847 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
1848 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
1849
19caaa45
PS
18502002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1851
1852 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
1853 if it already matches the current architecture from the exec file.
1854 Include arch-utils.h for gdbarch_info_init prototype.
1855 * Makefile.in (rs6000-nat.o): Update dependencies.
1856
d951901f
EZ
18572002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
1858
1859 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
1860 list of exported variables.
1861
7ea81414
DJ
18622002-02-24 Daniel Jacobowitz <drow@mvista.com>
1863
1864 * gdbserver/configure.srv: New file.
1865 * gdbserver/configure.in: Use configure.srv instead
1866 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
1867 from it.
1868 * gdbserver/configure: Regenerated.
1869 * gdbserver/terminal.h: New file.
1870 * gdbserver/Makefile.in: Update for configure changes. Remove
1871 more unneeded include paths.
1872
080fe24b
AC
18732002-02-24 Andrew Cagney <ac131313@redhat.com>
1874
1875 From wiz at danbala:
1876 * config/sparc/tm-sp64.h: Fix grammar and typos.
1877 Fix PR gdb/287.
1878
8605d56e
AC
18792002-02-24 Andrew Cagney <ac131313@redhat.com>
1880
1881 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
1882 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
1883 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
1884 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
1885 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
1886 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
1887 * s390-tdep.c: Ditto.
92362027
AC
1888 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
1889 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
1890 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
1891 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
1892 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
1893 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
1894 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
1895 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
1896 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
1897 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e 1898 Fix PR gdb/378.
7e336ba1 1899
8ed32cc0
AC
19002002-02-23 Andrew Cagney <ac131313@redhat.com>
1901
a3007b6f
AC
1902 * lin-thread.c: Delete file.
1903 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
1904 to gdb_proc_service.h.
1905 * configure: Re-generate.
1906
50a9e2f1
AC
1907 * ocd.c (ocd_open): Do not try to open the "ocd" device.
1908 * serial.c (serial_open): Delete check for "ocd".
1909 Fix PR gdb/349.
1910
8b6e7932
AC
1911 * Makefile.in (linux-thread.o): Delete target.
1912 * linux-thread.c: Delete file.
1913
d155c46b
AC
1914 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
1915 renamed SH files to be consistent.
1916
8ed32cc0
AC
1917 * symtab.c (sort_search_symbols): Use xfree.
1918
0e18d038
RE
19192002-02-23 Richard Earnshaw <rearnsha@arm.com>
1920
1921 * arm-linux-tdep.c (arm_linux_init_abi): Register
1922 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
1923 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
1924 definition with undef, since we don't want the sysvr4 definition.
1925 (SKIP_TRAMPOLINE_CODE): Likewise.
1926
27aac7ff
AC
19272002-02-23 Andrew Cagney <ac131313@redhat.com>
1928
1929 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
1930
1931 * configure.in: (AC_CHECK_FUNCS) Added test for
1932 canonicalize_file_name Regenerated.
1933 * config.in, configure: Regenerated.
1934 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
1935 defined use canonicalize_file_name.
7e336ba1 1936
65a6e0ee
MC
19372002-02-23 Michael Chastain <mec@shout.net>
1938
1939 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
1940
47b95330
AC
19412002-02-23 Andrew Cagney <ac131313@redhat.com>
1942
1943 * README: Remove references to cygnus.com.
1944 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
1945 dot com'' form. Remove references to cygnus.com and sourceware.
1946
696f451b
AC
19472002-02-23 Andrew Cagney <ac131313@redhat.com>
1948
1949 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
1950 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1951 1003.1-2001 no longer allows "head -1".
1952 * gdb/Makefile.in (version.c): Likewise.
1953 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
1954 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
1955 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
1956
bbaca940
AC
19572002-02-23 Andrew Cagney <ac131313@redhat.com>
1958
1959 * cli/cli-decode.c (cmd_cfunc_eq): New function.
1960 * command.h (cmd_cfunc_eq): Declare.
1961 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
1962
1963 * cli/cli-cmds.h (is_complete_command): Change parameter to a
1964 ``struct cmd_list_element *''.
1965 * cli/cli-cmds.c (is_complete_command): Update. Use
1966 cmd_cfunc_eq.
1967 * top.c (execute_command): Pass the command to
1968 is_complete_command.
1969 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
1970
b8b8b047
AC
19712002-02-23 Andrew Cagney <ac131313@redhat.com>
1972
1973 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
1974 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
1975 architecture defines.
1976 * s390-tdep.c (s390_gdbarch_init): Likewise.
1977
19d3fc80
RE
19782002-02-23 Richard Earnshaw <rearnsha@arm.com>
1979
1980 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
1981 (arm_linux_push_arguments): Likewise.
1982 (arm_linux_init_abi): Register them. Also register linux-specific
1983 call_dummy_words.
1984 (find_minsym_and_objfile): Use strcmp, not STREQ.
1985 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
1986 (arm_linux_call_dummy_words): Delete declaration.
1987 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
1988 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
1989 declarations.
1990 (LOWEST_PC): Delete.
1991
3ab13650
PS
19922002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1993
1994 * maint.c (print_section_info): Do not prepend `0x' to filepos
1995 output, it will be handled by local_hex_string_custom.
1996
19d3fc80 19972002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
1998
1999 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
2000 (store_newfpe_double, store_newfpe_extended, store_fpregister)
2001 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
2002
d85a5daf
JB
20032002-02-22 Jim Blandy <jimb@redhat.com>
2004
2005 Indicate that the bcache functions don't change the strings
2006 they're passed.
2007 * bcache.h (bcache, hash): Add `const' keywords to declarations.
2008 * bcache.c (bcache, hash): Add `const' keywords to definitions.
2009
eeb25b8a
PM
20102002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
2011
2012 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
2013
6badb179
CF
20142002-02-21 Christopher Faylor <cgf@redhat.com>
2015
2016 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
2017 find the complete path to a loaded DLL.
2018
e8717518
FF
20192002-02-21 Fred Fish <fnf@redhat.com>
2020
2021 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
2022 that marks the end of the range of a function, enter a line number
2023 entry that has a line number of zero and a PC offset that matches
2024 the end of the function. This starts a range of PC's for which no
2025 line number information is known.
2026 * symtab.c (find_pc_sect_line): If our best fit is in a range of
2027 PC's for which no line number info is found (line number is zero)
2028 then we didn't find any valid line information.
2029 * symtab.h: Document use of zero line number entry.
2030
9abe5450
EZ
20312002-02-21 Elena Zannoni <ezannoni@redhat.com>
2032
2033 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
2034 (have_ptrace_getvrregs): Define for run time checks.
2035 (gdb_vrregset_t): New type for Altivec register handling.
2036 (fetch_register, store_register): Fetch/store altivec register
2037 when needed.
2038 (fetch_altivec_register, store_altivec_register): New functions.
2039 (supply_vrregset, fill_vrregset): New functions.
2040 (fetch_altivec_registers, store_altivec_registers): New functions.
2041 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
2042 registers as well.
2043
aaa38bb5
AJ
20442002-02-21 Jiri Smid <smid@suse.cz>
2045
2046 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
2047
b34db576
RE
20482002-02-21 Richard Earnshaw <rearnsha@arm.com>
2049
2050 * Makefile.in (armnbsd-nat.o): Update dependencies.
2051 * armnbsd-nat.c (supply_gregset): New function. Common code to
2052 supply the integer register set.
2053 (supply_fparegset): New function. Similar for FPA registers.
2054 (fetch_regs, fetch_fp_regs): Use them.
2055 (fetch_core_registers): Likewise.
2056 (fetch_elfcore_registers): New function.
2057 (arm_netbsd_elfcore_fns): New core-file type specification.
2058 (_initialize_arm_netbsd_nat): Register it.
2059
3e56fc4b
RE
20602002-02-21 Richard Earnshaw <rearnsha@arm.com>
2061
2062 * armnbsd-nat.c: Include gdbcore.h.
2063 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
2064 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
2065 'void' to declaration, to shut up ARI.
2066 (fetch_core_registers): Make static. Rewrite using supply_register.
2067 (arm_netbsd_core_fns): New core-file type specification.
2068 (_initialize_arm_netbsd_nat): New function.
2069
097f6b0b
CF
20702002-02-21 Christopher Faylor <cgf@redhat.com>
2071
2072 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
2073 value.
2074
c914e0cc
CF
20752002-02-20 Christopher Faylor <cgf@redhat.com>
2076
2077 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
2078 fails.
2079
385fa495
DJ
20802002-02-20 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * jv-exp.y (parse_number): Change type of implicit longs
2083 to builtin_type_uint64.
2084
e5f1222d
DJ
20852002-02-20 Daniel Jacobowitz <drow@mvista.com>
2086
2087 * gdbserver/linux-low.c (mywait): Change argument to waitpid
2088 to be an integer instead of a `union wait'.
2089
75c9abc6
DJ
20902002-02-20 Daniel Jacobowitz <drow@mvista.com>
2091
2092 * mips-linux-nat.c: Call the operating system GNU/Linux.
2093 * mips-linux-tdep.c: Likewise.
2094 * mips-tdep.c: Likewise.
2095
551792a5
DJ
20962002-02-20 Daniel Jacobowitz <drow@mvista.com>
2097
2098 Fix PR gdb/265.
2099 * jv-exp.y (parse_number): Handle 64-bit integers.
2100
ee6e2b82
DJ
21012002-02-20 Daniel Jacobowitz <drow@mvista.com>
2102
2103 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
2104 AC_STDC_HEADERS to AC_HEADER_STDC.
2105 * gdbserver/configure: Regenerated.
2106
a48442a0
RE
21072002-02-20 Richard Earnshaw <rearnsha@arm.com>
2108
2109 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
2110 is defined.
2111 * sparc-tdep.c (get_longjmp_target): Likewise.
2112
fe419ffc
RE
21132002-02-20 Richard Earnshaw <rearnsha@arm.com>
2114
2115 * News: Add news about ARM and Multi-arch. Mention the new target
2116 arm*-*-netbsd*.
2117
5832ed7e
JB
21182002-02-19 Jim Blandy <jimb@redhat.com>
2119
2120 * stabsread.c (error_type_complaint): Improve error message.
2121
84563040
DJ
21222002-02-19 Daniel Jacobowitz <drow@mvista.com>
2123
2124 * gdbserver/README: Update documentation.
2125 * gdbserver/configure.in: Update configury to match documentation.
2126 * gdbserver/Makefile.in: Likewise.
2127 * gdbserver/configure: Regenerated.
2128 * gdbserver/aclocal.m4: New file, generated by aclocal.
2129 * gdbserver/config.in: New file, generated by autoheader.
2130
375fd65b
RE
21312002-02-19 Richard Earnshaw <rearnsha@arm.com>
2132
2133 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
2134 armnbsd-nat.c.
2135
08216dd7
RE
21362002-02-19 Richard Earnshaw <rearnsha@arm.com>
2137
2138 * arm-tdep.h (enum arm_float_model): New enum.
2139 (struct gdbarch_tdep): Add fp_model.
2140 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
2141 up floating-point conversions until we know the floating-point model
2142 in use by the inferior. Don't complain about being unable to
2143 determine the ABI of the inferior when we don't have one.
2144 (arm_extract_return_value): Support different floating-point models.
2145 (arm_store_return_value): Likewise.
aaa38bb5 2146 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
2147 ARM_FLOAT_SOFT.
2148 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
2149
65d6d66a
PS
21502002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2151
2152 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
2153 of ``current_gdbarch''.
2154
47221191
RE
21552002-02-19 Richard Earnshaw <rearnsha@arm.com>
2156
2157 * armnbsd-nat.c : ANSIfy all function declarations.
2158 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
2159 (fetch_inferior_registers): Re-implement in terms of above.
2160 (store_register, store_regs, store_fp_register, store_fp_regs): New.
2161 (store_inferior_registers): Re-implement in terms of above.
2162
fdf39c9a
RE
21632002-02-19 Richard Earnshaw <rearnsha@arm.com>
2164
aaa38bb5 2165 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
2166 kernel.
2167 * arm-linux-tdep.c: Likewise.
2168 * config/arm/tm-linux.h: Likewise.
2169
93247f88
RE
21702002-02-19 Richard Earnshaw <rearnsha@arm.com>
2171
2172 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
2173 * config/arm/nbsd.mt (TM_FILE): Delete.
2174 * config/arm/tm-nbsd.h: Delete.
2175
d7b486e7
RE
21762002-02-19 Richard Earnshaw <rearnsha@arm.com>
2177
2178 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
2179 Initialize CALL_DUMMY_LENGTH.
2180
41d39a95
RE
21812002-02-19 Richard Earnshaw <rearnsha@arm.com>
2182
2183 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
2184 function.
2185 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 2186 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
2187 defines one thing and that is incorrect for this port.
2188 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
2189
e1195560
PM
21902002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2191
2192 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
2193
c1748f97
PM
21942002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2195
2196 * win32-nat.c (display_selector): New function. Displays information
2197 about the information returned by GetThreadSelectorEntry API function.
2198 (display_selectors): New function. Displays the infomation of
2199 the selector given as argument, or of CS, DS ans FS selectors
2200 if no argument is given.
2201 ( _initialize_inftarg): Add "w32" as info prefix command.
2202 Add "info w32 selector" as command calling display_selectors.
2203
e41e6bbf
PM
22042002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
2205
2206 * i386-tdep.c (get_longjmp_target): Fix compilation failure
2207 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
2208 if not defined.
2209
0d3a9f48
RE
22102002-02-18 Richard Earnshaw <rearnsha@arm.com>
2211
2212 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
2213
3fb4b924
RE
22142002-02-18 Richard Earnshaw <rearnsha@arm.com>
2215
2216 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
2217 (arm_fix_call_dummy): Call it.
2218 (arm_call_dummy_breakpoint_offset): Delete.
2219 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
2220 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
2221
7f55af32
AC
22222002-02-18 Andrew Cagney <ac131313@redhat.com>
2223
2224 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
2225 Default to func_frame_chain_valid.
2226 * gdbarch.h, gdbarch.c: Re-generate.
2227 * frame.h (FRAME_CHAIN_VALID): Delete definition.
2228
05f13b9c
EZ
22292002-02-18 Elena Zannoni <ezannoni@redhat.com>
2230
2231 * ppc-linux-nat.c: Update copyright.
2232 (fetch_register, store_register): Add tid parameter, don't compute
2233 tid here.
2234 (fetch_ppc_registers, store_ppc_registers): Add tid
2235 parameter. Pass it along to callees.
2236 (fetch_inferior_registers, store_inferior_registers): Compute tid
2237 here, and pass it to calleed functions.
2238 (fill_gregset, supply_fpregset): Clean up formatting.
2239
d7afb4c9
RE
22402002-02-18 Richard Earnshaw <rearnsha@arm.com>
2241
2242 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
2243 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
2244
9df628e0
RE
22452002-02-18 Richard Earnshaw <rearnsha@arm.com>
2246
2247 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
2248 * gdbarch.c gdbarch.h: Regenerate.
2249 * breakpoint.c (create_longjmp_breakpoint): Always compile this
2250 function.
2251 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
2252 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
2253 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
2254
2255 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
2256 * arm-tdep.c (arm_get_longjmp_target): New function.
2257 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
2258 this to a positive value register arm_get_longjmp_target as the
2259 longjmp handler.
2260 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
2261 (arm_linux_init_abi): Set up longjmp description in tdep.
2262 * armnbsd-nat.c (get_longjmp_target): Delete.
2263 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
2264 description in tdep.
2265 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
2266 (get_longjmp_target): Delete declaration.
2267 (GET_LONGJMP_TARGET): Delete.
2268 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
2269 (GET_LONGJMP_TARGET): Delete.
2270
57bc8964
KB
22712002-02-17 Kevin Buettner <kevinb@redhat.com>
2272
2273 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
2274 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
2275 of ``current_gdbarch''.
2276
83d31a92
TT
22772002-02-17 Tom Tromey <tromey@redhat.com>
2278
2279 * cli/cli-cmds.c (compare_strings): New function.
2280 (complete_command): Only print each unique item once.
2281 * completer.h (complete_line): Declare.
2282 * completer.c (complete_line): New function.
2283 (line_completion_function): Use it.
2284
17ef5d92
AC
22852002-02-16 Andrew Cagney <ac131313@redhat.com>
2286
2287 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
2288 * gdbarch.h, gdbarch.c: Re-generate.
2289
491b8946
DJ
22902002-02-16 Daniel Jacobowitz <drow@mvista.com>
2291
2292 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
2293
22942002-02-16 Daniel Jacobowitz <drow@mvista.com>
2295
2296 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
2297 * valops.c (value_arg_coerce): Don't take the address of a reference
2298 to convert an argument to a reference.
2299
dfe7f3ac
CF
23002002-02-15 Christopher Faylor <cgf@redhat.com>
2301
2302 * win32-nat.c (get_image_name): New function.
2303 (handle_load_dll): Use get_image_name function.
2304 (get_child_debug_event): Avoid registering debug events until possibly
2305 execed process is started.
2306 (child_create_inferior): Allow invocation via shell so that command
2307 line redirection, etc. works ok.
2308 (_initialize_inftarg): Add new command: "set shell" to control whether
2309 a shell is used to start a process.
2310
1d33e73a
DJ
23112002-02-15 Daniel Jacobowitz <drow@mvista.com>
2312
2313 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
2314 instead of find_register_by_number.
2315 (cannot_store_register): Likewise.
2316
48cd0caa
PM
23172002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2318
aaa38bb5 2319 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
2320 fprintf_unfiltered (gdb_stderr, ...).
2321
8656e7d8
DJ
23222002-02-15 Daniel Jacobowitz <drow@mvista.com>
2323
2324 * gdbserver/gdbserver.1: Document --attach.
2325
66e810cd
RE
23262002-02-15 Richard Earnshaw <rearnsha@arm.com>
2327
2328 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
2329 descriptions.
2330 * arm-tdep.c (arm_default_arm_le_breakpoint)
2331 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
2332 (arm_default_thumb_be_breakpoint): New. Initialize them from
2333 traditional breakpoint defines.
2334 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
2335 (arm_gdbarch_init): Initialize new breakpoint variables.
2336 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
2337 (arm_linux_init_abi): Initialize linux-specific breakpoint.
2338 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
2339 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
2340 code out to ...
2341 (arm_netbsd_init_abi_common): ... here; new function.
2342 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
2343 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
2344 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
2345 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
2346
97e03143
RE
23472002-02-15 Richard Earnshaw <rearnsha@arm.com>
2348
2349 * arm-tdep.h (enum arm_abi): New enum.
2350 (struct gdbarch_tdep): New structure.
2351 (LOWEST_PC): Provide a default.
2352 (arm_gdbarch_register_os_abi): Declare new function.
2353 * arm-tdep.c (arm_abi_names): New array.
2354 (process_note_abi_tag_sections): New function.
2355 (get_elfosabi): New function.
2356 (arm_gdbarch_register_os_abi): New function.
2357 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
2358 support for that ABI has been built in, then call the appropriate
2359 configuration routine. Use gdbarch_num_regs() to get the number
2360 of registers.
2361 (arm_dump_tdep): New function.
2362 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
2363 place-holder functions.
2364 (_initialize_arm_tdep): Register them.
2365 * config/arm/tm-arm.h (LOWEST_PC): Delete.
2366
2367 * armnbsd-tdep.c: New file.
2368 * Makefile.in (armnbsd-tdep.o): Add dependencies.
2369 * config/arm/nbsd.mt (TDEPFILES): Add it.
2370 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
2371
2372 * armnbsd-nat.c: Include regcache.h.
2373 * Makefile.in (armnbsd-nat.o): Update dependency list.
2374
2375 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
2376
ad68be46
DJ
23772002-02-14 Daniel Jacobowitz <drow@mvista.com>
2378
2379 * gdbserver/Makefile.in: Fix typos in target rules.
2380
003d6d1d
DJ
23812002-02-14 Daniel Jacobowitz <drow@mvista.com>
2382
aaa38bb5 2383 Fix part of PR gdb/267.
003d6d1d
DJ
2384 * linespec.c (find_methods): Handle constructors specially for now.
2385
6b230f1b
CV
23862002-02-14 Corinna Vinschen <vinschen@redhat.com>
2387
2388 * arm-tdep.c (arm_push_arguments): Eliminate special float type
2389 handling.
2390 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
2391 standard_coerce_float_to_double().
2392
1ea98d12
CF
23932002-02-14 Christopher Faylor <cgf@redhat.com>
2394
2395 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
2396 GDBINIT_FILENAME.
2397
dd47e6fd
EZ
23982002-02-14 Elena Zannoni <ezannoni@redhat.com>
2399
2400 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
2401 find_variant_by_name, because it confuses the multiarch
2402 framework. Return NULL if there isn't an architecture with the
2403 user supplied name, instead of forcing a different one without
2404 recording the change with the multiarch machinery.
2405 (find_variant_by_name): Delete.
2406
d7e39b9e
PS
24072002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2408
2409 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
2410 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
2411
76e42a4f
MH
24122002-02-13 Martin M. Hunt <hunt@redhat.com>
2413
aaa38bb5 2414 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
2415 print_frame_info_listing_hook, set current_source_symtab.
2416
0a30fbc4
DJ
24172002-02-14 Daniel Jacobowitz <drow@mvista.com>
2418
2419 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
2420 and remove unused $(INCLUDE_DIR).
2421 Add regcache.c to OBS.
2422 Add generated register protocol files to clean target.
2423 Update dependencies for new objects, obsolete old target code.
2424
2425 * gdbserver/linux-low.c: Remove all platform-specific code to
2426 new files. Remove various dead code. Update to use regcache
2427 functionality.
2428 * gdbserver/remote-utils.c (fromhex): Add return statement
2429 to quiet warning.
2430 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
2431 constant.
2432 (input_interrupt): Add integer parameter to match prototype
2433 of a signal handler.
2434 (outreg): Use register_data ().
2435 (prepare_resume_reply): Use gdbserver_expedite_regs.
2436 * gdbserver/server.c (main): Dynamically allocate own_buf because
2437 PBUFSIZ is no longer constant. Use registers_to_string () and
2438 registers_from_string ().
2439 * gdbserver/server.h: No longer include "defs.h". Add prototypes
2440 for error (), fatal (), and warning (). Update definition of
2441 PBUFSIZ to use regcache functionality. Add include guard.
2442 * gdbserver/utils.c (fatal): Add missing ``const''.
2443 (warning): New function.
2444
2445 * regformats/regdat.sh: Include "regcache.h" in generated files.
2446 Provide init_registers () function.
2447 * regformats/regdef.h: Add prototype for set_register_cache ().
2448 Add include guard.
2449
2450 * gdbserver/linux-arm-low.c: New file.
2451 * gdbserver/linux-i386-low.c: New file.
2452 * gdbserver/linux-ia64-low.c: New file.
2453 * gdbserver/linux-m68k-low.c: New file.
2454 * gdbserver/linux-mips-low.c: New file.
2455 * gdbserver/linux-ppc-low.c: New file.
2456 * gdbserver/linux-sh-low.c: New file.
2457
2458 * gdbserver/regcache.c: New file.
2459 * gdbserver/regcache.h: New file.
2460
2461 * gdbserver/low-linux.c: Removed obsolete file.
2462
4cc841d0
DJ
24632002-02-14 Daniel Jacobowitz <drow@mvista.com>
2464
2465 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
2466 * config/i386/linux.mt: Likewise.
2467 * config/ia64/linux.mt: Likewise.
2468 * config/m68k/linux.mh: Likewise.
2469 * config/powerpc/linux.mh: Likewise.
2470 * config/mips/linux.mt: Likewise.
2471
2472 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
2473
2474 * config/i386/i386lynx.mh: Mark gdbserver variables
2475 as (currently) obsolete for this target.
2476 * config/i386/nbsd.mt: Likewise.
2477 * config/i386/nbsdelf.mt: Likewise.
2478 * config/m32r/m32r.mt: Likewise.
2479 * config/m68k/m68klynx.mh: Likewise.
2480 * config/m68k/nbsd.mt: Likewise.
2481 * config/m68k/sun3os4.mh: Likewise.
2482 * config/mips/vr5000.mt: Likewise.
2483 * config/ns32k/nbsd.mt: Likewise.
2484 * config/pa/hppabsd.mh: Likewise.
2485 * config/pa/hppaosf.mh: Likewise.
2486 * config/powerpc/nbsd.mt: Likewise.
2487 * config/rs6000/rs6000lynx.mh: Likewise.
2488 * config/s390/s390.mt: Likewise.
2489 * config/s390/s390x.mt: Likewise.
2490 * config/sparc/sparclynx.mh: Likewise.
2491 * config/sparc/sun4os4.mh: Likewise.
2492 * config/i386/x86-64linux.mt: Likewise.
2493 * config/sparc/linux.mh: Likewise.
2494
a85f51e7
DJ
24952002-02-14 Daniel Jacobowitz <drow@mvista.com>
2496
2497 * configure.tgt: Configure gdbserver only for known working
2498 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
2499 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
2500 SUBDIRS if it is configured. Update comment for ${nativefile}.
2501 * configure: Regenerated.
2502
65554fef
MS
25032002-02-13 Michael Snyder <msnyder@redhat.com>
2504
670a52db
MS
2505 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
2506
6dbdc4a3
MS
2507 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
2508 (default_gcore_mach): Just return 0, work around a problem in bfd.
2509 (default_gcore_target): OK to return NULL if exec_bfd is null.
2510 (make_mem_sec): Use a cast, avoid a warning.
2511
2512 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 2513 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
2514 sizeof (host pointer) != sizeof (target pointer)).
2515 (procfs_make_note_section): Avoid overflow in psargs string.
2516
aaa38bb5 2517 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
2518 implementation return an error.
2519
25202002-02-13 Rodney Brown <rbrown64@csc.com.au>
2521
2522 * procfs.c (procfs_make_note_section): Provide a default definition
2523 (for alpha-dec-osf4.0f). Fix typos.
2524
1e4d76e7
EZ
25252002-02-13 Elena Zannoni <ezannoni@redhat.com>
2526
2527 * linux-proc.c: Add include of regcache.h.
2528 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
2529
b6d1a1d5
AC
25302002-02-13 Andrew Cagney <ac131313@redhat.com>
2531
2532 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
2533 * memattr.c (create_mem_region): Disallow useless empty region.
2534 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 2535 non-overlapping.
b6d1a1d5 2536
6c6ea35e
MC
25372002-02-13 Michael Chastain <mec@shout.net>
2538
2539 * defs.h: Kill CONST_PTR.
2540 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
2541 * c-lang.c (c_builtin_types): Likewise.
2542 * ch-lang.c (ch_builtin_types): Likewise.
2543 * f-lang.c (f_builtin_types): Likewise.
2544 * language.c (unknown_builtin_types): Likewise.
2545 * m2-lang.c (m2_builtin_types): Likewise.
2546 * p-lang.c (pascal_builtin_types): Likewise.
2547 * scm-lang.c (c_builtin_types): Likewise.
2548
3e0b0f48
KS
25492002-02-13 Keith Seitz <keiths@redhat.com>
2550
2551 * arm-tdep.h (arm_get_next_pc): Add declaration.
2552
67255d04
RE
25532002-02-13 Richard Earnshaw <rearnsha@arm.com>
2554
2555 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
2556 with other related struct-returning functions.
2557 (arm_extract_struct_value_address): New function.
2558 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
2559 initialize float_format, double_format and long_double_format as
2560 appropriate to the endianness of the target.
2561 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
2562 (arm_use_struct_convention): Delete declaration.
2563 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2564
079777f6
KS
25652002-02-13 Keith Seitz <keiths@redhat.com>
2566
2567 * defs.h (core_addr_to_string_nz): New function.
2568
34588f23
MK
25692002-02-13 Mark Kettenis <kettenis@gnu.org>
2570
2571 Apply missing bits of 2002-01-15 patch.
2572 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
2573 (fill_fpregset): Use i387_fill_fsave.
2574
49b563f9
KS
25752002-02-12 Keith Seitz <keiths@redhat.com>
2576
49b563f9
KS
2577 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
2578 (core_addr_to_string_nz): New function.
2579
aeb98c60
RE
25802002-02-11 Richard Earnshaw <rearnsha@arm.com>
2581
2582 * arm-linux-nat.c: Really include arm-tdep.h.
2583 * config/arm/tm-linux.h (struct type, struct value): Declare.
2584
65554fef
MS
25852002-02-11 Michael Snyder <msnyder@redhat.com>
2586
2587 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
2588 (gcore section): Ifdef for Solaris and Unixware only.
2589 (procfs_do_thread_registers): Unixware needs one lwpstatus
2590 per thread (not one prstatus or pstatus).
2591 (procfs_make_note_section): Iterate only over kernel threads (lwps),
2592 not over all gdb threads. For unixware, call elfcore_write_pstatus
2593 once before iterating over threads.
2594
34e8f22d
RE
25952002-02-11 Richard Earnshaw <rearnsha@arm.com>
2596
2597 * arm-tdep.h: New file.
2598 * arm-tdep.c: Include arm-tdep.h.
2599 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2600 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2601 (arm_print_float_info, arm_register_type, convert_to_extended)
2602 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2603 (arm_extract_return_value, arm_register_name): Make static.
2604 (arm_software_single_step): Similarly. Fix types in declaration.
2605 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
2606 (arm_store_return_value, arm_store_struct_return): New functions.
2607 (arm_gdbarch_init): Register the above functions. Also register
2608 call_dummy_start_offset, sizeof_call_dummy_words,
2609 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
2610 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 2611 max_register_virtual_size, register_size. Set up
34e8f22d
RE
2612 prologue_cache.saved_regs here, rather than ...
2613 (_initialize_arm_tdep): ... here.
2614 * config/arm/tm-arm.h (struct type, struct value): Delete forward
2615 declarations.
2616 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2617 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2618 (arm_print_float_info, arm_register_type, convert_to_extended)
2619 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2620 (arm_extract_return_value, arm_register_name): Delete declarations.
2621 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
2622 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
2623 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
2624 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
2625 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
2626 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
2627 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
2628 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
2629 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
2630 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
2631 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
2632 (arm_get_next_pc): No-longer static -- these are needed by the RDI
2633 interface.
2634 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
2635 * remote-rdi.c remote-rdp.c: Likewise.
2636 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
2637 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
2638 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
2639 definition.
2640
2641 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
2642 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
2643 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
2644 from non-ARM_ prefixed definitions.
2645 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
2646 all uses of above.
2647 * remote-rdi.c remote-rdp.c: Likewise.
2648 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2649
148754e5
RE
26502002-02-11 Richard Earnshaw <rearnsha@arm.com>
2651
2652 * arm-tdep.c (arm_frameless_function_invocation)
2653 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2654 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2655 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2656 (arm_pop_frame, arm_get_next_pc): Make static.
2657 (arm_gdbarch_init): Register above in gdbarch structure.
2658 (arm_read_fp): Renamed from arm_target_read_fp.
2659 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
2660 * config/arm/tm-arm.h (arm_frameless_function_invocation)
2661 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2662 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2663 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2664 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
2665 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
2666 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
2667 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
2668 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
2669 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 2670
434d2d4f
DJ
26712002-02-10 Daniel Jacobowitz <drow@mvista.com>
2672
2673 * symtab.c (compare_search_syms): New function.
2674 (sort_search_symbols): New function.
2675 (search_symbols): Sort symbols after searching rather than
2676 before.
2677
55241689
AC
26782002-02-10 Andrew Cagney <ac131313@redhat.com>
2679
2680 * NEWS: Linux -> GNU/Linux.
2681
028c194b
AC
26822002-02-10 Andrew Cagney <ac131313@redhat.com>
2683
2684 * gdbarch.sh: For for level one methods, disallow a definition
2685 when partially multi-arched. Add comments explaining rationale.
2686 * gdbarch.h: Re-generate.
2687
6acf50cd
AC
26882002-02-10 Andrew Cagney <ac131313@redhat.com>
2689
2690 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
2691 multi-arch partial.
aaa38bb5 2692
50248794
AC
26932002-02-10 Andrew Cagney <ac131313@redhat.com>
2694
2695 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
2696 field. Use diff -u.
2697 * gdbarch.c: Re-generate.
2698
c30e0066
AC
26992002-02-10 Andrew Cagney <ac131313@redhat.com>
2700
9b56c5f3 2701 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
2702 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
2703 partial.
2704
6e6d6484
AC
27052002-02-10 Andrew Cagney <ac131313@redhat.com>
2706
2707 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
2708 multi-arch partial.
2709 (PUSH_ARGUMENTS): Switch to using predefault.
2710 * gdbarch.c: Regenerate.
2711
c203844d
AC
27122002-02-10 Andrew Cagney <ac131313@redhat.com>
2713
2714 * valops.c (PUSH_ARGUMENTS): Delete definition.
2715 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
2716 partial. Default to default_push_arguments.
2717 * gdbarch.h, gdbarch.c: Regenerate.
2718
b5a2688f
AC
27192002-02-09 Andrew Cagney <ac131313@redhat.com>
2720
2721 * defs.h (throw_exception): Rename return_to_top_level. Update
2722 comments.
2723 * utils.c (error_stream, internal_verror, quit): Ditto.
2724 * top.c (throw_exception, catcher): Ditto.
2725 * sparclet-rom.c (sparclet_load): Ditto.
2726 * remote.c (interrupt_query, minitelnet): Ditto.
2727 * remote-sds.c (interrupt_query): Ditto.
2728 * remote-mips.c (mips_error, mips_kill): Ditto.
2729 * ocd.c (interrupt_query): Ditto.
2730 * monitor.c (monitor_interrupt_query): Ditto.
2731 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
2732 * target.h: Update comment.
aaa38bb5 2733
b5a2688f 2734 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 2735
2fa5c1e0
AC
27362002-02-09 Andrew Cagney <ac131313@redhat.com>
2737
2738 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
2739 default_double_format.
2740 * gdbarch.h, gdbarch.c: Re-generate.
2741 * findvar.c (floatformat_unknown): Delete variable definition.
2742 * doublest.h (floatformat_unknown): Delete variable declaration.
2743
da966255
JB
27442002-02-09 Jim Blandy <jimb@redhat.com>
2745
2746 * stabsread.c (read_type): Add code to parse Sun's syntax for
2747 prototyped function types.
2748
123a4891
AC
27492002-02-09 Andrew Cagney <ac131313@redhat.com>
2750
2751 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
2752 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
2753
fb39c8f3
PS
27542002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2755
2756 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
2757 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
2758 now _initialize_xcoffsolib gets called again and overrides the
2759 commands from solib.c in a native configuration.
2760
0b87a11d
MK
27612002-02-09 Mark Kettenis <kettenis@gnu.org>
2762
2763 * doublest.c (store_typed_floating): Don't try to return a value.
2764 Fixes PR gdb/290.
2765
bdc2fc72
JB
27662002-02-08 Jim Blandy <jimb@redhat.com>
2767
2768 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
2769 is prototyped and has no arguments, print its argument list as
2770 `(void)'.
2771
da69bbcf
CD
27722002-02-08 Chris Demetriou <cgd@broadcom.com>
2773
2774 * MAINTAINERS (write-after-approval): Add myself.
2775 (paper-trail): I've escaped!
aaa38bb5 2776
b69571f5
CF
27772002-02-08 Christopher Faylor <cgf@redhat.com>
2778
2779 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
2780 changes.
2781 (_initialize_check_for_gdb_ini): Ditto.
2782
f6871398
MH
27832002-02-08 Martin M. Hunt <hunt@redhat.com>
2784
2785 * win32-nat.c (cygwin_pid_to_str): Fix typo.
2786 xaprintf -> xasprintf.
2787
4e52d31c
PM
27882002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
2789
2790 * win32-nat.c: Remove use of printf and sprintf functions.
2791
39bbf761
RE
27922002-02-08 Richard Earnshaw <rearnsha@arm.com>
2793
2794 * arm-tdep.c (arm_frame_chain_valid): Make static.
2795 (arm_push_arguments): Likewise.
2796 (arm_gdbarch_init): New function.
2797 (_initialize_arm_tdep): Call it.
2798 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
2799 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
2800 (FRAME_CHAIN_VALID): Delete.
2801 (arm_frame_chain_valid): Delete declaration.
2802 (PUSH_ARGUMENTS): Delete.
2803 (arm_push_arguments): Delete declaration.
2804 (CALL_DUMMY_P): Delete.
2805
9c9532c9
CV
28062002-02-08 Andrew Cagney <ac131313@redhat.com>
2807 Corinna Vinschen <vinschen@redhat.com>
2808
2809 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
2810 on builtin float types.
2811
4e8f7a8b
DJ
28122002-02-08 Daniel Jacobowitz <drow@mvista.com>
2813
2814 * utils.c: Include <curses.h> before "bfd.h".
2815 * tui/tui-hooks.c: Likewise.
2816 * tui/tui.c: Likewise.
2817 * tui/tuiCommand.c: Likewise.
2818 * tui/tuiData.c: Likewise.
2819 * tui/tuiDataWin.c: Likewise.
2820 * tui/tuiDisassem.c: Likewise.
2821 * tui/tuiGeneralWin.c: Likewise.
2822 * tui/tuiIO.c: Likewise.
2823 * tui/tuiLayout.c: Likewise.
2824 * tui/tuiRegs.c: Likewise.
2825 * tui/tuiSource.c: Likewise.
2826 * tui/tuiSourceWin.c: Likewise.
2827 * tui/tuiStack.c: Likewise.
2828 * tui/tuiWin.c: Likewise.
2829
cd4bffcf
EZ
28302002-02-07 Elena Zannoni <ezannoni@redhat.com>
2831
2832 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
2833 to include space for pseudoregs as well. Update loops accordingly.
2834 (sh_fp_frame_init_saved_regs): Ditto.
2835 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
2836
26806ce2
AC
28372002-02-07 Andrew Cagney <ac131313@redhat.com>
2838
2839 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
2840 Add Richard Earnshaw to Arm maintainers.
2841
97fdab62
AC
28422002-02-07 Andrew Cagney <ac131313@redhat.com>
2843
a6b98203
AC
2844 * defs.h (warning_begin): Delete declaration.
2845
97fdab62
AC
2846 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
2847 Delete macro.
2848
78b29b40
MS
28492002-02-07 Michael Snyder <msnyder@redhat.com>
2850
aaa38bb5 2851 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
2852 Logic bug, remove misplaced else.
2853
d8849953
KD
28542002-02-07 Klee Dienes <klee@apple.com>
2855
2856 * fork-inferior.c (fork_inferior): Add '!' to the list of
2857 characters that need to be quoted when building a string for the
2858 shell. Quote '!' specifically with a backslash, since CSH chokes
2859 when trying to evaluate "str!str".
aaa38bb5 2860
095778a0
NC
28612002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2862
2863 * rdi-share/host.h: Only provide a typedef for bool if it is not
2864 defined.
2865
1900040c
MS
28662002-02-04 Michael Snyder <msnyder@redhat.com>
2867
2868 * breakpoint.h (enum bptype): Add new overlay event bp type.
2869 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 2870
1900040c
MS
2871 * breakpoint.c (create_internal_breakpoint): New function.
2872 (internal_breakpoint_number): Moved into create_internal_breakpoint.
2873 (create_longjmp_breakpoint): Use create_internal_breakpoint.
2874 (create_thread_event_breakpoint): Ditto.
2875 (create_solib_event_breakpoint): Ditto.
2876 (create_overlay_event_breakpoint): New function.
2877 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
2878 (update_breakpoints_after_exec): Delete and re-initialize
2879 overlay event breakpoints after an exec. Add FIXME comment
2880 about longjmp breakpoint.
2881 (print_it_typical): Ignore overlay event breakpoints.
2882 (print_one_breakpoint): Ditto.
2883 (mention): Ditto.
2884 (bpstat_what): Do not stop for overlay event breakpoints.
2885 (delete_breakpoint): Don't delete overlay event breakpoints.
2886 (breakpoint_re_set_one): Delete the overlay event breakpoint.
2887 (breakpoint_re_set): Re-create overlay event breakpoint.
2888
2889 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
2890 (overlay_manual_command): Disable overlay breakpoints.
2891 (overlay_off_command): Disable overlay breakpoints.
2892
082fc60d
RE
28932002-02-06 Richard Earnshaw <rearnsha@arm.com>
2894
2895 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
2896 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
2897 to here from config/tm-arm.h.
2898 (coff_sym_is_thumb): Make static.
2899 (arm_elf_make_msymbol_special): New function.
2900 (arm_coff_make_msymbol_special): New function.
2901 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
2902 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
2903 (coff_sym_is_thumb): Delete declaration.
2904 (arm_elf_make_msymbol_special): Declare.
2905 (arm_coff_make_msymbol_special): Declare.
2906 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
2907 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2908
039c5766
RE
29092002-02-06 Richard Earnshaw <rearnsha@arm.com>
2910
2911 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
2912
29132002-02-06 Richard Earnshaw <rearnsha@arm.com>
2914
2915 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
2916 * gdbarch.c gdbarch.h: Regenerate.
2917 * arch-utils.c (default_print_float_info): New function.
2918 * arch-utils.h (default_print_float_info): Prototype it.
2919 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
2920 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
2921 (PRINT_FLOAT_INFO): Document it.
2922
2923 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
2924 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
2925 (PRINT_FLOAT_INFO): Define.
2926
58fa08f0
PM
29272002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
2928
aaa38bb5 2929 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
2930 Add typecast to sprintf argument to suppress a warning.
2931
7393af7c
PM
29322002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
2933
58fa08f0 2934 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
2935 to allow easier handling of pass state.
2936 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
2937 that gives exception name and address.
2938 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 2939 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 2940 exceptions added.
aaa38bb5
AJ
2941 (child_continue): Correctly report continue_status.
2942 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 2943 TARGET_SIGNAL_0 (new default value).
aaa38bb5 2944 (child_resume): consider sig argument passed to decide if
7393af7c
PM
2945 the exception should be passed to debuggee or not.
2946
6af4589c
MS
29472002-02-05 Michael Snyder <msnyder@redhat.com>
2948
2949 * regcache.c (fetch_register): Call target_fetch_register
2950 only if we don't call FETCH_PSEUDO_REGISTER.
2951 (store_register): Call target_store_register only if we
2952 don't call STORE_PSEUDO_REGISTER.
2953
a2cf933a
EZ
29542002-02-05 Elena Zannoni <ezannoni@redhat.com>
2955
2956 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
2957 ELF_MAKE_MSYMBOL_SPECIAL.
2958 * gdbarch.c, gdbarch.h: Regenerate.
2959 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 2960 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
2961 * elfread.c (elf_symtab_read): Compile use of
2962 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
2963 multiarched.
2964 * coffread.c (coff_symtab_read): Ditto, for
2965 COFF_MAKE_MSYMBOL_SPECIAL.
2966
6bb7be43
JB
29672002-02-05 Jim Blandy <jimb@redhat.com>
2968
2969 * solib-svr4.c (svr4_truncate_ptr): New function.
2970 (svr4_relocate_section_addresses): Do the address arithmetic with
2971 the appropriate truncation for target addresses, even when
2972 CORE_ADDR is larger than a target address.
2973
e18651ec
DJ
29742002-02-05 Daniel Jacobowitz <drow@mvista.com>
2975
2976 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
2977 to (int *).
2978
6b2725be
DJ
29792002-02-05 Daniel Jacobowitz <drow@mvista.com>
2980
2981 * gdbserver/linux-low.c (kill_inferior): Remove commented out
2982 code.
2983
fca9e603
DJ
29842002-02-05 Daniel Jacobowitz <drow@mvista.com>
2985
2986 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2987
6c537a52
DJ
29882002-02-05 Daniel Jacobowitz <drow@mvista.com>
2989
2990 * gdbserver/linux-low.c: Remove unused include files.
2991
d844cde6
DJ
29922002-02-05 Daniel Jacobowitz <drow@mvista.com>
2993
2994 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
2995 (read_inferior_memory): Use it.
2996 (write_inferior_memory): Likewise.
2997
d07c63e7
DJ
29982002-02-05 Daniel Jacobowitz <drow@mvista.com>
2999
3000 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
3001 grubbing through sys_errlist.
3002
da6d8c04
DJ
30032002-02-05 Daniel Jacobowitz <drow@mvista.com>
3004
3005 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
3006
5b421780
PM
30072002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3008 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
3009
9f60d481
AC
30102002-02-04 Andrew Cagney <ac131313@redhat.com>
3011
3012 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
3013 (do_sfunc, set_cmd_sfunc): New functions.
3014
3015 * command.h (struct cmd_list_element): Add field func.
3016 * cli/cli-decode.h (struct cmd_list_element): Ditto.
3017 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
3018 * cli/cli-decode.h: Ditto.
3019
3020 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
3021 (help_all, help_cmd_list): Ditto.
3022 (find_cmd, complete_on_cmdlist): Ditto.
3023 * top.c (execute_command): Ditto.
3024
3025 * cli/cli-setshow.c (do_setshow_command): Call func instead of
3026 function.sfunc.
3027
3028 * infcmd.c (notice_args_read): Fix function signature.
3029
3030 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
3031 * cli/cli-decode.c (add_set_cmd): Ditto.
3032 * utils.c (initialize_utils): Ditto.
3033 * maint.c (_initialize_maint_cmds): Ditto.
3034 * infrun.c (_initialize_infrun): Ditto.
3035 * demangle.c (_initialize_demangler): Ditto.
3036 * remote.c (add_packet_config_cmd): Ditto.
3037 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3038 * cris-tdep.c (_initialize_cris_tdep): Ditto.
3039 * proc-api.c (_initialize_proc_api): Ditto.
3040 * kod.c (_initialize_kod): Ditto.
3041 * valprint.c (_initialize_valprint): Ditto.
3042 * top.c (init_main): Ditto.
3043 * infcmd.c (_initialize_infcmd): Ditto.
3044 * corefile.c (_initialize_core): Ditto.
3045 * arm-tdep.c (_initialize_arm_tdep): Ditto.
3046 * arch-utils.c (initialize_current_architecture): Ditto.
3047 (_initialize_gdbarch_utils): Ditto.
3048 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
3049
3050 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
3051 * wince.c (_initialize_inftarg): Ditto.
3052 * symfile.c (_initialize_symfile): Ditto.
3053 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3054 * language.c (_initialize_language): Ditto.
3055 * arc-tdep.c (_initialize_arc_tdep): Ditto.
3056
f9ba0717
MS
30572002-02-04 Michael Snyder <msnyder@redhat.com>
3058
3059 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
3060
0c74b2a7
DJ
30612002-02-04 Daniel Jacobowitz <drow@mvista.com>
3062
3063 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
3064 Add rules for building the register data files.
3065
c638789f
DJ
30662002-02-04 Daniel Jacobowitz <drow@mvista.com>
3067
3068 * regformats/regdat.sh: Add braces to the definition of
3069 expedite_regs_${arch}.
3070
db253027
DJ
30712002-02-04 Daniel Jacobowitz <drow@mvista.com>
3072
3073 * regformats/regdef.h (struct reg): Add comment describing the
3074 requirements for offset and size fields.
3075
206be19c
AS
30762002-02-04 Andreas Schwab <schwab@suse.de>
3077
3078 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
3079 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
3080
181c1381
RE
30812002-02-04 Richard Earnshaw <rearnsha@arm.com>
3082
3083 * gdbarch.sh (copyright): Update years in generated header.
3084 (SMASH_TEXT_ADDRESS): Add rule.
db253027 3085 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
3086 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
3087 * dbxread.c: Likewise.
3088 * dwarfread.c: Likewise.
3089 * elfread.c: Likewise.
3090 * somread.c: Likewise.
3091
3092 * arm-tdep.c (arm_smash_text_address): New function.
3093 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
3094
fa4ba8da
PM
30952002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3096
3097 Add support for hardware watchpoints on win32 native.
aaa38bb5 3098 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 3099 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 3100 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
3101 of debug registers.
3102 (debug_registers_changed): New variable. Reflects when debug registers
3103 are changed and need to be written to inferior.
aaa38bb5 3104 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
3105 was set, used when new threads are created.
3106 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
3107 i386-nat code.
3108 (thread_rec): Set dr array if id is the thread of current_event .
3109 (child_continue, child_resume): Change the debug registers for all
3110 threads if debug_registers_changed.
3111 (child_add_thread): Change the debug registers if debug_registers_used.
3112 * config/i386/cygwin.mh: Add use of i386-nat.o file.
3113 Link nm.h to new nm-cygwin.h file.
3114 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
3115 of hardware registers.
3116
a73c86fb
AC
31172002-02-03 Andrew Cagney <ac131313@redhat.com>
3118
3119 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
3120 Restore behavour broken by 2002-01-20 Andrew Cagney
3121 <ac131313@redhat.com> IEEE_FLOAT removal.
3122
acf5ed49
DJ
31232002-02-03 Daniel Jacobowitz <drow@mvista.com>
3124
3125 * c-valprint.c (c_val_print): Pass a proper valaddr to
3126 cp_print_class_method.
3127 * valops.c (search_struct_method): If there is only one method
3128 and args is NULL, return that method.
3129
493d28d5
DJ
31302002-02-03 Daniel Jacobowitz <drow@mvista.com>
3131
3132 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
3133 accessing tag_name directly.
3134
7495dfdb
DJ
31352002-02-03 Daniel Jacobowitz <drow@mvista.com>
3136
3137 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
3138 of accessing tag_name directly.
3139
dd6bda65
DJ
31402002-02-03 Daniel Jacobowitz <drow@mvista.com>
3141
3142 PR gdb/280
3143 * gdbtypes.c (replace_type): New function.
3144 * gdbtypes.h (replace_type): Add prototype.
3145 * stabsread.c (read_type): Use replace_type.
3146
88fe217c
RE
31472002-02-03 Richard Earnshaw <rearnsha@arm.com>
3148
3149 * Makefile.in (memattr.o): Add missing dependencies rule.
3150
e5d66720
PS
31512002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3152
3153 * breakpoint.c (break_at_finish_command): Really export.
3154 (break_at_finish_at_depth_command): Ditto.
3155 (tbreak_at_finish_command): Ditto.
3156 * hppa-tdep.c: Include completer.h.
3157 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
3158 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
3159
fffee0be
AC
31602002-02-01 Andrew Cagney <ac131313@redhat.com>
3161
3162 * utils.c (do_write): New function.
3163 (error_stream): Rewrite combining the code from error_begin and
3164 verror.
3165 (verror): Rewrite using error_stream.
3166 (error_begin): Delete function.
3167
255e7dbf
AC
31682002-02-01 Andrew Cagney <ac131313@redhat.com>
3169
3170 * utils.c (error_begin): Make static.
3171 * defs.h (error_begin): Delete declaration.
3172
3173 * linespec.c (cplusplus_error): Replace cplusplus_hint.
3174 (decode_line_1): Use cplusplus_error instead of error_begin,
3175 cplusplus_hint and return_to_top_level.
3176 * coffread.c (coff_symfile_read): Use error instead of error_begin
3177 and return_to_top_level.
3178 * infrun.c (default_skip_permanent_breakpoint): Ditto.
3179
ddfe3c15
AC
31802002-02-01 Andrew Cagney <ac131313@redhat.com>
3181
3182 * language.h (type_error, range_error): Make string parameter
3183 constant.
3184 * language.c (warning_pre_print): Delete extern declaration.
3185 * dwarfread.c (warning_pre_print): Ditto.
3186 * language.c (type_error, range_error): Rewrite to use verror and
3187 vwarning instead of warning_begin.
3188
03ac34d5
MS
31892002-02-01 Michael Snyder <msnyder@redhat.com>
3190
261c4ca2
MS
3191 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
3192 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 3193
e00d1dc8
AC
31942002-02-01 Andrew Cagney <ac131313@redhat.com>
3195
3196 * command.h (NO_FUNCTION): Delete macro.
3197 * cli/cli-decode.h (NO_FUNCTION): Ditto.
3198 * top.c (execute_command): Replace NO_FUNCTION with NULL.
3199 * tracepoint.c (_initialize_tracepoint): Ditto.
3200 * cli/cli-decode.c (add_set_cmd): Ditto.
3201 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 3202
76b79d6e
DJ
32032002-02-01 Daniel Jacobowitz <drow@mvista.com>
3204
3205 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
3206 Update ``this'' pointer when calling virtual functions.
3207
799f9e91
MS
32082002-02-01 Michael Snyder <msnyder@redhat.com>
3209
c7bd442c 3210 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
3211 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
3212
3cf384d4
DJ
32132002-02-01 Daniel Jacobowitz <drow@mvista.com>
3214
3215 * regformats/reg-arm.dat: New file.
3216 * regformats/reg-i386.dat: New file.
3217 * regformats/reg-ia64.dat: New file.
3218 * regformats/reg-m68k.dat: New file.
3219 * regformats/reg-mips.dat: New file.
3220 * regformats/reg-ppc.dat: New file.
3221 * regformats/reg-sh.dat: New file.
3222 * regformats/regdef.h: New file.
3223 * regformats/regdat.sh: New file.
3224
0defa245
RE
32252002-02-01 Richard Earnshaw <reanrsha@arm.com>
3226
3227 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
3228 (arm_frame_args_address, arm_frame_locals_address): New functions.
3229 (arm_frame_num_args): New function.
3230 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
3231 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
3232 (FRMA_NUM_ARGS): Call arm_frame_num_args.
3233
405f26e6
MS
32342002-01-31 Michael Snyder <msnyder@redhat.com>
3235
502fd408
MS
3236 * breakpoint.c (break_at_finish_command): Export.
3237 (break_at_finish_at_depth_command): Export.
3238 (tbreak_at_finish_command): Export.
3239 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
3240 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
3241 "tbreak" commands, which are HPPA specific.
3242
7d35e135
MS
3243 * printcmd.c (disassemble_command): Remove an ancient
3244 artifact of an old merge.
3245
aaa38bb5 3246 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
3247 Define enum constant values for overlay mode.
3248 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
3249 (overlay_is_mapped, overlay_auto_command,
3250 overlay_manual_command): Ditto.
d874f1e2 3251
aaa38bb5
AJ
3252 * breakpoint.c (insert_breakpoints, remove_breakpoint,
3253 breakpoint_here_p, breakpoint_inserted_here_p,
3254 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
3255 describe_other_breakpoints, check_duplicates, clear_command):
3256 Coding standard fixes.
3257
8add0441 3258 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 3259 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
3260 code: check bfd SEC_READONLY flag for section.
3261
e351066e
AC
32622002-01-31 Andrew Cagney <ac131313@redhat.com>
3263
7d35e135 3264 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 3265
8a48e967
DJ
32662002-01-30 Daniel Jacobowitz <drow@mvista.com>
3267
3268 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
3269 data symbols, since we search based on textlow and texthigh.
3270 (find_pc_sect_symtab): Likewise.
3271
f5a96129
AC
32722002-01-30 Andrew Cagney <ac131313@redhat.com>
3273
3274 * defs.h (vwarning): Declare.
f5a96129
AC
3275 * utils.c (vwarning): New function.
3276 (warning): Call vwarning.
3277 (warning_begin): Delete function.
3278
3279 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
3280 the warning message.
3281 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
3282 warning_begin.
3283
cefd4ef5
MS
32842002-01-30 Michael Snyder <msnyder@redhat.com>
3285
1a703748
MS
3286 * NEWS: Mention "set trust-readonly-sections" command.
3287 Mention generate-core-file command.
cefd4ef5 3288
3a11626d
MS
32892002-01-15 Michael Snyder <msnyder@redhat.com>
3290
3291 * target.c: New command, "set trust-readonly-sections on".
3292 (do_xfer_memory): Honor the suggestion to trust readonly sections
3293 by reading them from the object file instead of from the target.
3294 (initialize_targets): Register command "set trust-readonly-sections".
3295
d1c7e53b
AC
32962002-01-29 Andrew Cagney <ac131313@redhat.com>
3297
3298 * parse.c (target_map_name_to_register): Simplify, search regs and
3299 pseudo-regs using a single loop.
3300
e2c9a72c
AC
33012002-01-30 Andrew Cagney <ac131313@redhat.com>
3302
3303 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
3304
69824b4e
MK
33052002-01-15 Rodney Brown <rbrown64@csc.com.au>
3306
3307 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
3308 * config/i386/i386v42mp.mh: Add i387-nat.o .
3309 * i386v4-nat.c: Include i387-nat.h.
3310 (supply_fpregset): Use i387_supply_fsave.
3311 (fill_fpregset): Use i387_fill_fsave.
3312
6eb69eab
RE
33132002-01-30 Richard Earnshaw <rearnsha@arm.com>
3314
3315 * arm-tdep.c (arm_call_dummy_words): Define.
3316 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
3317 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
3318 (CALL_DUMMY_WORDS): Define.
3319 (arm_call_dummy_words): Declare.
3320 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
3321 (arm_linux_call_dummy_words): Declare.
3322
9852326a
AS
33232002-01-30 Andreas Schwab <schwab@suse.de>
3324
3325 * m68klinux-nat.c: Fix last change to use regcache_collect
3326 instead of referencing registers[] directly.
3327
977a3030
AC
33282002-01-29 Andrew Cagney <ac131313@redhat.com>
3329
3330 * parse.c (target_map_name_to_register): Delete code wrapped in
3331 #ifdef REGISTER_NAME_ALIAS_HOOK.
3332
2076c72b
MS
33332002-01-28 Michael Snyder <msnyder@redhat.com>
3334
3335 * regcache.c (legacy_read_register_gen): Need to be able to
3336 read pseudo-register as well as real register.
3337 (legacy_write_register_gen): Ditto.
3338
8fcc723b
AC
33392002-01-28 Andrew Cagney <ac131313@redhat.com>
3340
3341 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
3342 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
3343 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
3344 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
3345 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
3346 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
3347 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
3348 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
3349 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
3350 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
3351 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
3352 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
3353 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
3354 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
3355 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
3356 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
3357 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
3358 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
3359 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
3360 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
3361
afe64c1a
AC
33622002-01-28 Andrew Cagney <ac131313@redhat.com>
3363
3364 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
3365 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
3366 (initialize_current_architecture): Update target_byte_order using
3367 information from BFD.
aaa38bb5 3368 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
3369 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
3370
75bc7ddf
AC
33712002-01-28 Andrew Cagney <ac131313@redhat.com>
3372
3373 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
3374 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
3375
3376 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
3377 #ifdef INVALID_FLOAT.
3378 * infcmd.c (do_registers_info): Ditto.
3379 * values.c (unpack_double): Ditto. Add comment.
3380
3381 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
3382 already commented out.
3383
0280a90a
AS
33842002-01-26 Andreas Schwab <schwab@suse.de>
3385
3386 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
3387 * m68klinux-nat.c: Update ptrace interface for fetching/storing
3388 registers and add support for PTRACE_GETREGS.
3389
7072a954
AC
33902002-01-24 Andrew Cagney <ac131313@redhat.com>
3391
3392 GDB 5.1.1 released from 5.1 branch.
3393 * NEWS: Add 5.1.1 news.
3394 * README: Sync with 5.1 branch.
3395
86f902e0
FF
33962002-01-23 Fred Fish <fnf@redhat.com>
3397
3398 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
3399 stabstring on initial malloc. Reallocing will copy it for us,
3400 if necessary.
3401
8af51c36
EZ
34022002-01-23 Elena Zannoni <ezannoni@redhat.com>
3403
aaa38bb5 3404 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
3405 (HFILES_NO_SRCDIR): Remove hpread.h.
3406 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
3407 (hpread.o): Update dependencies.
3408 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
3409
3410 * hp-psymtab-read.c: Remove file.
3411 * hp-symtab-read.c: Remove file.
3412 * hpread.h: Remove file.
3413
3414 * hpread.c: Merge all contents of hp-psymtab-read.c,
3415 hp-symtab-read.c and hpread.h into this file, as it was prior to
3416 January 1999.
3417
3418 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 3419 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
3420 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
3421 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
3422
dc5cfeb6
EZ
34232002-01-23 Elena Zannoni <ezannoni@redhat.com>
3424
3425 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
3426 fill_gregset): Call gdbarch_tdep() just once, assign result to
3427 variable and use that, instead of calling the function several
3428 times.
3429
ea87b71b
AO
34302002-01-24 Alexandre Oliva <aoliva@redhat.com>
3431
3432 * configure.host: Accept sparcv9 as alias for sparc64.
3433 * configure.tgt: Likewise.
3434
13fc0c2f
KB
34352002-01-22 Kevin Buettner <kevinb@redhat.com>
3436
3437 * solib-aix5.c (build_so_list_from_mapfile)
3438 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
3439 arguments is not reversed.
3440 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
3441 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 3442
7bd872fe
EZ
34432002-01-22 Elena Zannoni <ezannoni@redhat.com>
3444
3445 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
3446 modified version of obsolete sh_fetch_pseudo_register.
3447 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
3448 (sh4_register_read): New function.
3449 (sh_pseudo_register_write): New function. Renamed and modified
3450 version of obsolete sh_store_pseudo_register.
3451 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
3452 (sh4_register_write): New function.
3453 (sh_gdbarch_init): Remove setting of gdbarch function
3454 fetch_pseudo_register and store_pseudo_register. Remove setting of
3455 register_convert_to_raw, register_convert_to_virtual,
3456 register_convertible.
3457 (sh_sh4_register_convertible): Delete. No longer needed. All is
3458 taken care by architecture specific functions
3459 register_read/register_write.
3460 (sh_sh4_register_convert_to_virtual): Make static.
3461 (sh_sh4_register_convert_to_raw): Ditto.
3462
069e84fd
AC
34632002-01-22 Andrew Cagney <ac131313@redhat.com>
3464
3465 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
3466 (floatformat_is_nan, floatformat_mantissa): Ditto.
3467
3468 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
3469 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
3470 builtin_type_ieee_double_little,
3471 builtin_type_ieee_double_littlebyte_bigword,
3472 builtin_type_m68881_ext, builtin_type_i960_ext,
3473 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
3474 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
3475 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
3476 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
3477
211a4f69
CV
34782002-01-22 Corinna Vinschen <vinschen@redhat.com>
3479
3480 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
3481 parameter. Set frameless flag if it exists and depended of
3482 whether the scanned function is frameless or not.
3483 (xstormy16_skip_prologue): If function is frameless, return
3484 result of xstormy16_scan_prologue().
3485 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
3486 call.
3487
f81353e4
EZ
34882002-01-21 Elena Zannoni <ezannoni@redhat.com>
3489
3490 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
3491 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
3492 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
3493 sh_sh4_register_byte, sh_sh4_register_raw_size,
3494 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
3495 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
3496 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
3497 sh_store_pseudo_register, sh_do_pseudo_register): Call
3498 gdbarch_tdep() just once, assign result to variable and use that,
3499 instead of calling the function several times.
3500
63c73a17
MK
35012002-01-20 Mark Kettenis <kettenis@gnu.org>
3502
3503 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
3504 macros instead of LAST_FPU_CTRL_REGNUM.
3505 (store_register): Likewise.
3506
39ad761d
JB
35072002-01-21 Jim Blandy <jimb@redhat.com>
3508
3509 * infcmd.c (run_command): Check that the `exec' target layer's BFD
3510 is up-to-date before running the program, not just when a program
3511 exits.
3512
3d74b771
FF
35132002-01-21 Fred Fish <fnf@redhat.com>
3514
3515 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
3516 when we have found all instructions we are looking for.
3517
966fbf70
RE
35182002-01-21 Richard Earnshaw <rearnsha@arm.com>
3519
3520 * arm-tdep.c (arm_register_name): New function.
3521 (arm_registers_names): Make static.
3522 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
3523 (arm_register_name): Declare.
3524 (REGISTER_NAME): Use it.
3525
c3b4394c
RE
35262002-01-21 Richard Earnshaw <rearnsha@arm.com>
3527 Kevin Buettner <kevinb@redhat.com>
3528
3529 Convert arm targets to new FRAME interface.
3530 * arm-tdep.c (struct frame_extra_info): Remove fsr.
3531 (arm_frame_find_save_regs): Delete.
3532 (arm_frame_init_saved_regs): New.
3533 (arm_init_extra_frame_info): Alloacte saved_regs as required.
3534 Allocate extra_info as required. Convert all uses of fsr.regs
3535 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
3536 to use extra_info.
3537 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
3538 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
3539 (check_prologue_cache, save_prologue_cache): Likewise.
3540 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
3541 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
3542 (FRAME_FIND_SAVED_REGS): Delete.
3543 (arm_frame_find_saved_regs): Delete prototype.
3544 (arm_frame_init_saved_regs): New prototype.
3545 (FRAME_INIT_SAVED_REGS): Define.
3546
61d99182
AC
35472002-01-20 Andrew Cagney <ac131313@redhat.com>
3548
3549 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
3550
6aaea291
AC
35512002-01-20 Andrew Cagney <ac131313@redhat.com>
3552
3553 From Jeff Law <law@redhat.com>:
3554 * infttrace.c: Include <sys/pstat.h>.
3555 (child_pid_to_exec_file): Revamp. Use pstat call to get the
3556 exec file if the ttrace equivalent fails.
3557
15f698d2
AC
35582002-01-20 Andrew Cagney <ac131313@redhat.com>
3559
3560 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
3561 (closeLogFile): Ditto.
3562
f86ddd7c
MC
35632002-01-20 Michael Chastain <mec@shout.net>
3564
3565 * top.c (print_gdb_version): Bump copyright year to 2002.
3566
904507ce
AC
35672002-01-20 Andrew Cagney <ac131313@redhat.com>
3568
3569 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
3570 Zannoni and Eli Zaretskii.
3571
d7f0b9ce
DJ
35722002-01-20 Daniel Jacobowitz <drow@mvista.com>
3573
3574 * buildsym.c: Update copyright years.
3575 * c-typeprint.c: Likewise.
3576 * dwarf2read.c: Likewise.
3577 * f-typeprint.c: Likewise.
3578 * gdbtypes.c: Likewise.
3579 * gdbtypes.h: Likewise.
3580 * hp-symtab-read.c: Likewise.
3581 * hpread.c: Likewise.
3582 * mdebugread.c: Likewise.
3583 * p-typeprint.c: Likewise.
3584
3fd3d7d2
AC
35852002-01-20 Andrew Cagney <ac131313@redhat.com>
3586
3587 * remote-sim.c (gdbsim_open): Simplify code testing the macro
3588 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
3589 byte-order selectable.
3590 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
3591 * arch-utils.c: Ditto.
3592 (set_endian): Ditto.
3593 (set_endian_from_file): Ditto.
3594 * gdbserver/low-sim.c (create_inferior): Ditto.
3595 * gdbarch.sh: Ditto.
3596 * gdbarch.h: Re-generate.
aaa38bb5
AJ
3597 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3598 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
3599 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
3600 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3601 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3602 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3603 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
3604 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
3605 macro definition.
3606 * config/mips/tm-wince.h: Remove #undef of macro
3607 TARGET_BYTE_ORDER_SELECTABLE.
3608 * config/sh/tm-wince.h: Ditto.
3609
b02dede2
DJ
36102002-01-20 Daniel Jacobowitz <drow@mvista.com>
3611
3612 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
3613 member function fields. Add accessor macro
3614 TYPE_FN_FIELD_ARTIFICIAL.
3615 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
3616 * c-typeprint.c (c_type_print_base): Skip artificial member
3617 functions.
3618
c3643761
DJ
36192002-01-20 Daniel Jacobowitz <drow@mvista.com>
3620
3621 * f-typeprint.c: Delete unused function f_type_print_args.
3622 * p-typeprint.c: Delete unused function pascal_type_print_args.
3623
8176bb6d
DJ
36242002-01-20 Daniel Jacobowitz <drow@mvista.com>
3625
3626 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
3627 comment. Add ``artificial'' to ``union field_location''.
3628
3629 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
3630
3631 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
3632 * mdebugread.c (parse_symbol): Likewise.
3633 * stabsread.c (define_symbol): Likewise.
3634 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
3635 initializing TYPE_FIELD_BITPOS to n (obsolete).
3636 (hpread_doc_function_type): Likewise.
3637 * hpread.c (hpread_function_type): Likewise.
3638
7fd60527
AC
36392002-01-20 Andrew Cagney <ac131313@redhat.com>
3640
3641 * configure.in (host_makefile_frag): Only require a host makefile
3642 fragment when a native build.
3643 * configure: Re-generate.
3644
c2f05ac9
AC
36452002-01-20 Andrew Cagney <ac131313@redhat.com>
3646
3647 * doublest.h (floatformat_from_type): Declare.
3648 * doublest.c (floatformat_from_type): New function.
3649 (convert_typed_floating): Use.
3650
3651 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
3652 call to function floatformat_from_type.
3653
3654 * gdbarch.sh (IEEE_FLOAT): Delete.
3655 * gdbarch.h, gdbarch.c: Re-generate.
3656 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
3657 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
3658 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
3659 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
3660 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
3661 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
3662 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
3663 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
3664 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
3665 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
3666 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
3667 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
3668
3669 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
3670 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
3671 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3672 * sh-tdep.c (sh_gdbarch_init): Ditto.
3673 * mips-tdep.c (mips_gdbarch_init): Ditto.
3674 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3675 * cris-tdep.c (cris_gdbarch_init): Ditto.
3676
abf22e64
AJ
36772002-01-20 Jiri Smid <smid@suse.cz>
3678
3679 * configure.host, configure.tgt: Support x86-64.
3680 * NEWS: Note new target x86-64.
3681
b7c4cbf8
AJ
3682 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
3683 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
3684 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
3685 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
3686 x86-64-linux-nat.o): Fix dependencies.
3687
82600034
AC
36882002-01-19 Andrew Cagney <ac131313@redhat.com>
3689
3690 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
3691 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
3692 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
3693 * config/sparc/xm-sun4os4.h: Delete file.
3694 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 3695
bbe5c628
AC
36962002-01-19 Andrew Cagney <ac131313@redhat.com>
3697
3698 * config/sparc/sparclynx.mh (XM_FILE): Delete.
3699 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
3700 * config/m68k/m68klynx.mh (XM_FILE): Delete.
3701 * config/i386/i386lynx.mh (XM_FILE): Delete.
3702 * config/rs6000/xm-rs6000ly.h: Delete file.
3703 * config/sparc/xm-sparclynx.h: Delete file.
3704 * config/m68k/xm-m68klynx.h: Delete file.
3705 * config/i386/xm-i386lynx.h: Delete file.
3706 * config/xm-lynx.h: Delete file.
3707 * config/djgpp/fnchange.lst: Update.
3708
f8453e34
JT
37092002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3710
3711 * alpha-tdep.c (alpha_register_byte): New function.
3712 (alpha_register_raw_size): Ditto.
3713 (alpha_register_virtual_size): Ditto.
3714 (alpha_skip_prologue_internal): Renamed from
3715 alpha_skip_prologue.
3716 (alpha_skip_prologue): New version that calls
3717 alpha_skip_prologue_internal.
3718 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
3719 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
3720 second argument from alpha_skip_prologue.
3721 (REGISTER_BYTE): Use alpha_register_byte.
3722 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
3723 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
3724 (FRAMELESS_FUNCTION_INVOCATION): Use
3725 generic_frameless_function_invocation_not.
3726 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
3727 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
3728
52d9e613
AC
37292002-01-19 Andrew Cagney <ac131313@redhat.com>
3730
3731 * config/mips/xm-news-mips.h: Delete file.
3732 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
3733
3734 * config/m88k/xm-m88k.h: Delete file.
3735 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
3736 * config/m88k/xm-delta88v4.h: Ditto.
3737 * config/m88k/xm-delta88.h: Ditto.
3738
3739 * config/alpha/xm-fbsd.h: Delete file.
3740 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
3741
3742 * config/sparc/xm-sparc.h: Delete file.
3743 * Makefile.in (xm-sun4os4.h): Delete dependency.
3744 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
3745 * config/sparc/xm-sun4os4.h: Ditto.
3746 * config/sparc/xm-linux.h: Ditto.
3747
3748 * config/i386/xm-windows.h: Delete file.
3749
2d1b2124
AC
37502002-01-19 Andrew Cagney <ac131313@redhat.com>
3751
3752 * utils.c: Include <sys/param.h> for MAXPATHLEN.
3753 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
3754
ee1f65f0
JT
37552002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3756
3757 * alpha-tdep.c (alpha_call_dummy_words): New.
3758 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
3759 (CALL_DUMMY_P): Define.
3760 (CALL_DUMMY_WORDS): Define.
3761 (SIZEOF_CALL_DUMMY_WORDS): Define.
3762
98081e55
PB
37632002-01-19 Per Bothner <per@bothner.com>
3764
3765 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
3766 isn't NULL, which can happen with some gcj-3.x-produced code.
3767
0d056799
JT
37682002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3769
3770 * alpha-tdep.c (alpha_register_virtual_type): New function.
3771 (alpha_init_frame_pc_first): Ditto.
3772 (alpha_fix_call_dummy): Ditto.
3773 (alpha_store_struct_return): Ditto.
3774 (alpha_extract_struct_value_address): Ditto.
3775 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
3776 alpha_register_virtual_type.
3777 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
3778 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
3779 alpha_extract_struct_value_address.
3780 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
3781 (INIT_FRAME_PC): Use init_frame_pc_noop.
3782 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
3783
4604bcad
MK
37842002-01-19 Mark Kettenis <kettenis@gnu.org>
3785
3786 * i386gnu-nat.c: Include "i386-tdep.h".
3787 (fetch_fpregs): Simplify code dealing with uninitialized floating
3788 point states such that it doesn't require FP7_REGNUM.
3789
140f9984
JT
37902002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3791
abf22e64
AJ
3792 * alpha-tdep.c (frame_extra_info): New.
3793 (alpha_find_saved_regs): Make static. Use
140f9984
JT
3794 frame->extra_info.
3795 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
3796 (alpha_frame_saved_pc): Use frame->extra_info.
3797 (temp_saved_regs): Don't declare as struct frame_saved_regs.
3798 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
3799 (init_extra_frame_info): Rename to...
3800 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 3801 (alpha_print_extra_frame_info): New function.
140f9984
JT
3802 (alpha_frame_locals_address): Ditto.
3803 (alpha_frame_args_address): Ditto.
abf22e64 3804 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
3805 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
3806 alpha_frame_args_address.
abf22e64 3807 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 3808 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
3809 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
3810 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
3811 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
3812 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
3813
d734c450
JT
38142002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3815
3816 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
3817 (alpha_cannot_fetch_register): Ditto.
3818 (alpha_cannot_store_register): Ditto.
3819 (alpha_register_convertible): Ditto.
3820 (alpha_use_struct_convention): Ditto.
3821 * config/alpha/tm-alpha.h: Update copyright years.
3822 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
3823 (INNER_THAN): Use core_addr_lessthan.
3824 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
3825 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
3826 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
3827 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
3828 (FRAME_CHAIN): Remove unnecessary cast.
3829
b4ceaee6
AC
38302002-01-18 Andrew Cagney <ac131313@redhat.com>
3831
3832 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
3833 obsolete.
3834
0a65a603
AC
38352002-01-18 Andrew Cagney <ac131313@redhat.com>
3836
3837 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
3838 * monitor.c, remote-array.c, remote-bug.c: Ditto.
3839 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
3840 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
3841 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
3842 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
3843 * x86-64-linux-nat.c: Ditto.
3844
636a6dfc
JT
38452002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3846
abf22e64 3847 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
3848 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
3849 (REGISTER_NAME): Define.
3850
acceddb6
JT
38512002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3852
3853 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
3854
ec32e4be
JT
38552002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3856
3857 * alpha-tdep.c: Update copyright years.
3858 (alpha_next_pc): New function.
3859 (alpha_software_single_step): Ditto.
3860 * config/alpha/tm-alpha.h: Add prototype for
3861 alpha_software_single_step.
3862
e771a871
JT
38632002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3864
3865 * alphabsd-nat.c: Update copyright years.
3866 (fill_gregset): Use regcache_collect.
3867 (fill_fpregset): Likewise.
3868 (fetch_inferior_registers): Only fetch integer registers
3869 if requested to do so.
3870 (store_inferior_registers): Only store integer registers
3871 if requested to do so.
3872
7708fa01
AC
38732002-01-17 Andrew Cagney <ac131313@redhat.com>
3874
3875 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
3876 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
3877 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
3878 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
3879 * config/alpha/fbsd.mh (XDEPFILES): Delete.
3880 * config/arm/linux.mh (XDEPFILES): Delete.
3881 * config/arm/nbsd.mh (XDEPFILES): Delete.
3882 * config/i386/i386dgux.mh (XDEPFILES): Delete.
3883 * config/i386/i386sol2.mh (XDEPFILES): Delete.
3884 * config/i386/i386m3.mh (XDEPFILES): Delete.
3885 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
3886 * config/i386/i386gnu.mh (XDEPFILES): Delete.
3887 * config/i386/fbsd.mh (XDEPFILES): Delete.
3888 * config/i386/i386bsd.mh (XDEPFILES): Delete.
3889 * config/i386/i386sco5.mh (XDEPFILES): Delete.
3890 * config/i386/i386v4.mh (XDEPFILES): Delete.
3891 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
3892 * config/i386/i386sco4.mh (XDEPFILES): Delete.
3893 * config/i386/i386aix.mh (XDEPFILES): Delete.
3894 * config/i386/go32.mh (XDEPFILES): Delete.
3895 * config/i386/cygwin.mh (XDEPFILES): Delete.
3896 * config/i386/i386lynx.mh (XDEPFILES): Delete.
3897 * config/i386/i386mach.mh (XDEPFILES): Delete.
3898 * config/i386/i386v32.mh (XDEPFILES): Delete.
3899 * config/i386/linux.mh (XDEPFILES): Delete.
3900 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
3901 * config/i386/ncr3000.mh (XDEPFILES): Delete.
3902 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
3903 * config/i386/i386sco.mh (XDEPFILES): Delete.
3904 * config/i386/i386v.mh (XDEPFILES): Delete.
3905 * config/i386/nbsd.mh (XDEPFILES): Delete.
3906 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
3907 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
3908 * config/i386/symmetry.mh (XDEPFILES): Delete.
3909 * config/i386/obsd.mh (XDEPFILES): Delete.
3910 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
3911 * config/ia64/linux.mh (XDEPFILES): Delete.
3912 * config/ia64/aix.mh (XDEPFILES): Delete.
3913 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
3914 * config/m68k/dpx2.mh (XDEPFILES): Delete.
3915 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
3916 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
3917 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
3918 * config/m68k/linux.mh (XDEPFILES): Delete.
3919 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
3920 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
3921 * config/m68k/nbsd.mh (XDEPFILES): Delete.
3922 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
3923 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
3924 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
3925 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
3926 * config/m88k/delta88.mh (XDEPFILES): Delete.
3927 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
3928 * config/m88k/m88k.mh (XDEPFILES): Delete.
3929 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
3930 * config/mips/linux.mh (XDEPFILES): Delete.
3931 * config/mips/irix6.mh (XDEPFILES): Delete.
3932 * config/mips/irix5.mh (XDEPFILES): Delete.
3933 * config/mips/irix4.mh (XDEPFILES): Delete.
3934 * config/mips/irix3.mh (XDEPFILES): Delete.
3935 * config/mips/decstation.mh (XDEPFILES): Delete.
3936 * config/mips/mipsm3.mh (XDEPFILES): Delete.
3937 (NATDEPFILES): Move core-aout.o to here.
3938 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
3939 * config/pa/hpux1020.mh (XDEPFILES): Delete.
3940 * config/pa/hppabsd.mh (XDEPFILES): Delete.
3941 * config/pa/hppahpux.mh (XDEPFILES): Delete.
3942 * config/pa/hpux11w.mh (XDEPFILES): Delete.
3943 * config/pa/hppaosf.mh (XDEPFILES): Delete.
3944 * config/pa/hpux11.mh (XDEPFILES): Delete.
3945 * config/powerpc/aix.mh (XDEPFILES): Delete.
3946 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
3947 * config/powerpc/linux.mh (XDEPFILES): Delete.
3948 * config/romp/rtbsd.mh: Rename XDEPFILES.
3949 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
3950 * config/rs6000/aix4.mh (XDEPFILES): Delete.
3951 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
3952 * config/s390/s390.mh (XDEPFILES): Delete.
3953 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
3954 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
3955 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
3956 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
3957 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
3958 * config/sparc/nbsd.mh (XDEPFILES): Delete.
3959 * config/sparc/linux.mh (XDEPFILES): Delete.
3960 * config/vax/vaxult.mh (XDEPFILES): Delete.
3961 * config/vax/vaxult2.mh (XDEPFILES): Delete.
3962 * Makefile.in (DEPFILES): Remove XDEPFILES.
3963
375fc983
AC
39642002-01-17 Andrew Cagney <ac131313@redhat.com>
3965
3966 * utils.c (internal_verror): Fix comments, default is yes not no.
3967 Update queries to match. Default to quit and dump core.
3968
8926118c
AC
39692002-01-17 Andrew Cagney <ac131313@redhat.com>
3970
3971 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
3972 copyright.
3973 * defs.h, event-top.c, gdbcmd.h: Ditto.
3974 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
3975 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
3976 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
3977 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
3978 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
3979 * mi/mi-main.c:Ditto.
3980
3981 * stack.c, symfile.c: Update copyright.
3982
45b7b345
DJ
39832002-01-17 Daniel Jacobowitz <drow@mvista.com>
3984
db728ff7
DJ
3985 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
3986 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
3987 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
3988 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 3989
db728ff7
DJ
39902002-01-17 Daniel Jacobowitz <drow@mvista.com>
3991
3992 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
3993 * gdbserver/low-lynx.c (myattach): Likewise.
3994 * gdbserver/low-nbsd.c (myattach): Likewise.
3995 * gdbserver/low-sim.c (myattach): Likewise.
3996 * gdbserver/low-sparc.c (myattach): Likewise.
3997 * gdbserver/low-sun3.c (myattach): Likewise.
3998
3999 * gdbserver/low-linux.c (myattach): New function.
45b7b345 4000
db728ff7 4001 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
4002 (main): Handle "--attach".
4003
8de3c354
AC
40042002-01-16 Andrew Cagney <ac131313@redhat.com>
4005
4006 * MAINTAINERS (language support): Daniel Jacobwitz is C++
4007 maintainer.
4008
b0129042
DJ
40092002-01-15 Daniel Jacobowitz <drow@mvista.com>
4010
4011 * c-typeprint.c (is_type_conversion_operator): Add additional
4012 check for non-conversion operators.
4013
ba8679fb 40142002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
4015
4016 * linux-proc.c: Add "info proc" command, a la procfs.c.
4017 (read_mapping): New function, abstract and re-use code.
4018 (linux_find_memory_regions): Use new func read_mapping.
4019 (linux_info_proc_cmd): New function, implement "info proc".
4020 (_initialize_linux_proc): Add new command "info proc".
4021
e4f9b4d5
MS
40222002-01-15 Michael Snyder <msnyder@redhat.com>
4023
4024 * symfile.c (generic_load): Use bfd_map_over_sections method
4025 instead of manipulating bfd structure members directly.
4026 (add_section_size_callback): New function, bfd sections callback
4027 used by generic_load.
4028 (load_sections_callback): New function, bfd sections callback
4029 used by generic_load.
4030
08cf96df
EZ
40312002-01-15 Elena Zannoni <ezannoni@redhat.com>
4032
abf22e64 4033 [Based on work by Jim Blandy]
08cf96df
EZ
4034 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
4035 (builtin_type_vec128): Export.
4036 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
4037 types.
4038 (builtin_type_vec128): New builtin type for 128 bit vector
4039 registers.
4040 (build_gdbtypes): Initialize builtin_type_v16qi and
4041 builtin_type_v8hi. Create the vec128 register builtin type
4042 structure.
4043 (build_builtin_type_vec128): New function.
abf22e64 4044 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
4045 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
4046 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
4047 AltiVec register to new builtin type.
4048
d7242108
DJ
40492001-01-15 Daniel Jacobowitz <drow@mvista.com>
4050
4051 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
4052 to make_cv_type.
4053
4ee3352d
AC
40542002-01-14 Andrew Cagney <ac131313@redhat.com>
4055
4056 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
4057 CLEAN_UP_REGISTER_VALUE.
4058 * regcache.c (supply_register): Update only call.
4059
f015b2e7
AC
40602002-01-14 Andrew Cagney <ac131313@redhat.com>
4061
4062 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
4063 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
4064 a29k-*-vxworks* targets as obsolete.
4065
356ae49d
MS
40662002-01-14 Michael Snyder <msnyder@redhat.com>
4067
4068 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
4069 until we can resolve portability issues.
4070 * gregset.h: Remove references to fpxregs.
4071 * gcore.c (gcore_command): Initialize note_sec to NULL.
4072
ade8f45e
AC
40732002-01-13 Andrew Cagney <ac131313@redhat.com>
4074
4075 * signals.c (target_signal_to_name): Rewrite. Only use
4076 signals[].name when in bounds and non-NULL.
abf22e64 4077
89c49e7a
AC
40782002-01-13 Andrew Cagney <ac131313@redhat.com>
4079
4080 From Petr Ledvina <ledvinap@kae.zcu.cz>:
4081 * signals.c (target_signal_to_name): Verify that SIG is within the
4082 bounds of the signals array.
4083
4daa9f9f
AC
40842002-01-13 Andrew Cagney <ac131313@redhat.com>
4085
4086 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
4087
ba4bbdcb
KS
40882002-01-13 Keith Seitz <keiths@redhat.com>
4089
4090 * stack.c (print_frame_info_base): Print the frame's pc
4091 only if when print_frame_info_listing_hook is not defined.
4092
575bbeb6
KS
40932002-01-13 Keith Seitz <keiths@redhat.com>
4094
4095 * varobj.c (varobj_set_value): Make sure that there were no
4096 errors evaluating the object before attempting to set its
4097 value.
4098 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
4099 so this offset adjustment is no longer necessary.
4100 (create_child): Don't set the error flag if the child is
4101 a CPLUS_FAKE_CHILD.
4102 (value_of_child): If value_fetch_lazy fails, return NULL
4103 so that callers will be notified that an error occurred.
4104 (c_value_of_variable): Delay check of variable's validity
4105 until later. We actually want all structs and unions to have
4106 the value "{...}".
4107 Do not return "???" for variables which could not be evaluated.
4108 This error condition must be returned to the caller so that it
4109 can get the error condition from gdb.
4110 (cplus_name_of_child): Adjust index for vptr before figuring
4111 out the name of the child.
4112 (cplus_value_of_child): If a child's (real) parent is not valid,
4113 don't even bother trying to give a value for it. Just return
4114 an error. Change all instances in this function.
4115 (cplus_type_of_child): If our parent is one of the "fake"
4116 parents, we need to get at the type of the real parent, and
4117 derive the child's true type using this information.
4118
b76898ab
AC
41192002-01-13 Andrew Cagney <ac131313@redhat.com>
4120
4121 From 2002-01-09 John Marshall <johnm@falch.net>:
4122 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
4123 sources.redhat.com, and tweak some related URLs which had
4124 suffered from linkrot.
4125
b6649e88
AC
41262002-01-13 Andrew Cagney <ac131313@redhat.com>
4127
4128 From Jeff law:
4129 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
4130 structures passed in registers.
4131
82cc5033
EZ
41322002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
4133
4134 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
4135 white space which prevented compilation. Reported by DSK
4136 <dsk@student.unsw.edu.au>.
4137
ba5f2f8a
MS
41382002-01-11 Michael Snyder <msnyder@redhat.com>
4139
fbd35540
MS
4140 * symfile.c (build_section_addr_info_from_section_tab):
4141 Use bfd access method instead of manipulating bfd directly.
4142 (syms_from_objfile): Ditto.
4143 (simple_overlay_update_1): Ditto.
4144 (simple_overlay_update): Ditto.
4145 (generic_load): Ditto.
4146 (overlay_unmapped_address): FIXME comment, bfd access methods.
4147 (sections_overlap): FIXME comment, bfd access methods.
4148 (pc_in_mapped_range): FIXME comment, bfd access methods.
4149 (pc_in_unmapped_range): FIXME comment, bfd access methods.
4150 (section_is_mapped): FIXME comment, bfd access methods.
4151 (section_is_overlay): FIXME comment, bfd access methods.
4152
ba5f2f8a
MS
4153 * symfile.c (generic_load): Whitespace and long line cleanups.
4154 Remove duplicate variable, change several local variables to
4155 more appropriate data types.
4156 (print_transfer_performance): Use %lu instead of %ld for ulongs.
4157
17df2af6
AC
41582002-01-12 Andrew Cagney <ac131313@redhat.com>
4159
4160 From Peter Schauer:
4161 * language.c (longest_local_hex_string_custom): Use phex_nz to
4162 convert NUM to a hex string.
4163
ec920329
EZ
41642002-01-12 Elena Zannoni <ezannoni@redhat.com>
4165
4166 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
4167 the function.
538a76d6 4168 Update Copyright year.
ec920329 4169
3abd2e01
AC
41702002-01-12 Andrew Cagney <ac131313@redhat.com>
4171
4172 * language.c (longest_raw_hex_string): Delete unused function.
4173
b21b22e0
PS
41742002-01-11 Petr Sorfa <petrs@caldera.com>
4175
4176 * MAINTAINERS (write-after-approval): Add myself.
4177 * dwarf2read.c (read_tag_string_type): Handling of
4178 DW_AT_byte_size.
4179 (read_tag_string_type): FORTRAN fix to prevent propagation of
4180 first string size.
4181 (set_cu_language): Handling of DW_LANG_Fortran95
4182
747fe712
RE
41832002-01-11 Richard Earnshaw <rearnsha@arm.com>
4184
4185 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
4186 GETPID(inferior_ptid).
4187 (store_inferior_registers): Likewise.
4188
f1bea926
JM
41892002-01-10 Jason Merrill <jason@redhat.com>
4190
4191 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
4192 Fix DW_OP_minus.
4193
ae940673
AC
41942002-01-10 Andrew Cagney <ac131313@redhat.com>
4195
4196 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
4197 and bfd/elf32-sh-nbsd.c.
4198
00546b04
MS
41992002-01-10 Michael Snyder <msnyder@redhat.com>
4200
352ed7b4
MS
4201 * NEWS: Mention --pid and corefile/proc-id behavior change.
4202
c18be923
MS
4203 * Makefile.in: Add rules for gcore.o and linux-proc.o.
4204 * gcore.c: Include cli/cli-decode.h instead of command.h.
4205
00546b04
MS
4206 * main.c (captured_main): Add new command line option "--pid".
4207 If the second command line argument (following the symbol-file)
4208 begins with a digit, try to attach to it before trying to open
4209 it as a corefile.
4210 (print_gdb_help): Document the "--pid" argument.
4211
db60ec62
EZ
42122002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
4213
4214 * completer.c (command_completer): New function.
4215
4216 * completer.h <command_completer>: Add prototype.
4217
4218 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
4219 completer for the "help" command.
4220
39c22d1a
JM
42212002-01-09 Jason Merrill <jason@redhat.com>
4222
4223 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
4224
c564377f
MS
42252002-01-09 Michael Snyder <msnyder@redhat.com>
4226
975aec09
MS
4227 * i386-linux-nat.c (fill_fpxregset): Make global.
4228 (store_fpxregset): Ditto.
4229
db4a10fa
MS
4230 * gregset.h (gdb_fpxregset_t): Define.
4231 (supply_fpxregset): Prototype.
4232 (fill_fpxregset): Prototype.
4233
c564377f
MS
4234 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
4235
c3d45d70
RE
42362002-01-09 Richard Earnshaw <rearnsha@arm.com>
4237
4238 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
4239 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
4240 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
4241
fcc87af1
AC
42422002-01-09 Andrew Cagney <ac131313@redhat.com>
4243
4244 * MAINTAINERS: Update target maintainer rules so that any
4245 Maintainer can approve a tested patch for a maintenance-only
4246 target.
4247
dd96c05b
RE
42482002-01-09 Richard Earnshaw <rearnsha@arm.com>
4249
d4297db9 4250 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 4251
d4297db9 4252 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
4253 IN_SIGTRAMP.
4254
145fdc6e
MS
42552002-01-08 Michael Snyder <msnyder@redhat.com>
4256
4257 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
4258 real name of the executable, rather than the /proc name.
4259
be4d1333
MS
42602002-01-03 Michael Snyder <msnyder@redhat.com>
4261
4262 Implement a "generate-core-file" command in gdb, save target state.
4263 * gcore.c: New file. Implement new command 'generate-core-file'.
4264 Save a corefile image of the current state of the inferior.
4265 * linux-proc.c: Add linux-specific code for saving corefiles.
4266 * target.h (struct target_ops): Add new target vectors for saving
4267 corefiles; to_find_memory_regions and to_make_corefile_notes.
4268 (target_find_memory_regions): New macro.
4269 (target_make_corefile_notes): New macro.
4270 * target.c (update_current_target): Inherit new target methods.
4271 (dummy_find_memory_regions): New place-holder method.
4272 (dummy_make_corefile_notes): New place-holder method.
4273 (init_dummy_target): Initialize new dummy target vectors.
4274 * exec.c (exec_set_find_memory_regions): New function.
4275 Allow the exec_ops vector for memory regions to be taken over.
4276 (exec_make_note_section): New function, target vector method.
4277 * defs.h (exec_set_find_memory_regions): Export prototype.
4278 * procfs.c (proc_find_memory_regions): New function, corefile method.
4279 (procfs_make_note_section): New function, corefile method.
4280 (init_procfs_ops): Set new target vector pointers.
4281 (find_memory_regions_callback): New function.
4282 (procfs_do_thread_registers): New function.
4283 (procfs_corefile_thread_callback): New function.
4284 * sol-thread.c (sol_find_memory_regions): New function.
4285 (sol_make_note_section): New function.
4286 (init_sol_thread_ops): Initialize new target vectors.
4287 * inftarg.c (inftarg_set_find_memory_regions): New function.
4288 Allow to_find_memory_regions vector to be taken over.
4289 (inftarg_set_make_corefile_notes): New function.
4290 Allow to_make_corefile_notes vector to be taken over.
4291 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
4292 interface layer if not target_has_execution (may be a corefile).
4293 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
4294 * config/sparc/sun4sol2.mh: Ditto.
4295 * config/alpha/alpha-linux.mh: Ditto.
4296 * config/arm/linux.mh: Ditto.
4297 * config/i386/x86-64linux.mh: Ditto.
4298 * config/ia64/linux.mh: Ditto.
4299 * config/m68k/linux.mh: Ditto.
4300 * config/mips/linux.mh: Ditto.
4301 * config/powerpc/linux.mh: Ditto.
4302 * config/sparc/linux.mh: Ditto.
4303
c6b92abd
MS
43042002-01-07 Michael Snyder <msnyder@redhat.com>
4305
4306 * arm-linux-nat.c: Remove references to regcache.c internal data
4307 (registers[] and register_valid[]).
4308
4b09dc8c
MS
43092002-01-07 Michael Snyder <msnyder@redhat.com>
4310
abf22e64
AJ
4311 * linux-proc.c: New file. Implement child_pid_to_exec_file,
4312 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
4313 symbol file and shlibs.
4314 * Makefile.in: Add rule for linux-proc.o.
4315 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
4316 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
4317 * config/arm/linux.mh: Ditto.
4318 * config/i386/linux.mh: Ditto.
4319 * config/i386/x86-64linux.mh: Ditto.
4320 * config/ia64/linux.mh: Ditto.
4321 * config/m68k/linux.mh: Ditto.
4322 * config/mips/linux.mh: Ditto.
4323 * config/powerpc/linux.mh: Ditto.
4324 * config/sparc/linux.mh: Ditto.
4325
c25b74ac
PM
43262002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
4327
4328 * win32-nat.c: Add i386-tdep.h dependency.
4329
94cd915f
MS
43302002-01-07 Michael Snyder <msnyder@redhat.com>
4331
c7cccb76
MS
4332 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
4333 instead of bfd_get_arch_size. Don't bail out just because
4334 there's no exec_bfd.
abf22e64 4335
34c0bd93
MS
4336 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
4337 * p-valprint.c (pascal_object_print_value): Ditto.
4338 * somread.c (som_symtab_read): Ditto.
4339 * symfile.c (simple_free_overlay_region_table): Ditto.
4340 * valops.c (value_assign): Ditto.
4341
21c1c920
MS
4342 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
4343 use tilde_expand and strerror for opening save-tracepoints file.
4344
5bbd998e
MS
4345 * thread-db.c (thread_db_new_objfile): Indendation fix.
4346
94cd915f
MS
4347 * infptrace.c (GDB_MAX_ALLOCA): New define.
4348 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 4349 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
4350 can be overridden with whatever value is appropriate to the host).
4351 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
4352 alloca to allocate potentially large buffer.
4353 * rs6000-nat.c (child_xfer_memory): Ditto.
4354 * symm-nat.c (child_xfer_memory): Ditto.
4355 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
4356
494e8a93
JSC
43572002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
4358
4359 From Nick Clifton <nickc@redhat.com>
4360 * d10v-tdep.c: Set STACK_START to 0x200bffe.
4361
d0e1d48e
MS
43622002-01-07 Michael Snyder <msnyder@redhat.com>
4363
abf22e64 4364 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
4365 Don't use exec_bfd if it's NULL.
4366
290b2c7a
MK
43672002-01-06 Mark Kettenis <kettenis@gnu.org>
4368
abf22e64 4369 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 4370
aef21287
AC
43712002-01-06 Andrew Cagney <ac131313@redhat.com>
4372
4373 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
4374 * gnu-nat.c: Ditto.
4375
30efa627
AC
43762002-01-06 Andrew Cagney <ac131313@redhat.com>
4377
4378 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
4379 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
4380 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
4381 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
4382 z8k-coff have not been multi-arched. Update z8k-coff build
4383 status.
4384
9b4ff276
AC
43852002-01-06 Andrew Cagney <ac131313@redhat.com>
4386
4387 * MAINTAINERS: Mark a29k target as obsolete.
4388 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
4389 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
4390 comments.
4391 * NEWS: Note that a29k targets are obsolete.
4392 * a29k-tdep.c: Mark as obsolete.
4393 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
4394 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
4395 a29k-*-vxworks* targets as obsolete.
4396 * remote-adapt.c: Obsolete.
4397 * remote-eb.c: Obsolete.
4398 * remote-mm.c: Obsolete.
4399 * remote-udi.c: Obsolete.
4400 * config/a29k/a29k-udi.mt: Obsolete.
4401 * config/a29k/a29k.mt: Obsolete.
4402 * config/a29k/tm-a29k.h: Obsolete.
4403 * config/a29k/tm-vx29k.h: Obsolete.
4404 * config/a29k/vx29k.mt: Obsolete.
4405
a9011d31
AC
44062002-01-05 Andrew Cagney <ac131313@redhat.com>
4407
4408 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
4409 with BFD_ENDIAN_BIG.
4410
9299404e
AC
44112002-01-05 Andrew Cagney <ac131313@redhat.com>
4412
4413 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
4414 * configure, config.in: Re-generate.
4415 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
4416 * defs.h: Do not include <endian.h>.
4417
7e89e357
JT
44182002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
4419
4420 * acconfig.h (HAVE_PT_GETXMMREGS): New.
4421 * config.in: Regenerate.
4422 * configure.in: Update copyright years.
4423 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
4424 * configure: Regenerate.
4425 * i386bsd-nat.c: Update copyright years.
4426 (fill_gregset): Use regcache_collect.
4427 (fetch_inferior_registers): Only fetch integer registers
4428 if requested to do so. Add support for XMM registers
4429 using PT_GETXMMREGS.
4430 (store_inferior_registers): Only store integer registers
4431 if requested to do so. Add support for XMM registers
4432 using PT_SETXMMREGS.
4433 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
4434 (store_inferior_registers): Remove.
4435 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
4436 (fetch_elfcore_registers): New function.
4437 (i386nbsd_elfcore_fns): New.
4438 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
4439 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
4440 i386bsd-nat.o.
4441 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
4442 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
4443 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
4444 * config/i386/tm-nbsd.h: Update copyright years.
4445 (HAVE_SSE_REGS): Define.
4446 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
4447 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
4448 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
4449 (SIGCONTEXT_PC_OFFSET): Remove.
4450 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
4451
a752853e
AC
44522002-01-05 Andrew Cagney <ac131313@redhat.com>
4453
4454 * configure.tgt: Remove powerpc-*-macos* target.
4455 * config/m68k/xm-mpw.h: Delete file.
4456 * config/xm-mpw.h: Delete file.
4457 * ser-mac.c: Delete file.
4458 * mpw-make.sed: Delete file.
4459 * mpw-config.in: Delete file.
4460 * mac-xdep.c: Delete file.
4461 * mac-gdb.r: Delete file.
4462 * mac-defs.h: Delete file.
4463 * mac-nat.c: Delete file.
4464 * config/powerpc/macos.mh: Delete file.
4465 * config/powerpc/macos.mt: Delete file.
4466 * config/powerpc/nm-macos.h: Delete file.
4467 * config/powerpc/tm-macos.h: Delete file.
4468 * source.c (openp, open_source_file): Remove obsolete code.
4469 * top.c (gdb_readline): Ditto.
4470 * utils.c (query): Ditto.
4471 * event-top.c (display_gdb_prompt): Ditto.
4472 * Makefile.in (ser-mac.o): Delete obsolete target.
4473 * NEWS: Update.
4474
d7449b42
AC
44752002-01-04 Andrew Cagney <ac131313@redhat.com>
4476
4477 * defs.h (BIG_ENDIAN): Delete macro definition.
4478 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
4479 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
4480 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
4481 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4482 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
4483 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
4484 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
4485 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
4486 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
4487 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
4488 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
4489 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
4490 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
4491 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
4492 * gdbarch.c: Re-generate.
4493
356374e8
DJ
44942002-01-04 Daniel Jacobowitz <drow@mvista.com>
4495
4496 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
4497 for core files.
4498
a2b8f8f8
JT
44992002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4500
4501 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
4502
12466af9
AC
45032002-01-04 Andrew Cagney <ac131313@redhat.com>
4504
4505 * value.h (value_ptr): Delete typedef.
4506
3549ab40
JT
45072002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4508
4509 * i386nbsd-nat.c: Update copyright years.
4510 Include i386-tdep.h.
4511
fedbd091
EZ
45122002-01-04 Elena Zannoni <ezannoni@redhat.com>
4513
4514 * stabsread.c: Update copyright years.
4515
4516 From Debashis Mahata <debashis.mahata@wipro.com>:
4517 (read_struct_fields): Deal with Sun C compiler erroneous stab
4518 output for structs and unions.
fec8b34f 4519 Fix PR gdb/269.
fedbd091 4520
eb43544b
DJ
45212002-01-04 Daniel Jacobowitz <drow@mvista.com>
4522
4523 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
4524 prototype.
4525
1514d34e
DJ
45262002-01-04 Daniel Jacobowitz <drow@mvista.com>
4527
4528 * cp-abi.c: Fix whitespace.
4529 (baseclass_offset): New wrapper function.
4530 * cp-abi.h (baseclass_offset): Add prototype.
4531 (struct cp_abi_ops): Add baseclass_offset pointer.
4532
4533 * valops.c (vb_match): Move to...
4534 * gnu-v2-abi.c (vb_match): here.
4535 * valops.c (baseclass_offset): Move to...
4536 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
4537
4538 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
4539
4540 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
4541 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
4542 * hpacc-abi.c (init_hpacc_ops): Likewise.
4543
7f8c9282
DJ
45442002-01-04 Daniel Jacobowitz <drow@mvista.com>
4545
4546 * valops.c (find_overload_match): Accept obj as a
4547 reference parameter. Update it before returning.
4548 * value.h (find_overload_match): Update prototype.
4549 * eval.c (evaluate_subexp_standard): Pass object to
4550 find_overload_match by reference.
4551
f23631e4
AC
45522002-01-03 Andrew Cagney <ac131313@redhat.com>
4553
4554 * valarith.c: Replace value_ptr with struct value pointer. Remove
4555 register attribute from value declarations.
4556 * valops.c: Ditto.
4557 * value.h: Ditto.
4558 * scm-lang.c (scm_lookup_name): Ditto.
4559
79e10fab 45602002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 4561
79e10fab
AC
4562 Abstract the functionality of iterating over mapped memory
4563 regions into a general purpose iterator function.
abf22e64 4564 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
4565 iterator for memory sections.
4566 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
4567 (solib_mappings_callback): New function, callback for above.
4568 (info_proc_mappings): Reimpliment using iterate_over_mappings.
4569 (info_mappings_callback): New function, callback for above.
4570
4571 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
4572
c5ad026a
MK
45732002-01-01 Mark Kettenis <kettenis@gnu.org>
4574
d2a7c97a
MK
4575 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
4576 * i386-tdep.c: Include "elf-bfd.h".
4577 (process_note_abi_tag_sections): New function.
4578 (i386_gdbarch_init): Add code to recognize various OS/ABI
4579 combinations.
4580
c5ad026a
MK
4581 * maint.c (_initialize_maint_cmds): Add missing \ in
4582 string-literal.
4583
a1a5b71e 4584For older changes see ChangeLog-2001
c906108c
SS
4585\f
4586Local Variables:
4587mode: change-log
4588left-margin: 8
4589fill-column: 74
4590version-control: never
4591End:
This page took 0.613974 seconds and 4 git commands to generate.