* config.bfd: Add x86_64-*-openbsd*.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
b2d6d697
KB
12004-03-12 Kevin Buettner <kevinb@redhat.com>
2
3 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
4 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
5 New constants.
6
76e43199
KB
7 From Richard Sandiford <rsandifo@redhat.com>:
8 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
9
34ce532e
KB
102004-03-12 Kevin Buettner <kevinb@redhat.com>
11
12 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
13 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
14 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
15 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
16 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
17 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
18 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
19 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
20 definitions from frv-tdep.c to frv-tdep.h.
21
c4d10515
KB
222004-03-12 Kevin Buettner <kevinb@redhat.com>
23
24 Add shared library support for FR-V FDPIC ABI:
25 * Makefile.in (solib-frv.o): Add dependencies.
26 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
27 New functions.
28 (frv_push_dummy_call): Add support for FDPIC ABI.
29 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
30 for FDPIC ABI.
31 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
32 (frv_fdpic_find_canonical_descriptor): Declare.
33 * solib-frv.c: New file.
34 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
35 * config/frv/tm-frv.h (solib.h): Include.
36
ed1bd989
KB
372004-03-12 Kevin Buettner <kevinb@redhat.com>
38
39 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
40 (frv-tdep.o): Update dependencies.
41 * frv-tdep.h: New file.
42 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
43 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
44 constants.
45 (struct gdbarch_tdep): Add new member ``frv_abi''.
46 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
47 functions.
48 (new_variant): Set ``frv_abi'' field.
49 (gdb_arch_init): Detect FDPIC executables.
50
82b38f72
MK
512004-03-12 Mark Kettenis <kettenis@gnu.org>
52
53 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
54 wrapper.
55
db1ea9ba
AC
562004-03-11 Andrew Cagney <cagney@redhat.com>
57
58 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
59
f8766ec1
KB
602004-03-11 Kevin Buettner <kevinb@redhat.com>
61
62 * solist.h (master_so_list): New function.
63 * solib.c (master_so_list): Likewise.
64 * solib-svr4.c (enable_break): Iterate over so_list entries
65 obtained from master list instead of entries obtained directly
66 via svr4_current_sos().
67
523f6a27
BE
682004-03-10 Ben Elliston <bje@gnu.org>
69
70 * MAINTAINERS: Update my mail address.
71
37814c18
KI
722004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
73
74 * remote-m32r-sdi.c: Support hardware watchpoint.
75
8b9740d8
DJ
762004-03-09 Daniel Jacobowitz <drow@mvista.com>
77
78 * user-regs.c: Update copyright years.
79 (struct user_regs): Rename to gdb_user_regs.
80 (append_user_reg, builtin_user_regs, user_regs_init)
81 (user_reg_add, user_reg_map_name_to_regnum)
82 (usernum_to_user_reg): Update.
83
4bb7a0a7
DJ
842004-03-09 Daniel Jacobowitz <drow@mvista.com>
85
86 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
87 (skip_children): New functions.
88 (locate_pdi_sibling): Call skip_children.
89
44e1a9eb
DJ
902004-03-09 Daniel Jacobowitz <drow@mvista.com>
91
92 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
93 * gdbtypes.c (check_typedef): Update comments.
94
f3dd6933
DJ
952004-03-09 Daniel Jacobowitz <drow@mvista.com>
96
97 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
98 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
99 pointer. Update comment about comp_unit_head.
100 (struct abbrev_info): Shorten two int flags.
101 (dwarf_alloc_abbrev): Take a CU argument.
102 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
103 each time through the loop. Update cleanup argument.
104 (psymtab_to_symtab_1): Update cleanup call.
105 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
106 abbrev_obstack.
107 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
108 Just call obstack_free and clear the pointer.
109
b40c7d58
DJ
1102004-03-09 Daniel Jacobowitz <drow@mvista.com>
111
112 * infrun.c (handle_inferior_event): Remove short-circuit code for
113 events in a different thread.
114
333dabeb
DJ
1152004-03-09 Daniel Jacobowitz <drow@mvista.com>
116
117 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
118 print the whole transfer.
119 (initialize_targets): Update description of "set debug target".
120
aa17d93e
DJ
1212004-03-09 Daniel Jacobowitz <drow@mvista.com>
122
123 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
124
0b71f08f
NW
1252004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
126
127 * MAINTAINERS (write after approval): Add myself.
128
3930f270
CV
1292004-03-08 Corinna Vinschen <vinschen@redhat.com>
130
131 * sh-tdep.c (sh_print_registers_info): Use for loop.
132 Don't skip multiple registers when a float register is encountered.
133
a2b4a96c
CV
1342004-03-08 Corinna Vinschen <vinschen@redhat.com>
135
136 Fix PR tdep/1291.
137 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
138 to official SH documentation.
139
f15a4bc0
AC
1402004-03-07 Andrew Cagney <cagney@redhat.com>
141
142 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
143 unused function.
144
9498281f
DJ
1452004-03-07 Daniel Jacobowitz <drow@mvista.com>
146
147 * arm-tdep.c (thumb_get_next_pc): Handle BX.
148 (arm_get_next_pc): Handle BX and BLX.
149
449e1137
AC
1502004-03-07 Andrew Cagney <cagney@redhat.com>
151
eded0a31
AC
152 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
153 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
154 HPPA_SP_REGNUM.
155 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
156 (hppa_target_read_fp): Delete.
157 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
158 register_virtual_size, max_register_raw_size,
159 max_register_virtual_size, register_byte, register_size,
160 target_read_fp, fp_regnum, and register_bytes. Set register_type
161 instead of register_virtual_type.
162 (hppa32_register_type, hppa64_register_type): Replace
163 hppa32_register_virtual_type and hppa64_register_virtual_type.
164 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
165 (HPPA_FP_REGNUM): Define.
166
f5f907e2
AC
167 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
168
69b4bbe4
AC
169 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
170 (pa_do_registers_info): Delete.
171 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
172 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
173 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 174
78161e48
AC
175 * infcall.c (legacy_push_dummy_code): Delete #ifdef
176 GDB_TARGET_IS_HPPA code.
177 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
178 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
179 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
180 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
181 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
182 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
183 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
184 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
185 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
186 (hppa_frameless_function_invocation, hppa64_store_return_value)
187 (hppa_store_struct_return, hppa64_extract_return_value)
188 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
189 (hppa32_call_dummy_length, hppa64_call_dummy_length)
190 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
191 (find_proc_framesize, deposit_21, restore_pc_queue)
192 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 193 (rp_saved, pc_in_linker_stub): Delete.
78161e48 194
782eae8b
AC
195 Unconditionally enable 64-bit frame and ABI code.
196 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
197 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
198 push_dummy_frame, fix_call_dummy, push_arguments,
199 call_dummy_location, extract_return_value, use_struct_convention,
200 store_return_value, store_struct_return, saved_pc_after_call,
201 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
202 frame_chain, frame_chain_valid, frameless_function_invocation,
203 frame_saved_pc, and pop_frame.
78161e48 204
449e1137
AC
205 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
206 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
207 (hppa_gdbarch_init): Do not set PC_REGNUM.
208
12507572
MK
2092004-03-06 Mark Kettenis <kettenis@gnu.org>
210
211 * config/alpha/tm-fbsd.h: Remove file.
212 * config/alpha/fbsd.mt: Tweak comment.
213 (TM_FILE): Set to tm-alpha.h.
214
c107cc1b
AC
2152004-03-05 Andrew Cagney <cagney@redhat.com>
216
217 * infrun.c (step_over_function): When non-legacy code, and no
218 step_frame_id, use the unwinder to get the caller's frame ID.
219
f2e7c15d
MK
2202004-03-05 Mark Kettenis <kettenis@gnu.org>
221
8b0c3633
MK
222 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
223 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
224 bfd_arch_unknown. Adjust comment.
225
f2e7c15d
MK
226 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
227 * i386obsd-tdep.c: Correct spelling in comment.
228 * i386nbsd-tdep.c: Correct spelling in comment.
229 * sparc-tdep.c: Correct spelling in comments.
230
1198ecbe
DC
2312004-03-05 David Carlton <carlton@kealia.com>
232
233 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
234 bug.
235
9eb42ed1
MK
2362004-03-05 Mark Kettenis <kettenis@gnu.org>
237
238 * sparc-tdep.c: Fix typo in comment.
239
52b5e991
JB
2402004-03-04 J. Brobecker <brobecker@gnat.com>
241
242 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
243
d8151005
DJ
2442004-03-04 Daniel Jacobowitz <drow@mvista.com>
245
246 * dwarf2read.c: Add comment describing memory lifetimes.
247 (struct dwarf2_pinfo): Update comment.
248 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
249 (read_enumeration, new_symbol): Don't use obsavestring.
250
cbeae229
MK
2512004-03-04 Mark Kettenis <kettenis@gnu.org>
252
722d18c2
MK
253 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
254 instead of amd64_fill_fxsave.
255 * amd64bsd-nat.c (store_inferior_registers): Likewise.
256 * amd64fbsd-nat.c (fill_fpregset): Likewise.
257
cbeae229
MK
258 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
259 Reorganize code a bit.
260
b4206d25
OF
2612004-03-04 Orjan Friberg <orjanf@axis.com>
262
263 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
264 when the frame pointer is pushed. Don't set the frame pointer's
265 address on the stack unless it's actually located there.
266 Set the SRP's address on the stack correctly when the PC is still in
267 the prologue.
268 (cris_return_value): New function.
269 (cris_gdbarch_init): Clear deprecated store_return_value,
270 extract_return_value.
271
49b0b195
JB
2722004-03-02 Jim Blandy <jimb@redhat.com>
273
274 * stabsread.c (reg_value_complaint): The maximum register number
275 is one less than the number of registers.
276
e9ff708b
AC
2772004-03-02 Andrew Cagney <cagney@redhat.com>
278
279 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
280 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
281 trailing comma and redundant assignment of I386_ST0_REGNUM.
282 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
283 32-bit segment registers.
284
d4715e41
AC
2852004-03-01 Andrew Cagney <cagney@redhat.com>
286
287 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
288 use frame_relative_level and get_next_frame.
289
3ce2bf18
AC
2902004-02-29 Andrew Cagney <cagney@redhat.com>
291
292 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
293 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
294 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
295 Delete macro.
296
2da6aac3
DJ
2972004-02-29 Daniel Jacobowitz <drow@mvista.com>
298
299 * inflow.c (terminal_inferior): Don't give up the terminal if we
300 previously couldn't get the inferior's terminal state.
301
6ba34a8d
DJ
3022004-02-29 Daniel Jacobowitz <drow@mvista.com>
303
304 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
305 PC_REGNUM.
306
faae5abe
AC
3072004-02-28 Andrew Cagney <cagney@redhat.com>
308
309 * NEWS: Refer to GDB 6.1.
310 * README: Refer to GDB 6.1.
311 * PROBLEMS: Refer to GDB 6.1.
312
2227a3c5
DJ
3132004-02-28 Daniel Jacobowitz <drow@mvista.com>
314
315 * thread-db.c (disable_thread_signals): Remove unused function.
316
80571bff
MK
3172004-02-28 Mark Kettenis <kettenis@gnu.org>
318
041bd74b
MK
319 * amd64-nat.c: Include "gdb_string.h".
320 (amd64_collect_native_gregset): Zero-extend the 32-bit
321 general-purpose registers and %eip.
322
3c017e40
MK
323 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
324 * amd64-tdep.c (amd64_collect_fxsave): New function.
325 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
326
80571bff
MK
327 * i387-tdep.h: Update copyright year.
328 (i387_collect_fxsave): New prototype.
329 * i387-tdep.c: Update copyright year.
330 (i387_collect_fxsave): New function containing most of the code
331 from i387_fill_fxsave.
332 (i387_fill_fxsave): Call i387_collect_fxsave.
333
50d71875
AC
3342004-02-28 Andrew Cagney <cagney@redhat.com>
335
336 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
337 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
338
4a28816e
MK
3392004-02-28 Mark Kettenis <kettenis@gnu.org>
340
341 * amd64-tdep.c (amd64_frame_cache): Fix comment.
342
dbda9972
AC
3432004-02-28 Andrew Cagney <cagney@redhat.com>
344
345 * utils.c: Use "", instead of <>, to include readline.
346 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
347 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
348 * source.c, solib.c, exec.c, event-top.c: Ditto.
349 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
350 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
351 * Makefile.in: Update all dependencies.
352 (readline_tilde_h, readline_history_h): Define.
353 (readline_headers): Delete.
354
83277a99
MK
3552004-02-28 Mark Kettenis <kettenis@gnu.org>
356
91ae4303
MK
357 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
358 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
359 "config/i386/tm-lx64.h".
360
83277a99
MK
361 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
362 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
363 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
364
6e1d7d6c
AC
3652004-02-28 Andrew Cagney <cagney@redhat.com>
366
ecc9ac84
AC
367 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
368
6e1d7d6c
AC
369 * breakpoint.c (_initialize_breakpoint): Use
370 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
371 Add help to show command.
372
9671aeef
MK
3732004-02-28 Mark Kettenis <kettenis@gnu.org>
374
7fa2737c
MK
375 * i386-nat.c: Reformat to be closer to coding standards.
376 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
377 `retval'. Make variables `align' and `size' local to while-loop.
378 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
379 (_initialize_i386_nat): New prototype.
380
9671aeef
MK
381 * tui/tui.c: Include <readline/readline.h> instead of
382 "readline/readline.h". Include it after <term.h> and
383 "gdb_curses.h".
384
fca7aa43
AC
3852004-02-27 Andrew Cagney <cagney@redhat.com>
386
412275d5
AC
387 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
388 the new frame unwind code.
389 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
390 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
391 PCOQ_HEAD_REGNUM.
392
fca7aa43
AC
393 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
394 "return_value" and "push_dummy_call".
395 (hppa32_use_struct_convention): Delete unused function.
396 (hppa32_store_return_value): Delete unused function.
397 (hppa32_extract_return_value): Delete unused function.
398 (hppa32_stack_align): Delete function.
399
e6a8a7d2
EZ
4002004-02-27 Eli Zaretskii <eliz@elta.co.il>
401
402 * coffread.c (enter_linenos): Don't let rawptr reference memory
403 outside linetab[]'s limits.
404
1797a8f6
AC
4052004-02-27 Andrew Cagney <cagney@redhat.com>
406
407 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
408 inferior stack space - the stack needs to grow upwards.
409 (hppa32_frame_align): New function.
410 (hppa64_frame_align): Replace hppa_frame_align.
411 (hppa_gdbarch_init): Update.
412
2e4b5889
OF
4132004-02-26 Orjan Friberg <orjanf@axis.com>
414
415 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
416 (dwarf2-frame.h): Include.
417 (enum cris_regnums): New enum CRIS_FP_REGNUM.
418 Remove static variables related to ABI setting.
419 (struct gdbarch_tdep): Remove cris_abi member.
420 (struct frame_extra_info): Remove.
421 (cris_unwind_cache, stack_item): New structs.
422 (cris_frame_unwind, cris_frame_base): New variables.
423 (push_stack_item, pop_stack_item)
424 (cris_frame_unwind_cache, cris_frame_this_id)
425 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
426 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
427 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
428 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
429 (cris_reg_struct_has_addr): New functions.
430 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
431 (cris_frame_saved_pc, cris_saved_pc_after_call,
432 (cris_store_struct_return, cris_frameless_function_invocation)
433 (cris_pop_frame, cris_skip_prologue_main)
434 (cris_abi_original_store_return_value)
435 (cris_abi_v2_store_return_value)
436 (cris_abi_original_extract_return_value)
437 (cris_abi_v2_extract_return_value)
438 (cris_abi_original_reg_struct_has_addr)
439 (cris_abi_v2_reg_struct_has_addr)
440 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
441 (cris_push_return_address, cris_abi_update): Remove.
442 (_initialize_cris_tdep): Remove ABI command.
443 (cris_dump_tdep): Ditto.
444 (cris_gdbarch_init): Remove ABI command.
445 Set store_return_value, extract_return_value, push_dummy_code,
446 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
447 frame_unwind_append_sniffer, frame_base_set_default.
448 Clear deprecated init_frame_pc, push_arguments, store_return_value,
449 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
450 sizeof_call_dummy_words, get_saved_register, push_return_address,
451 pop_frame, store_struct_return, frame_init_saved_regs,
452 init_extra_frame_info, frameless_function_invocation, frame_chain,
453 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
454 dummy_write_sp.
455
6b9acc27
JJ
4562004-02-26 Jeff Johnston <jjohnstn@redhat.com>
457
458 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
459 * valprint.c (print_hex_chars): Change from static to external.
460 (print_char_chars): New function.
461 * printcmd.c (print_scalar_formatted): For integer and enum types
462 that are longer than LONGEST, perform processing via appropriate
463 print_*_chars routines.
464
a431654a
AC
4652004-02-26 Andrew Cagney <cagney@redhat.com>
466
467 * Makefile.in: Update dependencies.
468 Changes from Ulrich Weigand,
469 * s390-tdep.c: Include "dwarf2-frame.h".
470 (s390_dwarf2_frame_init_reg): New function.
471 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
472 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
473
fa8d40ab
JJ
4742004-02-26 Jeff Johnston <jjohnstn@redhat.com>
475
476 * breakpoint.c (pending_break_support): New setting variable.
477 (break_command_1): Account for pending_break_support setting
478 when creating pending breakpoints.
479 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
480 (_initialize_breakpoint): Add "set breakpoint pending" and
481 "show breakpoint pending" commands.
482
0dcd613f
AC
4832004-02-26 Andrew Cagney <cagney@redhat.com>
484
485 Fix PR i18n/1570.
486 * charset.c (backslashable, backslashed, represented): Remove 'e'
487 from list of escaped characters, not part of ISO-C.
488
479272a3
JB
4892004-02-25 J. Brobecker <brobecker@gnat.com>
490
491 From Peter Schauer <schauer@pdf.de>:
492 * tui/tui.c: Move system header includes after local includes.
493 Fixes a build failure on solaris systems.
494
7613d933
JB
4952004-02-25 J. Brobecker <brobecker@gnat.com>
496
497 * configure.in: Refine the previous change.
498 * configure: Regenerate.
499
9c1488cb
MK
5002004-02-25 Mark Kettenis <kettenis@gnu.org>
501
502 * amd64-tdep.h: Renamed from x86-64-tdep.h.
503 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
504 "amd64-tdep.h" instead of "x86-64-tdep.h".
505 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
506 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
507 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
508 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
509 and "x86-64-tdep.c".
510 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
511 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
512 and "x86-64-tdep.c".
513 * amd64bsd-nat.c: Update copyright year.
514 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
515 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
516 "x86-64-tdep.h".
517 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
518 "x86-64-tdep.h".
519 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
520 "x86-64-tdep.h".
521 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
522 "x86-64-tdep.h".
523 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
524 "x86-64-tdep.h".
525 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
526 "x86-64-tdep.h".
527 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
528 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
529 * Makefile.in (amd64_linux_tdep_h): Renamed from
530 x86_64_linux_tdep_h.
531 (amd64_tdep_h): Renamed from x86_64_tdep_h.
532 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
533 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
534 (amd64obsd-tdep.o): Update dependencies.
535 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
536 dependencies.
537 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
538 dependencies.
539 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
540 amd64-linux-nat.c amd64-linux-tdep.c.
541 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
542 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
543 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
544 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
545 amd64-tdep.o and amd64-linux-tdep.o.
546 (TM_FILE): Set to tm-linux64.h.
547 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
548 (NAT_FILE): Set to nm-linux64.h.
549 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
550 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
551 amd64-tdep.o.
552 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
553 amd64-tdep.o.
554 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
555 amd64-tdep.o.
556
4b8dad4a
RM
5572004-02-25 Roland McGrath <roland@redhat.com>
558
559 * remote.c (remote_protocol_qPart_auxv): New variable.
560 (init_all_packet_configs): Initialize it.
561 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
562 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
563 (show_remote_cmd): Call it.
564 (_initialize_remote): Initialize commands.
565 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
566 service TARGET_OBJECT_AUXV requests.
567
66745969
JB
5682004-02-25 J. Brobecker <brobecker@gnat.com>
569
570 * configure.in: Make sure that the wborder function is available.
571 Otherwise, search for it in the cur_colr library.
572 * configure: Regenerate.
573
79508e1e
AC
5742004-02-25 Andrew Cagney <cagney@redhat.com>
575
576 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
577
571ee600
MK
5782004-02-25 Mark Kettenis <kettenis@gnu.org>
579
580 * config/i386/tm-x86-64linux.h: Tweak comments.
581
2b1b322f 5822004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
583
584 * MAINTAINERS: Add self to write-after-approval list.
585
4d2acc65
AC
5862004-02-25 Andrew Cagney <cagney@redhat.com>
587
4b8dad4a 588 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
589 * cli/cli-script.c (execute_control_command): Unconditionally
590 install a cleanup. Default "ret" to "invalid_control". Use
591 "break" instead of "return" to escape from the switch.
592
4cfcaf21
JB
5932004-02-24 J. Brobecker <brobecker@gnat.com>
594
595 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
596 with the lines macro defined in term.h on AiX.
597 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
598 a collision with the label_width macro defined in term.h on AiX.
599
54a5c8d8
KB
6002004-02-23 David Mosberger <davidm@hpl.hp.com>
601
602 Committed by Kevin Buettner <kevinb@redhat.com>.
603
604 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
605 * ia64-tdep.c (ia64_write_pc): Make it a global function.
606 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
607 instead of ia64_write_pc().
608 * ia64-linux-tdep.c (regcache.h): Include.
609 (ia64_linux_write_pc): New function.
4b8dad4a 610
8a1dac83
RM
6112004-02-23 Roland McGrath <roland@redhat.com>
612
613 * auxv.c (info_auxv_command): Fix typos in error messages.
614
90f90721
MK
6152004-02-23 Mark Kettenis <kettenis@gnu.org>
616
8a1dac83 617 * x86-64-tdep.h: Tweak comment.
90f90721
MK
618 (enum amd64_regnum): New.
619 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
620 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
621 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
622 (X86_64_XMM1_REGNUM): Removed.
623 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
624 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
625 prototypes for renamed functions.
626 * x86-64-tdep.c: Fix typo.
627 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
628 register numbers.
629 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
630 Use constants from `enum amd64_regnum' for register numbers.
631 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
632 (amd64_analyze_prologue, amd64_frame_cache,
633 amd64_sigtramp_frame_cache): Use constants from `enum
634 amd64_regnum' for register numbers.
635 (amd64_supply_fpregset): Adjust for renamed functions.
636 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
637 `enum amd64_regnum' for register numbers.
638 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
639 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
640 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
641 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
642 (amd64_linux_fill_gregset): Adjust for renamed macros.
643 (fetch_core_registers): Adjust for renamed functions.
644 (amd64_linux_init_abi): Adjust for renamed functions.
645 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
646 renamed functions.
647 * amd64-nat.c: Adjust for renamed macros.
648 * amd64bsd-nat.c (fetch_inferior_registers)
649 (store_inferior_registers): Use constants from `enum amd64_regnum'
650 for register numbers. Adjust for renamed variables.
651 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
652 renamed variables.
653 (_initialize_amd64fbsd_nat): Use constants from `enum
654 amd64_regnum' for register numbers.
655 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
656 `enum amd64_regnum' for register numbers.
657 (amd64fbsd_init_abi): Adjust for renamed functions.
658 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
659 `enum amd64_regnum' for register numbers.
660 (amd64nbsd_init_abi): Adjust for renamed functions.
661 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
662 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
663 `enum amd64_regnum' for register numbers.
664 (amd64obsd_init_abi): Adjust for renamed functions.
665 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
666
d5479188
JJ
6672004-02-23 Jeff Johnston <jjohnstn@redhat.com>
668
669 * breakpoint.c (print_one_breakpoint): Do not output spaces
670 after printing <PENDING> for a pending breakpoint.
671
81cb7cc9
JJ
6722004-02-23 Jeff Johnston <jjohnstn@redhat.com>
673
674 * printcmd.c (print_scalar_formatted): Initialize val_long
675 to remove compiler warning message.
676
cbdeadca
JJ
6772004-02-23 Jeff Johnston <jjohnstn@redhat.com>
678
679 * defs.h (nquery, yquery): New prototypes.
680 * breakpoint.c (break_command_1): Use new nquery interface.
681 * utils.c (defaulted_query, nquery, yquery): New functions.
682
da6bab63
AC
6832004-02-23 Andrew Cagney <cagney@redhat.com>
684
2f690297
AC
685 * hppa-tdep.c (hppa_frame_align): New function.
686 (hppa32_push_dummy_call): New function.
687 (hppa64_push_dummy_call): New function.
688 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
689 disabled.
8a1dac83 690
da6bab63
AC
691 * infcall.c (legacy_push_dummy_code): Don't call deprecated
692 FIX_CALL_DUMMY when push_dummy_call is available.
693 (call_function_by_hand, push_dummy_code): Ditto.
694
abf9b42d
AC
6952004-02-22 Andrew Cagney <cagney@redhat.com>
696
697 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
698 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
699 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
700 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
701 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
702 call_dummy_location to ON_STACK.
703
10fc94a4
MK
7042004-02-22 Mark Kettenis <kettenis@gnu.org>
705
51433e4b
MK
706 * x86-64-linux-tdep.c: Tweak comment.
707 (amd64_linux_supply_gregset): Renamed from
708 x86_64_linux_supply_gresget.
709 (amd64_linux_fill_gregset): Renamed from
710 x86_64_linux_fill_gregset.
711 (fetch_core_registers): Adjust for renamed functions.
712 (amd64_core_fns): Renamed from x86_64_core_fns.
713 (amd64_linux_sigtramp_start): Renamed from
714 x86_64_linux_sigtramp_start.
715 (amd64_linux_pc_in_sigtramp): Renamed from
716 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
717 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
718 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
719 (amd64_linux_sigcontext_addr): Renamed from
720 x86_64_linux_sigcontext_addr.
721 (amd64_linux_sc_reg_offset): Renamed from
722 x86_64_linux_sc_reg_offset.
723 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
724 Adjust for renamed functions and variables.
725 (_initialize_amd64_linux_tdep): Renamed from
726 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
727 variables.
728 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
729 Adjust for renamed functions.
730
430eaf2e
MK
731 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
732 from x86_64_linux_gregset64_reg_offset.
733 (amd64_linux_gregset32_reg_offset): Rename from
734 x86_64_linux_gregset64_reg_offset.
735 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
736 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
737 (amd64_linux_dr_set_control): Renamed from
738 x86_64_linux_dr_set_control. Adjust for renamed functions.
739 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
740 Adjust for renamed functions.
741 (amd64_linux_dr_reset_addr): Renamed from
742 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
743 (amd64_linux_dr_get_status): Renamed from
744 x86_64_linux_dr_get_status. Adjust for renamed functions.
745 (_initialize_amd64_linux_nat): Renamed from
746 _initialize_x86_64_linux_nat. Adjust for renamed variables and
747 functions.
748 * config/i386/nm-x86-64linux.h: Update copyright year.
749 Adjust for renamed functions.
750
10fc94a4
MK
751 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
752 amd64fbsd_sigtramp_start.
753 (amd64fbsd_sigtramp_end_addr): Renamed from
754 amd64fbsd_sigtramp_end.
755 (amd64fbsd_init_abi): Adjust for renamed variables.
756 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
757 variables.
758 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
759 amd64fbsd_sigtramp_start.
760 (amd64fbsd_sigtramp_end_addr): Renamed from
761 amd64fbsd_sigtramp_end.
762
343af405
AC
7632004-02-22 Andrew Cagney <cagney@redhat.com>
764
537987fc
AC
765 * hppa-tdep.c (hppa32_return_value): New function.
766 (hppa64_return_value): New function.
767 (hppa_gdbarch_init): Set return_value; keep disabled.
768
fad850b2
AC
769 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
770 struct-return and inferior function call methods.
771
26d08f08
AC
772 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
773 "frame-base.h".
774 (struct hppa_frame_cache): Define.
775 (hppa_frame_cache, hppa_frame_this_id): New functions.
776 (hppa_frame_prev_register): New function.
777 (hppa_frame_unwind, hppa_frame_base): New variables.
778 (hppa_frame_unwind_sniffer): New function.
779 (hppa_frame_base_address, hppa_unwind_pc): New function.
780 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
781 sniffer, and frame base sniffer; keep disabled.
782 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
783 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
784
e7d7bd65
AC
785 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
786 to predicates for "seriously old code".
787
e963316f
AC
788 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
789 runtime if(0).
790
56132691
AC
791 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
792 unsigned.
793 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 794
343af405
AC
795 * config/pa/tm-hppa.h: Update copyright.
796 (DEPRECATED_INIT_FRAME_PC): Delete macro.
797 (deprecated_init_frame_pc_default): Delete declaration.
798 (hppa_frame_init_saved_regs): Delete declaration.
799 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
800 * hppa-tdep.c: Include "arch-utils.h".
801 (hppa_gdbarch_init): Set deprecated init_frame_pc
802 and deprecated frame_init_saved_regs.
803 (hppa_frame_init_saved_regs): Make static.
804
f5859b4d
MK
8052004-02-22 Mark Kettenis <kettenis@gnu.org>
806
86f6f8e7 807 Remove old 386BSD support.
cf7c5c23 808 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
809 * configure.host: Remove i[34567]86-*-bsd*.
810 * configure.tgt: Remove i[34567]86-*-bsd*.
811 * i386b-nat.c: Removed.
812 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
813 (i386b-nat.o): Remove dependencies.
814
86f6f8e7
MK
815 * config/i386/i386bsd.mh: Removed.
816 * config/i386/i386bsd.mt: Removed.
817 * config/i386/nm-i386bsd.h: Removed.
818 * config/i386/tm-i386bsd.h: Removed.
819 * config/i386/xm-i386bsd.h: Removed.
820
971218cd
MK
821 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
822
7e654c37
MK
823 * amd64fbsd-tdep.c: Include "solib-svr4.h".
824 (amd64fbsd_init_abi): Set link map offsets.
825 * amd64nbsd-tdep.c: Include "slib-svr4.h".
826 (amd64nbsd_init_abi): Set link map offsets.
827 * amd64obsd-tdep.c: Include "solib-svr4.h".
828 (amd64obsd_init_abi): Set link map offsets.
829 * i386fbsd-tdep.c: Include "solib-svr4.h".
830 (i386fbsd_init_abi): Set link map offsets.
831 * i386nbsd-tdep.c: Include "solib-svr4.h".
832 (i386nbsdelf_init_abi): Set link map offsets.
833 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
834 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
835 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
836 solib-legacy.o and core-aout.o. Reformat.
837 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
838 solib-svr4.o, solib-legacy.o. Reformat.
839 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
840 * config/i386/nbsdelf.mh: Reformat.
841 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
842 solib-svr4.o, solib-legacy.o and corelow.o.
843 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
844 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
845 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
846 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
847 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
848 (TM_FILE): Set to tm-fbsd.h.
849 * config/i386/nbsd.mt (TDEPFILES): Reformat.
850 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
851 solib-svr4.o.
852 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
853 solib-svr4.o.
854 (TM_FILE): Set to nm-nbsd.h.
855 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
856 Simplify shared library support. Don't include "elf/common.h".
857 (SVR4_SHARED_LIBS): Don't define.
858 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
859 "solib.h".
860 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
861 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
862 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
863 Don't include "i386/tm-i386.h". Include "solib.h".
864 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
865 Don't include "i386/tm-i386.h".
866 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
867 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
868 Include "i386/xm-i386.h".
869 (HOST_LONG_DOUBLE_FORMAT): Remove.
870
5d93ae8c
MK
871 Fix OpenBSD/i386 sigtramp recognition.
872 * i386-tdep.h: Update copyright year.
873 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
874 (i386bsd_sigtramp_end): New prototypes.
875 (i386fbsd_sigtramp_start_addr): Renamed from
876 i386fbsd_sigtramp_start.
877 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
878 (i386obsd_sigtramp_start_addr): Renamed from
879 i386obsd_sigtramp_start.
880 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
881 * i386bsd-tdep.c: Update copyright year.
882 (i386bsd_pc_in_sigtramp): Make public.
883 * i386fbsd-nat.c: Update copyright year.
884 (_initialize_i386fbsd_nat): Adjust for renamed variables.
885 * i386fbsd-tdep.c: Update copyright year.
886 (i386fbsd_sigtramp_start_addr): Renamed from
887 i386fbsd_sigtramp_start.
888 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
889 (i386fbsdaout_init_abi): Adjust for renamed variables.
890 * i386obsd-nat.c: Update copyright year.
891 (_initialize_i386obsd_nat): Adjust for renamed variables.
892 * i386obsd-tdep.c: Include "target.h".
893 (i386obsd_page_size): New variable.
894 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
895 (i386obsd_sigtramp_end): New functions.
896 (i386obsd_sigtramp_start_addr): Renamed from
897 i386obsd_sigtramp_start.
898 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
899 (i386obsd_init_abi): Adjust for renamed variables. Set
900 pc_in_sigtramp, sigtramp_start and sigtramp_end.
901 * Makefile.in (i386obsd-tdep.o): Update dependencies.
902
84d04465
MK
903 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
904 trampoline change in OpenBSD kernel.
905
b053aceb
MK
906 * amd64-nat.c: Update copyright year.
907 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
908 architecture from REGCACHE.
909
f5859b4d
MK
910 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
911 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
912
e4bbbda8
MK
9132004-02-21 Mark Kettenis <kettenis@gnu.org>
914
ba361932
MK
915 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
916 i[34567]86-*-openbsd3.[0-3].
917 * config/i386/obsdaout.mh: New file.
918
d3e48264
MK
919 * config/i386/obsd.mh (MH_FLAGS): Remove.
920
60a6eeb6
MK
921 Fix PR build/1549.
922 * i386obsd-tdep.c: Update copyright years. Include
923 "solib-svr4.h".
924 (i386obsd_init_abi): Don't set regset_from_core_section here.
925 (i386obsd_aout_init_abi): New function. Set
926 regset_from_core_section here.
927 (i386obsd_elf_init_abi): New function.
928 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
929 * Makefile.in (i386obsd-tdep.o): Update dependecies.
930 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
931 (TM_FILE): Set to tm-nbsd.h.
932
933 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
934 solib-sunos.o.
935
e4bbbda8
MK
936 * solib-svr4.h: Update copyright year.
937 (svr4_ilp32_fetch_link_map_offsets)
938 (svr4_lp64_fetch_link_map_offsets): New prototype.
939 * solib-svr4.c: Update copyright year.
940 (svr4_ilp32_fetch_link_map_offsets)
941 (svr4_lp64_fetch_link_map_offsets): New function.
942
f6fe98ef
DJ
9432004-02-20 Daniel Jacobowitz <drow@mvista.com>
944
945 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
946 to the partial symbol table.
947
589ca796
JB
9482004-02-20 J. brobecker <brobecker@gnat.com>
949
950 * PROBLEMS: Add description of problem documented under gdb/1560.
951
2031c21a
MK
9522004-02-20 Mark Kettenis <kettenis@gnu.org>
953
30b344b1
MK
954 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
955 comments.
956 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
957 functions.
958 (amd64obsd_init_abi): Reorder initializations. Use
959 amd64obsd_r_reg_offset to initialize the general-purpose register
960 set details. Set regset_from_core_section.
961 (_initialize_amd64obsd_tdep): Rename from
962 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
963 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
964 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
965
2031c21a
MK
966 * NEWS (New native configurations): Mention OpenBSD/alpha.
967 * configure.tgt: Add alpha*-*-openbsd*.
968 * configure.host: Add alpha*-*-openbsd*.
969 * alphanbsd-tdep.c: Update copyright year.
970 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
971
42471775
AC
9722004-02-20 Andrew Cagney <cagney@redhat.com>
973
974 Fix PR tdep/1372.
975 * configure.tgt: Delete target "none-*-*".
976 * configure.host: Delete host "none-*-*".
977 * config/none/none.mh: Delete file.
978 * config/none/none.mt: Delete file.
979 * config/none/xm-none.h: Delete file.
980 * config/none/tm-none.h: Delete file.
981 * config/none/nm-none.h: Delete file.
982
960ccd7d
FF
9832004-02-19 Fred Fish <fnf@redhat.com>
984
985 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
986 cache->uses_fp prior to setting it.
987
5f883edd
FF
9882004-02-19 Fred Fish <fnf@redhat.com>
989
990 Fix for PR breakpoint/1558.
991 * sh-tdep.c (IS_JSR): New macro.
992 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
993
f98c22d5
JB
9942004-02-19 Jim Blandy <jimb@redhat.com>
995
996 * findvar.c (value_from_register): Doc fix.
997
95051d27
JJ
9982004-02-19 Jeff Johnston <jjohnstn@redhat.com>
999
1000 * printcmd.c (print_scalar_formatted): Do not check for sizeof
1001 type being greater than sizeof of host's LONGEST. Always use
1002 unpack_long() unless format 'f' chosen.
1003
ccefbec3
EZ
10042004-02-19 Joel Brobecker <brobecker@gnat.com>
1005
1006 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 1007
ccefbec3
EZ
1008 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
1009 contains a symbol wich is the best, non-exact match for the given
1010 pc. Update comments.
1011
10122004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 1013
2ede629f
EZ
1014 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
1015 macro, which was part of the now removed Mach 3 port.
1016 * utils.c (request_quit): Ditto.
1017
567ee972
MK
10182004-02-18 Mark Kettenis <kettenis@gnu.org>
1019
1020 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
1021 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
1022
50cca7bb
MK
10232004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1024
1025 Committed by Mark Kettenis <kettenis@gnu.org>.
1026
1027 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
1028 Define.
1029
226361c4
AC
10302004-02-18 Andrew Cagney <cagney@redhat.com>
1031
1032 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
1033 CONFIG_INSTALL and CONFIG_UNINSTALL.
1034 * configure: Re-generate.
1035 * interps.h (INTERP_TUI): Define.
1036 * Makefile.in: Update dependencies.
1037 (TUI): New macro.
1038 (tui-main.o): Specify dependencies.
1039 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
1040 * tui/tui-main.c: New file.
1041
49cfa46f
MK
10422004-02-18 Mark Kettenis <kettenis@gnu.org>
1043
e2879ccb
MK
1044 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
1045 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
1046 dependencies.
1047 * configure.host: Add x86_64-*-openbsd*.
1048 * configure.tgt: Add x86_64-*-openbsd*.
1049 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
1050
c43f4bec
MK
1051 * tui/tui.c: Don't include <malloc.h>.
1052
09ae75b6
MK
1053 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
1054 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
1055 amd64nbsd-tdep.c.
1056
49cfa46f 1057 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 1058 static. Remove extraneous whitespace.
49cfa46f
MK
1059 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
1060 static.
1061
05957fdb
JB
10622004-02-17 Jim Blandy <jimb@redhat.com>
1063
1064 * findvar.c (value_from_register): Doc fix.
1065
d0f54f9d
JB
10662004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1067
1068 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 1069
8a1dac83 1070 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
1071 CORE_ADDR as type for selectors. Correct types for GNU run time
1072 message lookup function to use double indirection.
1073 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
1074 * objc-lang.h (lookup_child_selector): Adapt prototype.
1075
9cbd5950
JB
1076 * s390-nat.c (SUBOFF): New macro.
1077 (supply_gregset, fill_gregset): Use it to handle debugging
1078 of 32-bit exectuables running under a 64-bit kernel.
1079 * s390-tdep.c: Include "solib-svr4.h".
1080 (s390_svr4_fetch_link_map_offset): New function.
1081 (s390x_svr_fetch_link_map_offset): Likewise.
1082 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
1083 * Makefile.in (s390-tdep.o): Update dependencies.
1084
a8c99f38
JB
1085 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
1086 "frame-unwind.h".
1087 (s390_readinstruction): Reformat. Use read_memory_nobpt.
1088 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
1089 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
1090 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
1091 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
1092 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 1093 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
1094 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
1095 (struct frame_extra_info): Remove.
1096 (s390_memset_extra_info): Remove.
f73b1eff
JB
1097 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
1098 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
1099 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
1100 (is_rse): Renamed to ...
1101 (is_rsy): ... this. Support long displacements.
1102 (is_rxe): Renamed to ...
1103 (is_rxy): ... this. Support long displacements.
1104 (compute_x_addr): Support long displacements.
1105 (struct s390_prologue_data): New data type.
1106 (s390_on_stack): Change API to use struct s390_prologue_data.
1107 (s390_store): Reimplement.
1108 (s390_load): New function.
1109 (s390_get_signal_frame_info): Remove.
1110 (s390_get_frame_info): Remove, replace by ...
1111 (s390_analyze_prolog): ... this new function.
1112 (s390_check_function_end): Remove.
1113 (s390_function_start): Remove.
1114 (s390_frameless_function_invokation): Remove.
1115 (s390_is_sigreturn): Remove.
1116 (s390_init_frame_pc_first): Remove.
1117 (s390_init_frame_extra_info): Remove.
1118 (s390_frame_init_saved_regs): Remove.
1119 (s390_frame_saved_pc_nofix): Remove.
1120 (s390_frame_saved_pc): Remove.
1121 (s390_frame_chain): Remove.
1122 (s390_fp_regnum, s390_read_fp): Remove.
1123 (s390_pop_frame_regular, s390_pop_frame): Remove.
1124 (s390_saved_pc_after_call): Remove.
1125 (s390_skip_prologue): Reimplement.
1126 (s390_in_function_epilogue_p): Support long displacements.
1127 (struct s390_unwind_cache): New data structure.
1128 (s390_frame_unwind_cache): New function.
1129 (s390_prologue_frame_unwind_cache): Likewise.
1130 (s390_backchain_frame_unwind_cache): Likewise.
1131 (s390_frame_this_id, s390_frame_prev_register): Likewise.
1132 (s390_frame_unwind): Define.
1133 (s390_frame_sniffer): New function.
1134 (struct s390_pltstub_unwind_cache): New data structure.
1135 (s390_pltstub_frame_unwind_cache): New function.
1136 (s390_pltstub_frame_this_id): Likewise.
1137 (s390_pltstub_frame_prev_register): Likewise.
1138 (s390_pltstub_frame_unwind): Define.
1139 (s390_pltstub_frame_sniffer): New function.
1140 (struct s390_sigtramp_unwind_cache): New data structure.
1141 (s390_sigtramp_frame_unwind_cache): New function.
1142 (s390_sigtramp_frame_this_id): Likewise.
1143 (s390_sigtramp_frame_prev_register): Likewise.
1144 (s390_sigtramp_frame_unwind): Define.
1145 (s390_sigtramp_frame_sniffer): New function.
1146 (s390_frame_base_address, s390_local_base_address): New functions.
1147 (s390_frame_base): Define.
1148 (s390_unwind_pc, s390_unwind_sp): New function.
1149 (s390_push_dummy_call): Use new frame base location.
1150 (s390_unwind_dummy_id): Likewise.
1151 (s390_gdbarch_init): Remove calls to:
1152 set_gdbarch_frameless_function_invocation,
1153 set_gdbarch_deprecated_init_frame_pc,
1154 set_gdbarch_deprecated_frame_chain,
1155 set_gdbarch_deprecated_frame_init_saved_regs,
1156 set_gdbarch_deprecated_pop_frame,
1157 set_gdbarch_deprecated_init_extra_frame_info,
1158 set_gdbarch_deprecated_init_frame_pc_first,
1159 set_gdbarch_deprecated_target_read_fp,
1160 set_gdbarch_deprecated_frame_saved_pc,
1161 set_gdbarch_deprecated_saved_pc_after_call,
1162 set_gdbarch_deprecated_fp_regnum.
1163 Add calls to:
1164 set_gdbarch_in_solib_call_trampoline,
1165 frame_unwind_append_sniffer,
1166 frame_base_set_default,
1167 set_gdbarch_unwind_pc,
1168 set_gdbarch_unwind_sp.
1169 * Makefile.in (s390-tdep.o): Update dependencies.
1170
b0cf273e
JB
1171 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
1172 (S390_STACK_FRAME_OVERHEAD): Remove.
1173 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
1174 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
1175 (s390_promote_integer_argument): Remove.
1176 (s390_cannot_extract_struct_value_address): Remove.
1177 (s390_use_struct_convention, s390_store_struct_return): Remove.
1178 (s390_extract_return_value, s390_store_return_value): Remove.
1179 (s390_return_value_convention, s390_return_value): New functions.
1180 (is_float_singleton): Handle typedefs.
8a1dac83 1181 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
1182 Remove, replace by ...
1183 (s390_function_arg_pass_by_reference, s390_function_arg_float,
1184 s390_function_arg_integer): ... these new functions.
1185 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
1186 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
1187 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
1188 Fill in tdep->abi.
1189 Remove calls to:
1190 set_gdbarch_deprecated_store_struct_return,
1191 set_gdbarch_deprecated_extract_return_value,
1192 set_gdbarch_deprecated_store_return_value,
1193 set_gdbarch_use_struct_convention,
1194 set_gdbarch_extract_struct_value_address,
1195 set_gdbarch_deprecated_pc_in_call_dummy,
1196 set_gdbarch_deprecated_push_arguments,
1197 set_gdbarch_deprecated_save_dummy_frame_tos,
1198 set_gdbarch_deprecated_push_return_address,
1199 set_gdbarch_deprecated_sizeof_call_dummy_words,
1200 set_gdbarch_deprecated_call_dummy_words,
1201 set_gdbarch_deprecated_dummy_write_sp.
1202 Add calls to:
1203 set_gdbarch_push_dummy_call,
1204 set_gdbarch_unwind_dummy_id,
1205 set_gdbarch_return_value.
8a1dac83 1206
e1457d83
JB
1207 * config/s390/nm-linux.h: Update comments.
1208 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
1209 (STOPPED_BY_WATCHPOINT): Redefine.
1210 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
1211 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
1212 (s390_stopped_by_watchpoint): Likewise.
1213 (watch_area_cnt): Remove.
1214 * s390-nat.c: Update comments.
1215 (watch_area): Remove typedef.
1216 Global replace watch_area by struct watch_area.
1217 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 1218 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
1219 use s390_inferior_tid. Add short-cut for the no watchpoint case.
1220 (s390_fix_watch_points): Remove pid argument,
1221 use s390_inferior_tid. Recompute area spanned by watchpoints.
1222 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
1223 argument. Reimplement.
1224
d0f54f9d
JB
1225 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
1226 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
1227 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 1228 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
1229 core-regset.o.
1230 * config/s390/s390x.mt: Remove.
1231 * config/s390/tm-s390.h: Remove.
1232 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
1233 (TARGET_ELF64): Remove.
1234 (SKIP_TRAMPOLINE_CODE): Do not undefine.
1235 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
1236 s390*-*-* case; always set gdb_target to s390.
1237 * regformats/reg-s390.dat: Remove control registers.
1238 * regformats/reg-s390x.dat: Likewise.
1239 * s390-tdep.h: New file.
8a1dac83 1240 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
1241 Include "inferior.h" and "s390-tdep.h".
1242 Remove private definition of offsetof.
1243 (s390_register_u_addr): Remove.
1244 (regmap_gregset, regmap_fpregset): Define.
1245 (supply_gregset, fill_gregset): Reimplement.
1246 (supply_fpregset, fill_fpregset): Likewise.
1247 (s390_inferior_tid): New function.
1248 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
1249 (fetch_inferior_registers, store_inferior_registers): Likewise.
1250 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
1251 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
1252 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
1253 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
1254 (struct gdbarch_tdep): Define.
1255 (struct s390_register_info): Define.
1256 (s390_register_info): New variable.
1257 (s390_register_name): Reimplement.
1258 (s390_register_type): New function.
1259 (s390_register_raw_size, s390x_register_raw_size): Remove.
1260 (s390_cannot_fetch_register): Remove.
1261 (s390_register_byte): Remove.
1262 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
1263 (s390_dwarf_regmap): New variable.
1264 (s390_dwarf_reg_to_regnum): New function.
1265 (s390_stab_reg_to_regnum): Remove.
1266 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
1267 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
1268 (s390_convert_register_p): Likewise.
1269 (s390_register_to_value, s390_value_to_register): Likewise.
1270 (s390_register_reggroup_p): Likewise.
1271 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
1272 s390_gregset, s390x_gregset, s390_fpregset): New variables.
1273 (s390_supply_regset, s390_regset_from_core_section): New functions.
1274 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
1275 (S390_FPR_SIZE): Likewise.
1276 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
1277 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
1278 (S390_NUM_GPRS): Move here from tm-s390.h.
1279 (S390_NUM_FPRS): Likewise.
1280 (s390_in_function_epilogue_p): New function.
1281 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
1282 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
1283 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
1284 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
1285 Replace S390_FP_REGNUM by S390_SP_REGNUM.
1286 Remove calls to:
1287 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
1288 set_gdbarch_deprecated_max_register_virtual_size,
1289 set_gdbarch_deprecated_register_byte,
d0f54f9d 1290 set_gdbarch_cannot_fetch_register,
8a1dac83 1291 set_gdbarch_cannot_store_register,
d0f54f9d
JB
1292 set_gdbarch_deprecated_register_size,
1293 set_gdbarch_deprecated_register_raw_size,
1294 set_gdbarch_deprecated_register_virtual_size,
1295 set_gdbarch_deprecated_register_virtual_type,
1296 set_gdbarch_deprecated_register_bytes.
1297 Add calls to:
1298 set_gdbarch_num_pseudo_regs,
1299 set_gdbarch_register_type,
1300 set_gdbarch_convert_register_p,
1301 set_gdbarch_register_to_value,
1302 set_gdbarch_value_to_register,
1303 set_gdbarch_register_reggroup_p,
1304 set_gdbarch_regset_from_core_section,
1305 set_gdbarch_pseudo_register_read,
1306 set_gdbarch_pseudo_register_write,
1307 set_gdbarch_in_function_epilogue_p.
1308 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
1309 (s390_tdep_h): New variable.
1310
8cfe231d
JB
13112004-02-17 Jim Blandy <jimb@redhat.com>
1312
4589a601
JB
1313 * findvar.c (value_from_register): If the type has no length, just
1314 return an acceptable value --- don't report an internal error.
1315
8cfe231d
JB
1316 * stabsread.c (read_type): If we find any type numbers that are
1317 forward references, complain if the references aren't resolved by
1318 the time we're finished reading.
1319 (cleanup_undefined_types): Make error message more appropriate for
1320 a complaint.
1321
5bf0017e
EZ
13222004-02-17 Elena Zannoni <ezannoni@redhat.com>
1323
9d62932d
EZ
1324 * Makefile.in (defs_h): Remove dependency on progress_h.
1325 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
1326 progress.h.
1327 * main.c (captured_main): Delete use of START_PROGRESS and
1328 END_PROGRESS.
1329
13302004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 1331
5bf0017e
EZ
1332 * objfiles.c (terminate_minimal_symbol_table): Add back
1333 initialization of MSYMBOL_TYPE.
1334
9fc9f5e2
AC
13352004-02-17 David Mosberger <davidm@hpl.hp.com>
1336
1337 Committed by Andrew Cagney.
1338 * Makefile.in (ia64_tdep_h): New macro.
1339 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
1340 (ia64-tdep.o): Likewise.
1341 * ia64-tdep.h: New file.
1342 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
1343 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
1344 (ia64_aix_sigcontext_register_address): Likewise.
1345 (ia64_linux_getunwind_table): Delete declaration.
1346 * ia64-linux-tdep.c: Likewise.
1347
76cd2bd9
CV
13482004-02-17 Corinna Vinschen <vinschen@redhat.com>
1349
1350 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
1351 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
1352 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
1353
634aa483
AC
13542004-02-17 Andrew Cagney <cagney@redhat.com>
1355
1356 * symtab.c (skip_prologue_using_sal): New function.
1357 * symtab.h (skip_prologue_using_sal): Declare.
1358 * frv-tdep.c: Include "symtab.h".
1359 (skip_prologue_using_sal): Delete function.
1360 * mips-tdep.c (skip_prologue_using_sal): Delete function.
1361 * rs6000-tdep.c (refine_prologue_limit): Mention
1362 skip_prologue_using_sal.
1363 * ia64-tdep.c (refine_prologue_limit): Ditto.
1364 * Makefile.in: Update dependencies.
1365
13662004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 1367
39ce7b3f
AC
1368 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
1369 START_INFERIOR_TRAPS_EXPECTED.
1370 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
1371 START_INFERIOR_TRAPS_EXPECTED.
1372 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
1373 Delete macro.
1374 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
1375 macro, moved to "nm-osf.h". Update copyright.
1376 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
1377 update copyright.
1378
19772a2c
AC
1379 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
1380 and function replacing FRAMELESS_FUNCTION_INVOCATION.
1381 * blockframe.c (legacy_frameless_look_for_prologue): Rename
1382 frameless_look_for_prologue.
1383 * frame.h (legacy_frameless_look_for_prologue): Rename
1384 frameless_look_for_prologue.
1385 * gdbarch.h, gdbarch.c: Re-generate.
1386 * sh64-tdep.c (sh64_gdbarch_init): Update.
1387 * sh-tdep.c (sh_gdbarch_init): Update.
1388 * s390-tdep.c (s390_gdbarch_init): Update.
1389 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1390 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1391 * m68k-tdep.c (m68k_gdbarch_init): Update.
1392 (delta68_frame_args_address): Update.
1393 * m32r-tdep.c (m32r_gdbarch_init): Update.
1394 * hppa-tdep.c (hppa_gdbarch_init): Update.
1395 * h8300-tdep.c (h8300_gdbarch_init): Update.
1396 * frv-tdep.c (frv_gdbarch_init): Update.
1397 (frv_frameless_function_invocation): Update.
1398 * cris-tdep.c (cris_gdbarch_init): Update.
1399 (cris_frameless_function_invocation): Update.
1400 * avr-tdep.c (avr_gdbarch_init): Update.
1401 * arm-tdep.c (arm_gdbarch_init): Update.
1402 * stack.c (frame_info): Update, call predicate.
1403 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
1404 * frame.c (legacy_get_prev_frame): Update, call predicate..
1405 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
1406 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
1407 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
1408 invocation.
1409 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1410 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1411 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
1412
1413 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
1414 function.
1415
7dcaac91
DJ
14162004-02-16 Daniel Jacobowitz <drow@mvista.com>
1417
1418 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
1419 initializations.
1420
88289b6e
AC
14212004-02-16 Andrew Cagney <cagney@redhat.com>
1422
1423 * tui/tui-windata.c: Include "gdb_string.h".
1424 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
1425 * tui/tui-layout.c, tui/tui-command.c: Ditto.
1426 * Makefile.in: Update dependencies.
1427
9f976b41
DJ
14282004-02-16 Daniel Jacobowitz <drow@mvista.com>
1429
1430 * Makefile.in (infrun.o): Add $(gdb_assert_h).
1431 * infrun.c: Include "gdb_assert.h".
1432 (singlestep_ptid, saved_singlestep_ptid)
1433 (stepping_past_singlestep_breakpoint): New variables.
1434 (resume): Set singlestep_ptid. Check for singlestep thread
1435 hop.
1436 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
1437 (handle_inferior_event): Handle singlestep thread hop.
1438
c324d747
AC
14392004-02-16 Andrew Cagney <cagney@redhat.com>
1440
f090b9b1
AC
1441 * dwarf2-frame.c (dwarf2_frame_ops): New function.
1442 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
1443 (dwarf2_frame_init_reg): Ditto.
1444
fd33e6cb
AC
1445 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
1446 suggested by Joshua Neuheisel
1447
c324d747
AC
1448 * configure.in: Always check for curses, including pdcurses.
1449 Warn, instead of error, when no curses are found. Enable TUI when
1450 curses is available.
1451 * configure: Re-generate.
1452
b66ba949
CV
14532004-02-16 Corinna Vinschen <vinschen@redhat.com>
1454
1455 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
1456 sh_sh4_register_convert_to_virtual.
1457 (sh_register_convert_to_raw): Rename from
1458 sh_sh4_register_convert_to_raw.
1459 (sh_pseudo_register_read): Accomodate above name change.
1460 (sh_pseudo_register_write): Ditto.
1461
b58cbbf2
CV
14622004-02-16 Corinna Vinschen <vinschen@redhat.com>
1463
1464 * sh-tdep.c (sh_generic_register_name): Remove.
1465 (sh_gdbarch_init): Use sh_sh_register_name in default case.
1466
5929a910
AC
14672004-02-15 Andrew Cagney <cagney@redhat.com>
1468
4566dfcf
AC
1469 * configure.in (build_warnings): Add -Wunused-function.
1470 * configure: Re-generate.
1471
db11ed55
AC
1472 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
1473 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
1474
46ac7a5d
AC
1475 * procfs.c (procfs_init_inferior): Assume that
1476 START_INFERIOR_TRAPS_EXPECTED is defined.
1477 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
1478 * config/ns32k/tm-nbsd.h: Delete file,
1479 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
1480
ba801595
AC
1481 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
1482 * config/vax/tm-vax.h: Delete file.
1483
5929a910
AC
1484 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1485 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1486 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1487 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1488 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
1489 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1490 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
1491
8f22cb90
MK
14922004-02-15 Mark Kettenis <kettenis@gnu.org>
1493
1494 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
1495 * dwarf2-frame.c (dwarf2_frame_data): New variable.
1496 (struct dwarf2_frame_ops): New.
1497 (dwarf2_frame_default_init_reg): New function, based on
1498 dwarf2_frame_init_reg.
1499 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
1500 (dwarf2_frame_init_reg): Call architecture-specific function.
1501 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
1502 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
1503 instead of dwarf2_frame_data.
1504 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
1505 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
1506
8132723e
AC
15072004-02-15 Andrew Cagney <cagney@redhat.com>
1508
046a4708
AC
1509 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
1510 register_gdbarch_swap.
1511 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
1512 * f-lang.c (_initialize_f_language): Update, use
1513 DEPRECATED_REGISTER_GDBARCH_SWAP.
1514 * remote.c (_initialize_remote): Ditto.
1515 * regcache.c (_initialize_regcache): Ditto.
1516 * parse.c (_initialize_parse): Ditto.
1517 * infrun.c (_initialize_infrun): Ditto.
1518 * mi/mi-main.c (_initialize_mi_main): Ditto.
1519 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 1520
549c1eea
AC
1521 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
1522 poking .cacheable directly.
1523 * symfile.c (symfile_bfd_open): Ditto.
1524
0c0b39de
AC
1525 * Makefile.in: Update all dependencies.
1526
8132723e
AC
1527 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
1528 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
1529 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
1530 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
1531 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 1532
b9d26eb9
AC
15332004-02-14 Andrew Cagney <cagney@redhat.com>
1534
8e1f669a
AC
1535 * arch-utils.c (legacy_convert_register_p): Check
1536 DEPRECATED_REGISTER_CONVERTIBLE_P.
1537 * findvar.c (value_of_register): Ditto.
1538
cd0bfa36
AC
1539 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
1540 * gdbarch.h, gdbarch.c: Re-generate.
1541 * arch-utils.c (deprecated_register_convertible_not): Delete.
1542 * arch-utils.h (deprecated_register_convertible_not): Delete.
1543 * mi/mi-main.c (get_register): Update. Update copyright.
1544 * infcmd.c (default_print_registers_info): Update.
1545
b9d26eb9
AC
1546 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1547 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
1548 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 1549 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
1550 * frame.c (deprecated_get_next_frame_hack): Delete function.
1551 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
1552 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
1553 Update.
1554 * infcall.c (call_function_by_hand): Update.
1555
9ab9195f
EZ
15562004-02-14 Elena Zannoni <ezannoni@redhat.com>
1557
1558 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 1559 from here...
9ab9195f
EZ
1560 * objfiles.c (init_entry_point_info, entry_point_address):..to
1561 here.
1562 * symfile.h (init_entry_point_info, entry_point_address): Remove
1563 prototypes.
1564 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 1565 prototypes.
9ab9195f
EZ
1566 * cris-tdep.c: Remove include of symfile.h. Add include of
1567 objfiles.h.
1568 * infcall.c: Ditto.
1569 * mcore-tdep.c: Ditto.
1570 * mn10300-tdep.c: Ditto.
1571 * sh64-tdep.c: Ditto.
1572 * v850-tdep.c: Ditto.
1573 * arm-tdep.c: Remove include of symfile.h.
1574 * blockframe.c: Ditto.
1575 * coffread.c: Ditto.
1576 * dbxread.c: Ditto.
1577 * dwarf2read.c: Ditto.
1578 * dwarfread.c: Ditto.
8a1dac83 1579 * frv-tdep.c: Ditto.
9ab9195f
EZ
1580 * ia64-tdep.c: Ditto.
1581 * mdebugread.c: Ditto.
1582 * mipsread.c: Ditto.
8a1dac83 1583 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
1584 * s390-tdep.c: Ditto.
1585 * sh-tdep.c: Ditto.
8a1dac83 1586 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
1587 * gdbarch.sh: Remove include of symfile.h.
1588 * gdbarch.c: Regenerate.
1589 * solib-irix.c (enable_break): Use entry_point_address().
1590 Add comment about include file.
1591 * xcoffread.c: Add comment about include file.
8a1dac83
RM
1592 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
1593 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
1594 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
1595 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
1596 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
1597
c4c5b7ba
AC
15982004-02-13 Andrew Cagney <cagney@redhat.com>
1599
1600 * corelow.c (core_xfer_partial): Use "struct bfd_section".
1601 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
1602 copyright.
1603 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
1604
3e7879de
FF
16052004-02-12 Fred Fish <fnf@redhat.com>
1606
1607 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
1608 set_gdbarch_store_return_value.
1609
6a7760b6
AC
16102004-02-12 Andrew Cagney <cagney@redhat.com>
1611
1612 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
1613 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
1614 (interrupt_query): Ditto.
1615 (ofunc): Delete unused variable.
1616 * cris-tdep.c (cris_abi): Delete unused function.
1617 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
1618 (cris_get_wide_opcode, cris_get_short_size): Ditto.
1619 (cris_get_asr_quick_shift_steps): Ditto.
1620 (cris_skip_prologue_frameless_p): Ditto.
1621 * arm-tdep.c (arm_push_return_address): Delete unused function.
1622 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
1623 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
1624 * s390-tdep.c (s390_function_start): Delete unused function.
1625
31687c3c
AC
16262004-02-12 Andrew Cagney <cagney@redhat.com>
1627
1628 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
1629 gdbarch.h, gdbarch.c: Re-generate.
1630 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
1631 to generic_prologue_frameless_p.
1632 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
1633 * arch-utils.c (generic_prologue_frameless_p): Delete function.
1634
6de918a6
DJ
16352004-02-11 Daniel Jacobowitz <drow@mvista.com>
1636
1637 * mips-linux-tdep.c: Include "frame.h".
1638 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
1639 (mips_linux_skip_resolver): New functions.
1640 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
1641 and set_gdbarch_in_solib_call_trampoline.
1642 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
1643 to after set_gdbarch_in_solib_return_trampoline. Only set the
1644 solib hooks to mips16 functions if the OS ABI is unknown.
1645 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
1646 including "config/tm-linux.h".
1647 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
1648 * Makefile.in (mips-linux-tdep.o): Update.
1649
87b3ede8
DC
16502004-02-11 David Carlton <carlton@kealia.com>
1651
1652 * linespec.c (decode_compound): Only look for a class symbol when
1653 considering all but the rightmost component.
1654
5979bc46
AC
16552004-02-11 Andrew Cagney <cagney@redhat.com>
1656
1657 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
1658 abi code are are separatly grouped.
1659
5867a2fb
AC
16602004-02-11 Andrew Cagney <cagney@redhat.com>
1661
1662 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
1663 * gdbarch.h, gdbarch.c: Re-generate.
1664 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1665 * v850-tdep.c (v850_gdbarch_init): Update.
1666 * sh64-tdep.c (sh64_gdbarch_init): Update.
1667 * sh-tdep.c (sh_gdbarch_init): Update.
1668 * s390-tdep.c (s390_gdbarch_init): Update.
1669 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1670 * mips-tdep.c (mips_gdbarch_init): Update.
1671 * mcore-tdep.c (mcore_gdbarch_init): Update.
1672 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1673 * m32r-tdep.c (m32r_gdbarch_init): Update.
1674 * ia64-tdep.c (ia64_gdbarch_init): Update.
1675 * hppa-tdep.c (hppa_gdbarch_init): Update.
1676 * h8300-tdep.c (h8300_gdbarch_init): Update.
1677 * frv-tdep.c (frv_gdbarch_init): Update.
1678 * d10v-tdep.c (d10v_gdbarch_init): Update.
1679 * cris-tdep.c (cris_gdbarch_init): Update.
1680 * avr-tdep.c (avr_gdbarch_init): Update.
1681 * arm-tdep.c (arm_gdbarch_init): Update.
1682 * alpha-tdep.c (alpha_gdbarch_init): Update.
1683
026a72f8
CV
16842004-02-11 Corinna Vinschen <vinschen@redhat.com>
1685
1686 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
1687 comma.
1688 (sh_sh4al_dsp_register_name): Ditto.
1689
3903d437
AC
16902004-02-10 Andrew Cagney <cagney@redhat.com>
1691
1692 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
1693 (mips_init_frame_pc_first): Delete function.
1694 (mips_frame_saved_pc): Delete function.
1695 (mips_frame_chain): Delete function.
1696 (mips_init_extra_frame_info): Delete function.
1697 (mips_xfer_register): Delete unused variable "reg".
1698 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
1699 (mips_n32n64_return_value): Delete unused variable "reg".
1700 (mips_n32n64_return_value): Delete unused variable "pos".
1701 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
1702 (mips_o32_return_value): Delete unused variable "pos".
1703 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
1704 (mips_print_fp_register): Delete unused variable "namelen"
1705 (mips_print_fp_register): Delete unused variable "flt2"
1706 (get_frame_pointer): Delete function.
1707 (cached_proc_desc): Delete static variable.
1708 (mips_pop_frame): Delete function.
1709 (mips_find_saved_regs): Delete function.
1710 (mips_get_saved_register): Delete function.
1711 (mips_saved_pc_after_call): Delete function.
1712 (SIGFRAME_BASE): Delete macro.
1713 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
1714 (SIGFRAME_PC_OFF): Delete macro.
1715 (SIGFRAME_REGSAVE_OFF): Delete macro.
1716 (mips_dump_tdep): Do not print deleted macro definitions.
1717
b9fb98bd
AC
17182004-02-10 Andrew Cagney <cagney@redhat.com>
1719
1720 * Makefile.in (SFILES): Remove explictly listed tui files.
1721 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
1722
78ced177 17232004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 1724
78ced177
JJ
1725 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
1726 to use paddr functions to format ia64 addresses and long values.
1727 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
1728 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
1729 (get_kernel_table, ia64_find_proc_info_x): Ditto.
1730 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
1731 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
1732
6a83354a
AC
17332004-02-10 Andrew Cagney <cagney@redhat.com>
1734
1735 * defs.h: Do not include "tui.h".
1736 * gdb_curses.h: New file.
1737 * tui/tui-hooks.h: New file.
1738 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
1739 (tui_install_hooks, tui_remove_hooks): Delete declarations.
1740 (tui_initialize_io): Delete declaration.
1741 (tui_initialize_readline: Delete redundant declaration.
1742 (struct tui_point): Delete definition.
1743 * tui/tui-data.h (struct tui_point): Define.
1744 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
1745 * utils.c: Include "tui/tui.h".
1746 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
1747 * printcmd.c [TUI]: Include "tui/tui.h".
1748 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
1749 * tui/tui-command.c: Include "gdb_curses.h".
1750 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
1751 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
1752 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
1753 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
1754 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
1755 * Makefile.in: Update all dependencies.
1756 (tui_hooks_h, gdb_curses_h): Define.
1757 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
1758
997470ef
EZ
17592004-02-10 Elena Zannoni <ezannoni@redhat.com>
1760
1761 * objfiles.h (struct objfile): Remove unused fields auxf1 and
1762 auxf2. Add comments about some other rarely used fields.
1763
4ff2cc4d
AC
17642004-02-10 Andrew Cagney <cagney@redhat.com>
1765
1766 * Makefile.in (init.c): Fix script removing duplicates. Problem
1767 reported by Peter Schauer.
1768
1ab21617
EZ
17692004-02-09 Elena Zannoni <ezannoni@redhat.com>
1770
1771 * bcache.c (bcache_xmalloc): Use obstack_init instead of
1772 obstack_specify_allocation.
1773 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 1774 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
1775 (allocate_rt_common_objfile): Ditto.
1776 * symfile.c (reread_symbols): Ditto.
1777 * gdb_obstack.h: Add comment.
1778
17763fd9
EZ
17792004-02-09 Elena Zannoni <ezannoni@redhat.com>
1780
1781 * linespec.c (decode_line_1, locate_first_half)
1782 (decode_compound, lookup_prefix_sym): Update comments. Delete old
1783 commented out code.
1784
ec5cdd75
DJ
17852004-02-09 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
1788 obstack_free.
1789
43b54b88
AC
17902004-02-09 Andrew Cagney <cagney@redhat.com>
1791
1792 * blockframe.c (find_pc_partial_function): If find_pc_overlay
1793 fails, try find_pc_section. Fix PR c++/1267.
1794 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
1795 instead of find_pc_mapped_section.
1796 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
1797 not default to the section containing PC. Fix PR symtab/1519.
1798
edfae063
AC
17992004-02-09 Andrew Cagney <cagney@redhat.com>
1800
1801 * Makefile.in (mips-tdep.o): Update dependencies.
1802 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
1803 "trad-frame.h".
1804 (mips_unwind_pc): Return the pseudo PC register.
1805 (mips_unwind_dummy_id): New function.
1806 (mips16_fetch_instruction): New function.
1807 (mips32_fetch_instruction): New function.
1808 (struct mips_frame_cache): Define.
1809 (mips_mdebug_frame_cache): New function.
1810 (mips_mdebug_frame_this_id): New function.
1811 (mips_mdebug_frame_prev_register): New function.
1812 (mips_mdebug_frame_unwind): Define.
1813 (mips_mdebug_frame_sniffer): New function.
1814 (mips_mdebug_frame_base_address): New function.
1815 (mips_mdebug_frame_base): Define.
1816 (mips_mdebug_frame_base_sniffer): New function.
1817 (mips_gdbarch_init): Append unwind and base sniffers. Set
1818 unwind_dummy_id.
1819
defc864c
AC
18202004-02-08 Andrew Cagney <cagney@redhat.com>
1821
6764ddad
AC
1822 * frame.c: Print both the register number and name.
1823
defc864c
AC
1824 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
1825 and a sed into a single sed. Make .c and .o patterns more robust.
1826 (OBS): Delete.
1827 (INIT_FILES): Replace OBS with COMMON_OBS.
1828 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
1829
645d6d10
MK
18302004-02-08 Mark Kettenis <kettenis@gnu.org>
1831
1832 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
1833 the PT_WCOOKIE request.
1834
23e3c3fc
AC
18352004-02-08 Andrew Cagney <cagney@redhat.com>
1836
58dfe9ff
AC
1837 * mips-tdep.c (mips_unwind_pc): New function.
1838 (mips_gdbarch_init): Set mips_unwind_pc.
1839
1152e35e
AC
1840 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
1841 (get_frame_id): Allow the UNKNOWN_FRAME.
1842 (frame_register_unwind, get_frame_type): Ditto.
1843
31b75dbf
AC
1844 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
1845 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
1846 unwind_dummy_id indicates a legacy frame.
1847
3483b318
AC
1848 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
1849 * configure: Re-generate.
1850
23e3c3fc
AC
1851 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
1852 methods.
1853
33f8ca73
AC
18542004-02-08 Andrew Cagney <cagney@redhat.com>
1855
1856 * configure.in (CONFIG_ALL): Set to Makefile target, and not
1857 makefile macro.
1858 * configure: Re-generate.
1859 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
1860 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
1861 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
1862 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
1863 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
1864 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
1865 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
1866 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
1867 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
1868 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
1869
6ba8e26f 18702004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 1871
20d286a5
AC
1872 * Makefile.in: Update all dependencies.
1873
d836ee13
AC
1874 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
1875 * configure: Re-generate.
1876 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
1877 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
1878 (COMMON_OBS): Add "main.o" and "annotate.o".
1879 (ANNOTATE_OBS): Delete.
1880 (OBS): Remove ANNOTATE_OBS.
1881 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
1882 CONFIG_INITS.
1883 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
1884 against CONFIG_OBS and "main.o".
1885 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
1886 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
1887
d02c80cd
AC
1888 * tui/tui-command.c: Include "gdb_string.h", delete register
1889 attribute, use ISO-C function signatures.
1890 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
1891 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
1892 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
1893 * tui/tui.c: Ditto.
6ba8e26f
AC
1894
1895 * tui/tui-command.c: Change variable and function names to lower
1896 case.
1897 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
1898 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
1899 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
1900 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1901 * tui/tui-winsource.c, tui/tui.c: Ditto.
1902
4a146b47
EZ
19032004-02-07 Elena Zannoni <ezannoni@redhat.com>
1904
1905 * buildsym.c (free_pending_blocks, finish_block)
1906 (record_pending_block, make_blockvector, end_symtab): Replace
1907 symbol_obstack with objfile_obstack.
8a1dac83 1908 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 1909 (coff_read_enum_type): Ditto.
8a1dac83 1910 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 1911 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 1912 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
1913 (dwarf2_symbol_mark_computed): Ditto.
1914 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
1915 * elfread.c (elf_symtab_read): Ditto.
1916 * hpread.c (hpread_symfile_init, hpread_symfile_init)
1917 (hpread_read_enum_type, hpread_read_function_type)
1918 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
1919 Ditto.
8a1dac83 1920 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 1921 (java_link_class_type): Ditto.
8a1dac83 1922 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
1923 (new_symbol): Ditto.
1924 * minsyms.c (install_minimal_symbols): Ditto.
1925 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
1926 (terminate_minimal_symbol_table): Replace symbol_obstack with
1927 objfile_obstack.
1928 (free_objfile): Remove freeing of symbol_obstack.
1929 * objfiles.h: Remove symbol_obstack field.
1930 * pa64solib.c (add_to_solist): Replace symbol_obstack with
1931 objfile_obstack.
1932 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
1933 symbol_obstack.
1934 (solib_add_common_symbols): Replace symbol_obstack with
1935 objfile_obstack.
1936 * somsolib.c (som_solib_add): Ditto.
1937 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
1938 (common_block_start, common_block_end): Ditto.
1939 * symfile.c (reread_symbols): Remove freeing and init of
1940 symbol_obstack.
1941 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
1942 * symfile.h: Update comment.
1943 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
1944 stats printing.
1945 * symtab.c (symbol_set_names): Replace symbol_obstack with
1946 objfile_obstack.
1947 * symtab.h (struct general_symbol_info, struct minimal_symbol):
1948 Update comments.
1949 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
1950 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
1951 objfile_obstack.
1952
6d012f14
AC
19532004-02-07 Andrew Cagney <cagney@redhat.com>
1954
1955 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
1956 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
1957 fields and variables.
1958 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
1959 (m_beInvisible): Delete macro.
1960 * tui/tui-data.h: Fix case case fields and variables.
1961 (m_genWinPtrIsNull): Delete macro.
1962 (tui_win_list): Rename winList.
1963 (TUI_SRC_WIN): Rename srcWin.
1964 (TUI_DISASM_WIN): Rename disassemWin.
1965 (TUI_DATA_WIN): Rename dataWin.
1966 (TUI_CMD_WIN): Rename cmdWin.
1967 (m_genWinPtrNotNull): Delete macro.
1968 (m_winPtrIsNull): Delete macro.
1969 (m_winPtrNotNull): Delete macro.
1970 (tui_win_is_source_type): Replace m_winIsSourceType
1971 (tui_win_is_auxillary): Replace m_winIsAuzillary.
1972 (tui_win_has_locator): Replace m_hasLocator.
1973 (tui_set_win_highlight): Replace m_setWinHighlightOn and
1974 m_setWinHighlightOff.
1975 * tui/tui-data.c: Update references.
1976 (tui_win_is_source_type, tui_set_win_highlight): New functions.
1977 (tui_win_has_locator, tui_win_is_auxillary): New functions.
1978 * tui/tui-command.c, tui/tui-disasm.c: Update references.
1979 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
1980 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
1981 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1982 * tui/tui-winsource.c, tui/tui.c: Ditto.
1983
7d34766b
MK
19842004-02-07 Mark Kettenis <kettenis@gnu.org>
1985
1c800673
MK
1986 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
1987 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
1988 StackGhost.
1989
7d34766b
MK
1990 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
1991 variable `i6' to `i7'.
1992 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
1993
22940a24
AC
19942004-02-07 Andrew Cagney <cagney@redhat.com>
1995
1996 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
1997 (TuiPoint, TuiPointPtr): Ditto.
1998 (TuiStatus, TuiStatusPtr): Ditto.
1999 (TuiWinType, TuiWinTypePtr): Ditto.
2000 (struct tui_point): Rename _TuiPoint.
2001 (tui_get_low_disassembly_address): Rename
2002 tuiGetLowDisassemblyAddress.
2003 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
2004 (tuiFree): Delete declaration.
2005 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
2006 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
2007 * tui/tui.c (tuiFree): Delete function.
2008 * cli/cli-cmds.c (disassemble_command): Update references.
2009 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
2010 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
2011 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
2012 * tui/tui-winsource.c: Ditto.
2013
8b92e4d5
EZ
20142004-02-07 Elena Zannoni <ezannoni@redhat.com>
2015
2016 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
2017 coffstab_build_psymtabs, elfstab_build_psymtabs)
2018 (stabsect_build_psymtabs): Replace psymbol_obstack with
2019 objfile_obstack.
2020 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
2021 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
2022 Ditto.
2023 * dwarfread.c (scan_compilation_units): Ditto.
2024 * elfread.c (elfstab_offset_sections): Ditto.
2025 * hppa-tdep.c (read_unwind_info): Ditto.
2026 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
2027 (hpread_end_psymtab): Ditto.
2028 * mdebugread.c (mdebug_build_psymtabs, add_pending)
2029 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
2030 Ditto.
2031 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 2032 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
2033 (build_objfile_section_table): Ditto.
2034 (allocate_objfile): Remove init of psymbol_obstack.
2035 (free_objfile): Remove freeing of psymbol_obstack.
2036 * objfiles.h (struct objfile): Remove field
2037 psymbol_obstack. Update comments.
2038 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
2039 psymbol_obstack with objfile_obstack.
2040 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
2041 psymbol_obstack.
2042 * somread.c (som_symfile_offsets, init_import_symbols)
2043 (init_export_symbols): Replace psymbol_obstack with
2044 objfile_obstack.
2045 * somsolib.c (som_solib_add_solib_objfile): Ditto.
2046 * symfile.c (default_symfile_offsets, syms_from_objfile)
2047 (reread_symbols): Remove freeing and init of psymbol_obstack.
2048 (cashier_psymtab): Update comment.
2049 * symmisc.c (print_objfile_statistics): Don't report stats for
2050 psymbol obstack.
2051 * symtab.h (struct general_symbol_info, struct partial_symtab):
2052 Update comments.
2053 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
2054 (xcoff_symfile_offsets): Replace psymbol_obstack with
2055 objfile_obstack.
2056
b99607ea
EZ
20572004-02-07 Elena Zannoni <ezannoni@redhat.com>
2058
2059 * objfiles.h (struct objfile): Add objfile_obstack field.
2060 Remove type_obstack field.
2061
2062 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
2063 read_structure_scope read_enumeration, new_symbol): Replace
2064 type_obstack with objfile_obstack.
2065 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 2066 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
2067 (lookup_fundamental_type): Ditto.
2068 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
2069 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
2070 (hpread_read_doc_function_type, hpread_read_struct_type)
2071 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 2072 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 2073 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
2074 (java_link_class_type): Ditto.
2075 * mdebugread.c (parse_type): Ditto.
2076 * objfiles.c (allocate_objfile, free_objfile): Ditto.
2077 * solib-sunos.c (solib_add_common_symbols): Ditto.
2078 * stabsread.c (define_symbol, read_type, read_member_functions,
2079 read_cpp_abbrev, read_one_struct_field): Ditto.
2080 * symfile.c (reread_symbols): Ditto.
2081 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 2082
2a8854a7
AC
20832004-02-07 Andrew Cagney <cagney@redhat.com>
2084
2085 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
2086 (tui_exec_info_content): Rename TuiExecInfoContent.
2087 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
2088 (TuiWinInfo, TuiWinInfoPtr): Ditto.
2089 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
2090 (TuiList, TuiListPtr): Ditto.
2091 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
2092 (TuiDataType, TuiDataTypePtr): Ditto.
2093 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
2094 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
2095 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
2096 (TuiSourceElement, TuiSourceElementPtr): Ditto.
2097 (TuiDataElement, TuiDataElementPtr): Ditto.
2098 (TuiWinElement, TuiWinElementPtr): Ditto.
2099 (TuiDataInfo, TuiDataInfoPtr): Ditto.
2100 (TuiCommandElement, TuiCommandElementPtr): Ditto.
2101 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
2102 (TuiWhichElement, TuiWhichElementPtr): Ditto.
2103 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
2104 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
2105 * tui/tui-command.c, tui/tui-data.c: Update references.
2106 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
2107 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
2108 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
2109 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 2110
05cbe71a
MK
21112004-02-07 Mark Kettenis <kettenis@gnu.org>
2112
2113 * dwarf2-frame.h: Update copyright.
2114 (enum dwarf2_frame_reg_rule): New.
2115 (struct dwarf2_frame_state_reg): New.
2116 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
2117 * dwarf2-frame.c: Update copyright.
2118 (enum dwarf2_reg_rule): Remove.
2119 (struct dwarf2_frame_state): Remove defenition of `struct
2120 dwarf2_frame_state_reg'.
2121 (read_reg): Call get_frame_arch to get the architecture instead of
2122 using CURRENT_GDBARCH.
2123 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
2124 DWARF2_FRAME_.
2125 (dwarf2_frame_init_reg): New function.
2126 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
2127 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
2128 initialize the register state. Prefix old `enum dwarf2_reg_rule'
2129 tags with DWARF2_FRAME_.
2130 (dwarf2_frame_prev_register): Call get_frame_arch to get the
2131 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
2132 dwarf2_reg_rule' tags with DWARF2_FRAME_.
2133
ec7d9e56
AC
21342004-02-06 Andrew Cagney <cagney@redhat.com>
2135
dd1abb8c
AC
2136 * tui/tui-data.h (struct tui_list): Rename _TuiList.
2137 (enum tui_data_type): Rename _TuiDataType.
2138 (struct tui_layout_def): Rename _TuiLayoutDef.
2139 (struct tui_source_element): Rename _TuiSourceElement.
2140 (struct tui_data_element): Rename _TuiDataElement.
2141 (struct tui_command_element): Rename _TuiCommandElement.
2142 (struct tui_locator_element): Rename _TuiLocatorElement.
2143 (union tui_which_element): Define.
2144 (struct tui_win_element): Rename _TuiWinElement.
2145 (struct tui_data_info): Rename _TuiDataInfo.
2146 (struct tui_source_info): Rename _TuiSourceInfo.
2147 (struct tui_command_info): Rename _TuiCommandInfo.
2148 (tui_initialize_static_data): Rename initializeStaticData.
2149 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
2150 (tui_alloc_win_info): Rename allocWinInfo.
2151 (tui_init_generic_part): Rename initGenericPart.
2152 (tui_init_win_info): Rename initWinInfo.
2153 (tui_alloc_content): Rename allocContent.
2154 (tui_add_content_elements): Rename addContentElements.
2155 (tui_init_content_element): Rename initContentElement.
2156 (tui_free_window): Rename freeWindow.
2157 (tui_free_win_content): Rename freeWinContent.
2158 (tui_free_data_content): Rename freeDataContent.
2159 (tui_free_all_source_wins_content): Rename
2160 freeAllSourceWinsContent.
2161 (tui_del_window): Rename tuiDelWindow.
2162 (tui_del_data_windows): Rename tuiDelDataWindows.
2163 (tui_partial_win_by_name): Rename partialWinByName.
2164 (tui_win_name): Rename winName.
2165 (tui_current_layout): Rename currentLayout.
2166 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
2167 (tui_term_height): Rename termHeight.
2168 (tui_set_term_height_to): Rename setTermHeightTo.
2169 (tui_term_width): Rename termWidth.
2170 (tui_set_term_width_to): Rename setTermWidthTo.
2171 (tui_set_gen_win_origin): Rename setGenWinOrigin.
2172 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
2173 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
2174 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
2175 (tui_source_windows): Rename sourceWindows.
2176 (tui_clear_source_windows): Rename clearSourceWindows.
2177 (tui_clear_source_windows_detail): Rename
2178 clearSourceWindowsDetail.
2179 (tui_clear_win_detail): Rename clearWinDetail.
2180 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
2181 (tui_default_tab_len): Rename tuiDefaultTabLen.
2182 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
2183 (tui_win_with_focus): Rename tuiWinWithFocus.
2184 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
2185 (tui_layout_def): Rename tuiLayoutDef.
2186 (tui_win_resized): Rename tuiWinResized.
2187 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
2188 (tui_next_win): Rename tuiNextWin.
2189 (tui_prev_win): Rename tuiPrevWin.
2190 (tui_add_to_source_windows): Rename addToSourceWindows.
2191 * tui/tui-winsource.c, tui/tui-win.c: Update references.
2192 * tui/tui-layout.c, tui/tui-source.c: Ditto.
2193 * tui/tui-stack.c, tui/tui-io.c: Ditto.
2194 * tui/tui.c, tui/tui-data.c: Ditto.
2195 * tui/tui-interp.c, tui/tui-data.c: Ditto.
2196 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
2197
a358af15
AC
2198 * tui/tui-source.h: Update copyright. Include "tui-data.h".
2199 (struct symtab): Declare.
2200 (tui_set_source_content): Rename tuiSetSourceContent.
2201 (tui_show_symtab_source): Rename tuiShowSource.
2202 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
2203 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
2204 * tui/tui-source.c: Update copyright. Update references.
2205 * tui/tui-win.c, tui/tui-winsource.c: Update references.
2206 * tui/tui-stack.c: Update references.
2207
a21fcd8f
AC
2208 * tui/tui-win.h: Update copyright. Include "tui-data.h".
2209 (struct tui_win_info): Declare.
2210 (tui_scroll_forward): Rename tuiScrollForward.
2211 (tui_scroll_backward): Rename tuiScrollBackward.
2212 (tui_scroll_left): Rename tuiScrollLeft.
2213 (tui_scroll_right): Rename tuiScrollRight.
2214 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
2215 (tui_resize_all): Rename tuiResizeAll.
2216 (tui_refresh_all_win): Rename tuiRefreshAll.
2217 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
2218 * tui/tui-layout.c, * tui/tui-io.c: Update references.
2219 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
2220 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
2221
edae1ccf
AC
2222 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
2223 (tui_erase_data_content): Rename tuiEraseDataContent.
2224 (tui_display_all_data): Rename tuiDisplayAllData.
2225 (tui_check_data_values): Rename tuiCheckDataValues.
2226 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
2227 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
2228 (tui_first_data_element_no_in_line): Rename
2229 tuiFirstDataElementNoInLine.
2230 (tui_delete_data_content_windows): Rename
2231 tuiDeleteDataContentWindows.
2232 (tui_refresh_data_win): Rename tuiRefreshDataWin.
2233 (tui_display_data_from): Rename tuiDisplayDataFrom.
2234 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
2235 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
2236 * tui/tui-win.c, tui/tui-regs.c: Update references.
2237 * tui/tui-layout.c, tui/tui.c: Update references.
2238
ec7d9e56
AC
2239 * tui/tui-wingeneral.h: Update copyright.
2240 (m_allBeVisible): Delete macro.
8a1dac83 2241 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
2242 (struct tui_gen_win_info): Declare.
2243 (struct tui_win_info): Declare.
2244 (tui_unhighlight_win): Rename unhighlightWin.
2245 (tui_make_visible, tui_make_invisible): Replace makeVisible.
2246 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
2247 (tui_make_window): Rename makeWindow.
2248 (tui_copy_win): Rename copyWin.
2249 (tui_box_win): Rename boxWin.
2250 (tui_highlight_win): Rename highlightWin.
2251 (tui_check_and_display_highlight_if_needed): Rename
2252 checkAndDisplayHighlightIfNeeded.
2253 (tui_refresh_all): Rename refreshAll.
2254 (tui_delete_win): Rename tuiDelwin.
2255 (tui_refresh_win): Rename tuiRefreshWin.
2256 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
2257 (tui_make_visible, tui_make_invisible): New functions.
2258 (tui_make_all_visible, tui_make_all_invisible): New functions.
2259 (make_all_visible): Rename makeAllVisible.
2260 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
2261 * tui/tui-data.c, tui/tui-winsource.c: Update references.
2262 * tui/tui-windata.c, tui/tui-win.c: Update references.
2263 * tui/tui-regs.c, tui/tui-layout.c: Update references.
2264 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
2265
1e52e2eb
MK
22662004-02-06 Mark Kettenis <kettenis@gnu.org>
2267
2268 * proc-api.c (write_with_trace): Initialize local variable to
2269 silence compiler warning.
2270
f80bda8e
AC
22712004-02-06 Andrew Cagney <cagney@redhat.com>
2272
2273 * tui/tui-source.h: Do not include "defs.h".
2274 (struct tui_win_info): Declare.
2275 (tui_set_source_content_nil): Declare.
2276 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
2277 (union tui_line_or_address): Rename _TuiLineOrAddress.
2278 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
2279 (tui_update_source_window): Rename tuiUpdateSourceWindow.
2280 (tui_update_source_window_as_is): Rename
2281 tuiUpdateSourceWindowAsIs.
2282 (tui_update_source_windows_with_addr): Rename
2283 tuiUpdateSourceWindowsWithAddr.
2284 (tui_update_source_windows_with_line): Rename
2285 tuiUpdateSourceWindowsWithLine.
2286 (tui_clear_source_content): Rename tuiClearSourceContent.
2287 (tui_erase_source_content): Rename tuiEraseSourceContent.
2288 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
2289 (tui_show_source_content): Rename tuiShowSourceContent.
2290 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
2291 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
2292 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
2293 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
2294 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
2295 (tui_update_exec_info): Rename tuiUpdateExecInfo.
2296 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
2297 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
2298 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
2299 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
2300 (struct tui_win_info): Declare.
2301 * tui/tui-stack.c: Update references.
2302 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
2303 * tui/tui-win.c, tui/tui-source.c: Ditto.
2304 * tui/tui.c, tui/tui-disasm.c: Ditto.
2305
9fbfb822
MK
23062004-02-06 Mark Kettenis <kettenis@gnu.org>
2307
2308 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
2309 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
2310
03cebad2
MK
23112004-02-05 Mark Kettenis <kettenis@gnu.org>
2312
2313 * infrun.c (handle_inferior_event): Allow for breakpoint
2314 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
2315 and SIGEMT. Update comments.
2316 * NEWS (Revised SPARC target): Mention support for non-executable
2317 stack.
2318
290281b1
MK
23192004-02-04 Mark Kettenis <kettenis@gnu.org>
2320
2321 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
2322 * inftarg.c: Update copyright year.
2323 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
2324 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
2325 (sparc_xfer_wcookie): New function.
2326 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2327 * Makefile.in (sparc-nat.o): Update dependencies.
2328 * config/sparc/nm-nbsd.h: Include "target.h".
2329 (NATIVE_XFER_WCOOKIE): New define.
2330 (sparc_xfer_wcookie): New prototype.
2331
212161df
AC
23322004-02-04 Andrew Cagney <cagney@redhat.com>
2333
2334 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
2335 SYSCALL_TRAP function.
2336 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
2337
6e4c6c91
DJ
23382004-02-04 Andrew Cagney <cagney@redhat.com>
2339 Daniel Jacobowitz <drow@mvista.com>
2340
2341 * objfiles.h: Delete comments refering to inside_entry_func and
2342 DEPRECATED_FRAME_CHAIN_VALID.
2343 * defs.h (inside_entry_func): Update prototype..
2344 * blockframe.c (inside_entry_func): Rename to
2345 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
2346 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
2347
cae688ec
JJ
23482004-02-03 Jeff Johnston <jjohnstn@redhat.com>
2349
2350 * breakpoint.c (struct captured_parse_breakpoint_args): Move
2351 outside of #ifdef SOLIB_ADD region.
2352 (do_restore_lang_radix_cleanup): Ditto.
2353 (resolve_pending_breakpoint): Ditto.
2354
19217676
AC
23552004-02-03 Andrew Cagney <cagney@redhat.com>
2356
2357 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
2358 (process_note_abi_tag_sections): Delete unused function.
2359 (ia64_read_fp): Delete unused function.
2360 (gdbarch_extract_struct_value_address): Delete declaration.
2361
876753be
AC
23622004-02-02 Andrew Cagney <cagney@redhat.com>
2363
2364 * vax-tdep.c (vax_frame_chain): Delete call to
2365 deprecated_inside_entry_file.
2366 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
2367
d4f10bf2
MK
23682004-02-02 Mark Kettenis <kettenis@gnu.org>
2369
2370 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
2371 column that's "empty" or "same value" when eliminating REG_RA
2372 rules.
2373
cae688ec
JJ
23742004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2375
2376 * NEWS: Add information about new pending breakpoint support.
2377
0101ce28
JJ
23782004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2379
2380 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
2381 and pending fields for pending breakpoint support.
2382 * breakpoint.c (breakpoint_enabled): Add check for not pending.
2383 (condition_command): Only parse condition if not a pending
2384 breakpoint.
2385 (print_one_breakpoint): Add support for pending breakpoints.
2386 (describe_other_breakpoints): Add checks to verify we are not
2387 dealing with pending breakpoints.
2388 (check_duplicates): Don't check pending breakpoints.
2389 (set_raw_breakpoint): Initialize pending flag.
2390 (do_restore_lang_radix_cleanup): New cleanup routine.
2391 (resolve_pending_breakpoint): New function.
2392 (re_enable_breakpoints_in_shlibs): Try and resolve any
2393 pending breakpoints via resolve_pending_breakpoint.
2394 (mention): Add pending breakpoint support.
2395 (parse_breakpoint_sals): Add new parameter to pass to
2396 decode_line_1 to indicate silent errors when files or functions
2397 are not found. Change all callers.
2398 (do_captured_parse_breakpoint): New function.
2399 (break_command_1): Change prototype to return an rc value and to
2400 take an optional pending breakpoint pointer. Support creating
2401 a pending breakpoint if a "not found" form of error occurs when
2402 parsing the breakpoint. Also support resolving an existing pending
2403 breakpoint and be silent if the resolution fails.
2404 (create_breakpoints): Change prototype to take pending breakpoint
2405 pointer. When resolving a pending breakpoint, use the new pointer
2406 to provide a conditional or commands added by the end-user.
2407 (delete_breakpoint): Add appropriate check for pending.
2408 (breakpoint_re_set_one): Ditto.
2409 (do_enable_breakpoint): Ditto.
2410
8d577d32
DC
24112004-02-02 David Carlton <carlton@kealia.com>
2412
2413 * valops.c (enum oload_classification): New.
2414 (find_overload_match): Break implementation into separate
2415 functions; delete #if 0'd code; look for symbols within
2416 namespaces.
2417 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
2418 (find_oload_champ,oload_method_static,classify_oload_match): New.
2419 * cp-support.h: Add declaration for cp_func_name; update
2420 declaration for make_symbol_overload_list.
2421 * cp-support.c (cp_func_name): New.
2422 (overload_list_add_symbol): Fix comment, use
2423 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
2424 (make_symbol_overload_list): Take a function name and a namespace
2425 instead of a symbol; change implementation.
2426 (make_symbol_overload_list_using): New.
2427 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
2428
22e8e3c7
FF
24292004-02-02 Fred Fish <fnf@redhat.com>
2430
2431 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 2432 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
2433 * remote-sim.c (gdb_os_write_stderr): Write output to
2434 gdb_stdtargerr stream instead of gdb_stdtarg stream.
2435 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 2436 gdb_stderr stream and update copyright years.
22e8e3c7 2437
6b753f60
DJ
24382004-02-01 Daniel Jacobowitz <drow@mvista.com>
2439
2440 * Makefile.in (mips-linux-nat.o): Update dependencies.
2441 * mips-linux-nat.c: Include mips-tdep.h.
2442
24432004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
2444
2445 * sol-thread.c (sol_thread_xfer_partial): New function.
2446 (init_sol_thread_ops): Use that for to_xfer_partial hook.
2447 (init_sol_core_ops): Likewise.
2448
2449 * procfs.c (procfs_xfer_partial): New function.
2450 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
2451 * Makefile.in (procfs.o): Add $(auxv_h) dep.
2452
2453 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
2454 procfs_xfer_auxv function.
2455
2456 * procfs.c (procfs_make_note_section): If we can read
2457 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
2458 * linux-proc.c (linux_make_note_section): Likewise.
2459
2460 * auxv.h: New file.
2461 * auxv.c: New file.
2462 * Makefile.in (auxv_h): New variable.
2463 (COMMON_OBS): Add auxv.o here.
2464 (auxv.o): New target.
2465
2466 * corelow.c (core_xfer_partial): New function.
2467 (init_core_ops): Use it for core_ops.to_xfer_partial.
2468
2469 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
2470 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
2471 macro if that is defined.
2472
fa5281d0
DJ
24732004-02-01 Daniel Jacobowitz <drow@mvista.com>
2474
2475 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
2476 and check the specified thread for each breakpoint.
2477 * breakpoint.h (bpstat_stop_status): Update prototype.
2478 * infrun.c (handle_inferior_event): Update calls to
2479 bpstat_stop_status.
2480
26ee262d
DJ
24812004-02-01 Daniel Jacobowitz <drow@mvista.com>
2482
2483 * Makefile.in (cli-cmds.o): Add $(readline_h).
2484
d9b52655
DJ
24852004-02-01 Daniel Jacobowitz <drow@mvista.com>
2486
2487 * cli/cli-cmds.c: Include readline.h.
2488 (complete_command): Pass the start of the last word to
2489 complete_line.
2490
9709f61c
DJ
24912004-01-31 Daniel Jacobowitz <drow@mvista.com>
2492
2493 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
2494 argument, and change first argument to a CORE_ADDR.
2495 * breakpoint.h (bpstat_stop_status): Update prototype.
2496 * infrun.c (adjust_pc_after_break): Add a new comment.
2497 (handle_inferior_event): Update calls to bpstat_stop_status.
2498
4f1280bb
DJ
24992004-01-31 Daniel Jacobowitz <drow@mvista.com>
2500
2501 * breakpoint.h: Update copyright years.
2502
4fa8626c
DJ
25032004-01-31 Daniel Jacobowitz <drow@mvista.com>
2504
2505 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
2506 (bpstat_stop_status): Don't decrement PC.
2507 * breakpoint.h (software_breakpoint_inserted_here_p): Add
2508 prototype.
2509 * infrun.c (adjust_pc_after_break): New function.
2510 (handle_inferior_event): Call it, early. Remove later references
2511 to DECR_PC_AFTER_BREAK.
2512 (normal_stop): Add commentary.
2513
fad0733a
DJ
25142004-01-31 Daniel Jacobowitz <drow@mvista.com>
2515
2516 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
2517 2004-01-27 double-free fix.
2518
42cdca6c
MK
25192004-01-31 Mark Kettenis <kettenis@gnu.org>
2520
2521 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2522 (sparc32_frame_prev_register): Handle StackGhost.
2523 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
2524
932d5416
RM
25252004-01-29 Roland McGrath <roland@redhat.com>
2526
2527 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
2528 * configure: Regenerated.
2529
2530 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
2531 * Makefile.in (procfs.o): Add dep.
2532
47d3492a
AC
25332004-01-28 Andrew Cagney <cagney@redhat.com>
2534
2535 * tui/tui-stack.h: Update copyright.
2536 (struct frame_info): Add opaque declaration.
2537 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
2538 (tui_show_locator_content): Rename tuiShowLocatorContent.
2539 (tui_show_frame_info): Rename tuiShowFrameInfo.
2540 * tui/tui-stack.c: Update copyright. Update references.
2541 * tui/tui-winsource.c: Update references.
2542 * tui/tui-win.c: Update references.
2543 * tui/tui-layout.c: Update references.
2544 * tui/tui-hooks.c: Update copyright, update references.
2545 * tui/tui.c: Update copyright, update references.
2546 * tui/tui-disasm.c: Update references.
2547
5d51ca54
DC
25482004-01-28 David Carlton <carlton@kealia.com>
2549
2550 * dwarf2read.c (add_partial_structure): Use demangled name if
2551 namespace equals "".
2552
086ed43d
JB
25532004-01-27 Jim Blandy <jimb@redhat.com>
2554
2555 Clean up misapplied patch:
2556 * dwarf2read.c (determine_prefix): Change one of the two forward
2557 declarations for 'determine_prefix_aux' to a declaration for this.
2558 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
2559 argument to 'die_specification'.
2560
2a35147e
JB
2561 * dwarf2read.c (read_func_scope): Re-indent comment.
2562
a355c7de 25632004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 2564
a355c7de
AC
2565 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
2566 b->exp to NULL after freeing so that error during re-parsing or
2567 evaluation of expressions associated with breakpoint don't
2568 eventually lead to re-freeing of storage.
2569 Committed by Andrew Cagney.
2570
63ff5125
AC
25712004-01-27 Andrew Cagney <cagney@redhat.com>
2572
2573 * source.c (ambiguous_line_spec): Delete undefined declaration.
2574 * m32r-rom.c (m32r_set_board_address): Delete unused function.
2575 (m32r_set_server_address, m32r_set_download_path): Ditto.
2576 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
2577
e142c38c
DJ
25782004-01-27 Daniel Jacobowitz <drow@mvista.com>
2579
2580 * dwarf2read.c: Update calls to changed and renamed functions, and
2581 references to moved variables.
2582
2583 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
2584 language, language_defn, list_in_scope, and ftypes members.
2585 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
2586 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
2587 (baseaddr): Remove globals.
2588
2589 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
2590 (set_cu_language, die_is_declaration, die_specification)
2591 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
2592 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
2593 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
2594 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
2595
2596 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
2597 cu.list_in_scope. Don't initialize cu_header_offset.
2598 (add_partial_symbol): Add local baseaddr.
2599 (psymtab_to_symtab_1): Add local baseaddr. Use
2600 objfile->section_offsets for consistency. Don't initialize
2601 cu_header_offset; do initialize cu.header.offset and
2602 cu.list_in_scope.
2603 (read_file_scope, read_func_scope, read_lexical_block_scope)
2604 (dwarf_decode_lines, new_symbol): Add local baseaddr.
2605
c6e06ede
MC
26062004-01-27 Michael Chastain <mec.gnu@mindspring.com>
2607
fb328ecc 2608 * PROBLEMS: Add gdb/1516.
c6e06ede 2609
48184fd4
AC
26102003-12-29 Robert Millan <robertmh@gnu.org>
2611
2612 Patch committed by Andrw Cagney.
2613 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
2614 * configure.tgt: Match knetbsd*-gnu.
2615
c1321b30
AC
26162004-01-26 Andrew Cagney <cagney@redhat.com>
2617
f3699be3
AC
2618 * breakpoint.c (catch_command_1): Delete #ifdef code.
2619 (catch_fork_command_1): Delete #ifdef wrapper.
2620 (catch_exec_command_1): Ditto.
2621 (catch_load_command_1): Ditto.
2622 (catch_unload_command_1): Ditto.
2623
c1321b30
AC
2624 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
2625 (catch_breakpoint): Delete #if0ed function.
2626 (disable_catch_breakpoint): Ditto.
2627 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
2628 (disable_catch, enable_catch, delete_catch): Ditto.
2629
b4501125
AC
26302004-01-26 Andrew Cagney <cagney@redhat.com>
2631
2632 * remote.c (echo_check, quit_flag): Delete variables.
2633 (cisco_kernel_mode): Delete variable.
2634 (minitelnet_return, tty_input, escape_count): Delete variables.
2635 (remote_cisco_mode): Delete variable.
2636 (remote_cisco_open, remote_cisco_close): Delete function.
2637 (remote_cisco_mourn, remote_cisco_wait): Delete function.
2638 (init_remote_cisco_ops): Delete function.
2639 (_initialize_remote): Do not install "remote cisco" code.
2640 (read_frame): Delete cisco specific code.
2641 (remote_info_process): Delete function.
2642 (remote_wait): Delete cisco specific code.
2643 (remote_cisco_section_offsets): Delete function.
2644 (remote_cisco_objfile_relocate): Delete function.
2645 (remote_async_wait): Delete cisco specific code.
2646 (minitelnet, readtty, readsocket): Delete function.
2647
74055713
AC
26482004-01-26 Andrew Cagney <cagney@redhat.com>
2649
2650 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
2651 comments mentioning extract_returned_value_address.
2652 * infcmd.c (print_return_value): Update. Add comments on
2653 extract_returned_value_address.
2654 * stack.c (return_command): Add comments on
2655 extract_returned_value_address.
2656 * values.c: Update comment.
2657 * m32r-tdep.c: Update comment.
2658 * sparc-tdep.c: Update comment.
2659 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
2660 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2661 * sh64-tdep.c (sh64_gdbarch_init): Update.
2662 * sh-tdep.c (sh_gdbarch_init): Update.
2663 * s390-tdep.c (s390_gdbarch_init): Update.
2664 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2665 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
2666 * m68k-tdep.c (m68k_gdbarch_init): Update.
2667 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2668 * m32r-tdep.c (m32r_gdbarch_init): Update.
2669 * ia64-tdep.c (ia64_gdbarch_init): Update.
2670 * h8300-tdep.c (h8300_gdbarch_init): Update.
2671 * frv-tdep.c (frv_gdbarch_init): Update.
2672 * arm-tdep.c (arm_gdbarch_init): Update.
2673 * alpha-tdep.c (alpha_gdbarch_init): Update.
2674
a67af2b9
AC
26752004-01-26 Andrew Cagney <cagney@redhat.com>
2676
2677 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
2678 SYMBOL_LOCATION_FUNCS
2679 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
2680 "struct symbol_ops".
2681 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
2682 type to "struct symbol_ops".
2683 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
2684 (struct symbol): Replace ".aux_value.loc.funcs" and
2685 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
2686 (SYMBOL_OBJFILE): Delete macro.
2687 (SYMBOL_LOCATION_FUNCS): Delete macro.
2688 (SYMBOL_LOCATION_BATON): Update.
2689 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
2690 intead of SYMBOL_LOCATION_FUNCS.
2691 * ax-gdb.c (gen_var_ref): Ditto.
2692 * printcmd.c (address_info): Ditto.
2693 * findvar.c (read_var_value): Ditto.
2694 (symbol_read_needs_frame): Ditto.
2695
c034e007
AC
26962004-01-26 Andrew Cagney <cagney@redhat.com>
2697
2698 * dwarf2read.c (read_func_scope): Document frame-base hack.
2699
bb472c1e
MK
27002004-01-25 Mark Kettenis <kettenis@gnu.org>
2701
2702 * infcmd.c (print_return_value): Plug memory leak; delete
2703 ui_stream object. Rename argument `structure_return' to
2704 `struct_return'.
2705
c8e737d5
MK
27062004-01-25 Mark Kettenis <kettenis@gnu.org>
2707
f941662f
MK
2708 * infcmd.c (print_return_value): Wrap long lines.
2709 (finish_command_continuation, finish_command): Remove unused
2710 variable `funcaddr'. Fix some coding-standards problems.
2711
c558d81a
MK
2712 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
2713 SECT_SIZE is large enough, not wheter it's exactly the right size.
2714 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
2715 TDEP->fpregset to zero.
2716
bf1e5861 2717 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
2718 floating-point registers for traditional NetBSD core files.
2719 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
2720 TDEP->sizeof_fpregset here.
2721
4c72d57a
MK
27222004-01-25 Mark Kettenis <kettenis@gnu.org>
2723
566626fa
MK
2724 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
2725 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
2726 function with code split out from
2727 sparc32nbsd_sigcontext_frame_cache.
2728 (sparc32nbsd_sigcontext_frame_cache): Use
2729 sparc32nbsd_sigcontext_saved_regs.
2730 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
2731 OpenBSD.
2732 * sparcobsd-tdep.c: New file.
2733 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
2734 (sparcobsd-tdep.o): New dependency.
2735 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
2736 * config/sparc/obsd.mt: New file.
2737
4c72d57a
MK
2738 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
2739 TDEP->fpregset to be initialized to enable core file register
2740 sets.
2741
7e5e9f88
MK
27422004-01-24 Mark Kettenis <kettenis@gnu.org>
2743
f0f207fd 2744 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
2745 Add opaque declarations.
2746 (sparc64nbsd_sigcontext_saved_regs): New prototype.
2747 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
2748 function with code split out from
2749 sparc64nbsd_sigcontext_frame_cache.
2750 (sparc64nbsd_sigcontext_frame_cache): Use
2751 sparc64nbsd_sigcontext_saved_regs.
2752 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
2753 OpenBSD.
2754 * sparc64obsd-tdep.c: New file.
2755 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
2756 (sparc64obsd-tdep.o): New dependency.
2757 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
2758 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
2759 * config/sparc/obsd64.mt: New file.
2760
690668cc
MK
2761 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
2762 read the instruction at PC.
2763
7e5e9f88
MK
2764 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
2765 value of GDB_OSABI_DEFAULT.
2766 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
2767 instead of GDB_OSABI_NETBSD_AOUT.
2768
68b6dce9
NR
27692004-01-24 Nick Roberts <nick@nick.uklinux.net>
2770
2771 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
2772 copyright.
2773
080ce8c0
AC
27742004-01-23 Andrew Cagney <cagney@redhat.com>
2775
2776 * printcmd.c (display_command): Replace tui_set_display call with
2777 tui_set_layout_for_display_command.
2778 * tui/tui.h (enum tui_win_type): Define.
2779 (tui_set_layout): Delete declaration.
2780 (tui_set_layout_for_display_command): Rename set_tui_layout.
2781 * tui/tui-data.h (enum tui_layout_type): Define.
2782 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
2783 "tui.h".
2784 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
2785 (tui_default_win_height): Rename tuiDefaultWinHeight.
2786 (tui_default_win_viewport_height): Rename
2787 tuiDefaultWinViewportHeight.
2788 (tui_set_layout): RenametuiSetLayout.
2789 * tui/tui-layout.c: Update references.
2790 * tui/tui.c: Update references.
2791 * tui/tui-disasm.c: Update references.
2792
b368761e
DC
27932004-01-23 David Carlton <carlton@kealia.com>
2794
2795 Partial workaround for PR c++/1511:
2796 * cp-namespace.c: Include frame.h.
2797 (cp_lookup_transparent_type): New
2798 (cp_lookup_transparent_type_loop): New.
2799 * cp-support.h: Declare cp_lookup_transparent_type.
2800 * symtab.c (basic_lookup_transparent_type): Renamed from
2801 lookup_transparent_type.
2802 (lookup_transparent_type): Replace old body by a call to
2803 current_language->la_lookup_transparent_type.
2804 * symtab.h: Update copyright. Declare
2805 basic_lookup_transparent_type.
2806 * language.h: Update copyright.
2807 (struct language_defn): Add la_lookup_transparent_type.
2808 * language.c: Update copyright.
2809 (unknown_language_defn): Add basic_lookup_transparent_type.
2810 (auto_language_defn): Add basic_lookup_transparent_type.
2811 (local_language_defn): Add basic_lookup_transparent_type.
2812 * ada-lang.c: Update copyright.
2813 (ada_language_defn): Add basic_lookup_transparent_type.
2814 * c-lang.c: Update copyright.
2815 (c_language_defn): Add basic_lookup_transparent_type.
2816 (cplus_language_defn): Add basic_lookup_transparent_type.
2817 (asm_language_defn): Add basic_lookup_transparent_type.
2818 (minimal_language_defn): Add basic_lookup_transparent_type.
2819 * f-lang.c: Update copyright.
2820 (f_language_defn): Add basic_lookup_transparent_type.
2821 * jv-lang.c: Update copyright.
2822 (java_language_defn): Add basic_lookup_transparent_type.
2823 * m2-lang.c: Update copyright.
2824 (m2_language_defn): Add basic_lookup_transparent_type.
2825 * objc-lang.c: Update copyright.
2826 (objc_language_defn): Add basic_lookup_transparent_type.
2827 * p-lang.c: Update copyright.
2828 (p_language_defn): Add basic_lookup_transparent_type.
2829 * scm-lang.c: Update copyright.
2830 (scm_language_defn): Add basic_lookup_transparent_type.
2831 * Makefile.in (cp-namespace.o): Depend on frame.h.
2832
fdde2d81
DC
28332004-01-23 David Carlton <carlton@kealia.com>
2834
2835 Patch for PR c++/1520:
2836 * dwarf2read.c (read_func_scope): Set processing_current_prefix
2837 properly if we have a specification die.
2838 (determine_prefix_aux): Rename from determine_prefix.
2839 (determine_prefix): Like the old determine_prefix, but never
2840 returns NULL.
2841
5b828b6b
TR
28422004-01-23 Theodore A. Roth <troth@openavr.org>
2843
2844 * avr-tdep.c: Update copyright.
2845 (avr_iaddr_p): Delete unused function.
2846 (avr_saddr_p): Delete unused function.
2847
a1b8c067
DC
28482004-01-23 David Carlton <carlton@kealia.com>
2849
2850 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
2851 Fix for PR symtab/1534.
2852
f2cab569
MK
28532004-01-23 Mark Kettenis <kettenis@gnu.org>
2854
2855 * NEWS (New native configurations): Mention OpenBSD/sparc and
2856 OpenBSD/sparc64.
2857 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
2858 * configure.host: Likewise.
2859 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
2860 handler for OpenBSD.
2861 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
2862
642d8300
MK
28632004-01-22 Mark Kettenis <kettenis@gnu.org>
2864
89aac506
MK
2865 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
2866 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
2867
36662fde
MK
2868 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
2869 * cli/cli-cmds.c (shell_escape): Likewise.
2870
642d8300
MK
2871 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
2872 OpenBSD .note.openbsd.ident sections.
2873
fae299cd
DC
28742004-01-22 David Carlton <carlton@kealia.com>
2875
2876 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
2877 get_scope_pc_bounds.
2878 (read_file_scope): Ditto.
2879 (get_scope_pc_bounds): New function, produced by extracting code
2880 from the above two functions, consolidating it, and adding support
2881 for DW_TAG_namespace.
2882
a49d618c
MK
28832004-01-22 Mark Kettenis <kettenis@gnu.org>
2884
2885 * osabi.c (MAX_NOTESZ): New define.
2886 (check_note): New function.
2887 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
2888 check_note.
2889
fe61caab
RM
28902004-01-21 Roland McGrath <roland@redhat.com>
2891
2892 * MAINTAINERS (write after approval): Add myself.
2893
ec145965
EZ
28942004-01-21 Eli Zaretskii <eliz@gnu.org>
2895
2896 * utils.c (init_page_info): Move declarations of `rows' and
2897 `cols' before the __GO32__-specific code. Move the closing brace
2898 outside the #ifdef __GO32__..#endif block.
2899 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
2900
877522db
PB
29012004-01-21 Paul Brook <paul@codesourcery.com>
2902
2903 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
2904 BPSTAT_WHAT_CHECK_SHLIBS.
2905
dbf5be1c
PB
29062004-01-21 Paul Brook <paul@codesourcery.com>
2907
2908 * MAINTAINERS: Add myself to write-after-approval.
2909
81f08b92
AC
29102004-01-20 Andrew Cagney <cagney@redhat.com>
2911
5a1efed7
AC
2912 * ax-gdb.c (print_axs_value): Delete unused function.
2913 * jv-lang.c (java_lookup_type): Delete unused function.
2914 * cli/cli-dump.c (dump_filetype): Delete unused function.
2915 * remote-mips.c (remote_mips_insert_hw_breakpoint)
2916 (remote_mips_remove_hw_breakpoint): Delete unused functions.
2917 (mips_getstring): Delete unused function.
2918 (pmon_insert_breakpoint): Delete #if0ed function.
2919 (PMON_MAX_BP): Delete #if0ed MACRO.
2920 (mips_pmon_bp_info): Delete #if0ed variable.
2921 (pmon_remove_breakpoint): Delete #if0ed function.
2922 * monitor.c (monitor_write_even_block): Delete unused function.
2923 (monitor_write_memory_block): Delete #if0ed code.
2924 * dink32-rom.c (dink32_load): Delete unused function.
2925 (_initialize_dink32_rom): Delete #if0ed code.
2926 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
2927
b0a30fce
AC
2928 * tui/tui-command.c: Update references.
2929 * tui/tui-io.c: Update references.
2930 * tui/tui-command.h: Update copyright.
2931 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
2932
81f08b92
AC
2933 * source.c (ambiguous_line_spec): Delete never-defined function.
2934 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
2935 * gdbtypes.c (add_name, add_mangled_type): Ditto.
2936 * cli/cli-cmds.c (validate_comname): Ditto.
2937
65f05602
AC
2938 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
2939 "tui-data.h".
2940 (tui_set_disassem_content): Rename tuiSetDisassemContent.
2941 (tui_show_disassem): Rename tuiShowDisassem.
2942 (tui_show_disassem_and_update_source): Rename
2943 tuiVerticalDisassemScroll.
2944 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
2945 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
2946 * tui/tui.h: Update copyright.
2947 (enum tui_status): Define.
2948 * tui/tui-data.h (enum tui_scroll_direction): Define.
2949 * tui/tui-disasm.c: Update copyright. Update references.
2950 * tui/tui-winsource.c: Update copyright. Update references.
2951 * tui/tui-win.c: Update references.
2952 * tui/tui-layout.c: Update references.
2953
6bb0384f
AC
29542004-01-20 Andrew Cagney <cagney@redhat.com>
2955
2956 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
2957 sym2 to start of block.
2958
9175c9a3
MC
29592004-01-19 Michael Chastain <mec.gnu@mindspring.com>
2960
2961 * MAINTAINERS: Delete mmalloc.
2962 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
2963 * NEWS: Mention removal of --with-malloc.
2964 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
2965 * config.in: Regenerate.
2966 * configure: Regenerate.
6bb0384f
AC
2967 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
2968 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
2969 * gdbinit.in: Remove mmalloc.
2970 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
2971 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
2972 * config/i386/go32.mh: Likewise.
2973 * config/i386/interix.mh: Likewise.
2974 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2975
4fcef00a
JJ
29762004-01-19 Jeff Johnston <jjohnstn@redhat.com>
2977
2978 * linespec.c (decode_variable, symtab_from_filename): Call
2979 error_silent with error message instead of throwing an exception
2980 directly.
2981 * defs.h (error_silent, error_output_message): Add prototypes.
2982 (catch_exceptions_with_msg): Ditto.
2983 * utils.c (error_silent, error_output_message): New functions.
2984 * top.c (catch_exceptions_with_msg): New function.
2985
8e94b928
NR
29862004-01-20 Nick Roberts <nick@nick.uklinux.net>
2987
2988 * mi/mi-cmds.h (enum print_values): Add definition.
2989
2990 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
2991 type and value for simple data types and just the name and type
2992 for complex ones, if required.
2993
2994 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
2995 children, if required.
2996
a02d6af8
KB
29972004-01-19 Kevin Buettner <kevinb@redhat.com>
2998
2999 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
3000 unused declarations.
3001
78a4a9b9
AC
30022004-01-19 Andrew Cagney <cagney@redhat.com>
3003
3004 * top.h (mapped_symbol_files): Delete declaration.
3005 * main.c (captured_main): Delete option "m" and "mapped".
3006 * objfiles.c (mapped_symbol_files): Delete variable.
3007 * symfile.c (symbol_file_command): Delete mmap code.
3008 (symbol_file_add_with_addrs_or_offsets): Ditto.
3009 (add_symbol_file_command, reread_separate_symbols): Ditto.
3010 * objfiles.h (OBJF_MAPPED): Delete.
3011 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
3012 (free_objfile) [USE_MMALLOC]: Ditto.
3013 (open_existing_mapped_file): Delete function.
3014 (open_mapped_file): Delete function.
3015 (map_to_file): Delete function.
3016
2dbd5e30
KB
30172004-01-19 Kevin Buettner <kevinb@redhat.com>
3018
3019 * infrun.c (step_into_function): Account for possible breakpoint
3020 adjustment when computing ``stop_func_start''.
3021
437b434f
KB
30222004-01-19 Kevin Buettner <kevinb@redhat.com>
3023
3024 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
3025 the region size against the size of a pointer, not the size of
3026 a register as given by DEPRECATED_REGISTER_SIZE.
3027
55fb0713
AC
30282004-01-19 Andrew Cagney <cagney@redhat.com>
3029
3030 * tui/tui-regs.h: Include "tui-data.h".
3031 (tuiFirstRegElementNoInLine): Delete declaration.
3032 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
3033 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
3034 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
3035 (tui_calculate_regs_column_count): Rename
3036 tuiCalculateRegsColumnCount.
3037 (tui_check_register_values): Rename tuiCheckRegisterValues.
3038 (tui_show_registers): Rename tuiShowRegisters.
3039 (tui_display_registers_from_line): Rename
3040 tuiDisplayRegistersFromLine.
3041 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
3042 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
3043 (tui_first_reg_element_no_inline): Rename
3044 tuiFirstRegElementNoInLine.
3045 * tui/tui-data.h: Update copyright.
3046 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
3047 * tui/tui-windata.c: Update copyright, update references.
3048 * tui/tui-regs.c: Update copyright, update references.
3049 * tui/tui-win.c: Update copyright, update references.
3050 * tui/tui-layout.c: Update copyright, update references.
fe61caab 3051
cebe9500
AC
30522004-01-18 Andrew Cagney <cagney@redhat.com>
3053
bcdf1568
AC
3054 * tui/tui-io.c: Update copyright.
3055 (key_is_end_sequence, key_is_backspace): New functions.
3056 (key_is_command_char, key_is_start_sequence): New function.
3057 (tui_getc): Update references.
3058 * tui/tui-io.h: Update copyright.
3059 (m_tuiStartNewLine): Delete macro.
3060 (m_isBackspace, m_isDeleteChar): Delete macros.
3061 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
3062 (m_isNextPage, m_isPrevPage): Delete macros.
3063 (m_isLeftArrow, m_isRightArrow): Delete macros.
3064 (m_isXdbStyleCommandChar): Delete macro.
3065 (key_is_start_sequence): Declare, replace m_isStartSequence.
3066 (key_is_end_sequence): Declare, replace m_isEndSequence.
3067 (key_is_backspace): Declare ,replace m_isBackspace.
3068 (key_is_command_char): Declare, replace m_isCommandChar.
3069 * tui/tui-command.c: Update copyright.
3070 (tuiDispatchCtrlChar): Update references.
3071
130d87e6
AC
3072 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
3073 tuiSourceWin.h.
3074
d7b2e967
AC
3075 * tui/tui-command.c: Rename tui/tuiCommand.c.
3076 * tui/tui-command.h: Rename tui/tuiCommand.h.
3077 * tui/tui-data.c: Rename tui/tuiData.c.
3078 * tui/tui-data.h: Rename tui/tuiData.h.
3079 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
3080 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
3081 * tui/tui-io.c: Rename tui/tuiIO.c.
3082 * tui/tui-io.h: Rename tui/tuiIO.h.
3083 * tui/tui-layout.c: Rename tui/tuiLayout.c.
3084 * tui/tui-layout.h: Rename tui/tuiLayout.h.
3085 * tui/tui-regs.c: Rename tui/tuiRegs.c.
3086 * tui/tui-regs.h: Rename tui/tuiRegs.h.
3087 * tui/tui-source.c: Rename tui/tuiSource.c.
3088 * tui/tui-source.h: Rename tui/tuiSource.h.
3089 * tui/tui-stack.c: Rename tui/tuiStack.c.
3090 * tui/tui-stack.h: Rename tui/tuiStack.h.
3091 * tui/tui-win.c: Rename tui/tuiWin.c.
3092 * tui/tui-win.h: Rename tui/tuiWin.h.
3093 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
3094 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
3095 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
3096 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
3097 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
3098 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
3099 * tui/tui-file.c: Update includes.
3100 * tui/tui-hooks.c: Update includes.
3101 * tui/tui-interp.c: Update includes.
3102 * tui/tui.c: Update includes.
3103 * Makefile.in: Update all tui/ dependencies.
3104 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
3105
b2100910
AC
3106 * Makefile.in: Update copyright. Update dependencies.
3107
cebe9500
AC
3108 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
3109 problem.
3110
c6f0559b
AC
31112004-01-18 Andrew Cagney <cagney@redhat.com>
3112
43e9390b
AC
3113 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
3114 instead of register_gdbarch_init.
3115
c6f0559b
AC
3116 * remote-sds.c (tohex): Delete unused function. Update copyright.
3117 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
3118 * v850-tdep.c (v850_register_virtual_size): Ditto.
3119 * target.c (normal_target_post_startup_inferior): Ditto.
3120 * source.c (ambiguous_line_spec): Ditto.
3121 * remote.c (adapt_remote_get_threadinfo): Ditto.
3122 * mi/mi-out.c (out_field_fmt): Ditto.
3123 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
3124 (output_control_change_notification): Ditto.
3125 * m68k-tdep.c (m68k_register_byte): Ditto.
3126 (m68k_remote_breakpoint_from_pc): Ditto.
3127 * ui-out.c (init_ui_out_state): Delete unused declaration.
3128 * stabsread.c (search_value): Ditto.
3129 * mi/mi-cmd-env.c (env_cli_command): Ditto.
3130 * maint.c (print_section_table): Ditto.
3131 * infrun.c (set_follow_fork_mode_command): Ditto.
3132
a8504492
MK
31332004-01-18 Mark Kettenis <kettenis@gnu.org>
3134
3135 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
3136 DW_CFA_def_cfa_exporession. Add support for
3137 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
3138 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
3139
0bd8997e
AC
31402004-01-18 Andrew Cagney <cagney@redhat.com>
3141
3142 * ocd.c: Update copyright.
3143 (bdm_read_register_command): Delete unused function.
3144 (_initialize_remote_ocd): Delete commented out reference.
3145 (get_quoted_char, reset_packet): Delete #if0ed function.
3146 (output_packet, put_quoted_char): Delete #if0ed function.
3147 (stu_put_packet, stu_get_packet): Delete #if0ed function.
3148 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
3149 (BDM_BREAKPOINT): Delete #if0ed macro.
3150 (remote_timeout): Delete #if0ed variable.
3151
31bb40e4
MK
31522004-01-18 Mark Kettenis <kettenis@gnu.org>
3153
3154 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
3155 (core-sol2.o): Remove dependency.
3156 * core-sol2.c: Remove file.
3157
887432a5
AC
31582004-01-17 Andrew Cagney <cagney@redhat.com>
3159
3160 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
3161 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
3162 enums.
3163
29182b13
DJ
31642004-01-17 Daniel Jacobowitz <drow@mvista.com>
3165
3166 * remote.c: Update copyright years.
3167
2963ee1d
DJ
31682004-01-17 Daniel Jacobowitz <drow@mvista.com>
3169
3170 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
3171
79d45cd4
AC
31722004-01-17 Andrew Cagney <cagney@redhat.com>
3173
ee300cd4
AC
3174 * mdebugread.c: Update copyright.
3175 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
3176 (parse_type, parse_procedure): Ditto.
3177 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
3178
fcacc9c2
AC
3179 * cris-tdep.c (cris_store_struct_return): Put back accidently
3180 deleted function.
3181
79d45cd4
AC
3182 * gdbarch.sh: Update copyright year.
3183 * gdbarch.h, gdbarch.c: Re-generate.
3184
b263358a
DJ
31852004-01-17 Daniel Jacobowitz <drow@mvista.com>
3186
3187 Suggested by George Anzinger.
3188 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
3189 correct stack offset. Include unknown opcode numbers in the error
3190 message.
3191
931aecf5
AC
31922004-01-17 Andrew Cagney <cagney@redhat.com>
3193
3194 * x86-64-tdep.c (x86_64_init_abi): No need to clear
3195 extract_struct_value_address, i386 does not set it.
3196 * sparc64-tdep.c (sparc64_init_abi): Do not set
3197 extract_struct_value_address, never called.
3198 (sparc64_extract_struct_value_address): Delete function.
3199 * m68hc11-tdep.c: Update copyright.
3200 (m68hc11_gdbarch_init): Delete redundant assignment of
3201 extract_struct_value_address.
3202 * i386-tdep.c: Update copyright.
3203 (i386_gdbarch_init): Do not set extract_struct_value_address,
3204 never called.
3205 (i386_extract_struct_value_address): Delete function.
3206 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
3207 extract_struct_value_address, never called.
3208 (sparc32_extract_struct_value_address): #if 0 function. Add
3209 comments explaining its future.
3210
756fe439
DJ
32112004-01-17 Daniel Jacobowitz <drow@mvista.com>
3212
3213 * arm-tdep.c (arm_write_pc): New function.
3214 (arm_gdbarch_init): Call set_gdbarch_write_pc.
3215
e74f0f02
DJ
32162004-01-17 Daniel Jacobowitz <drow@mvista.com>
3217
3218 * breakpoint.c (must_shift_inst_regs): Delete.
3219 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
3220 and SHIFT_INST_REGS.
3221 * infcmd.c (step_1, step_1_continuation): Delete references to
3222 SHIFT_INST_REGS.
3223 * infrun.c (keep_going): Likewise.
3224 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
3225 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
3226
b6cb9035
AC
32272004-01-17 Andrew Cagney <cagney@redhat.com>
3228
444a1e2e
AC
3229 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3230 * gdbarch.h, gdbarch.c: Re-generate.
3231 * infcmd.c (print_return_value): Delete reference to
3232 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
3233
def7e6ed
AC
3234 * cris-tdep.c (cris_gdbarch_init): Do not set
3235 deprecated_extract_struct_value_address.
3236
07be497a
AC
3237 * xstormy16-tdep.c: Update copyright.
3238 (xstormy16_extract_struct_value_address): Update to current
3239 extract struct value address interface.
3240 (xstormy16_gdbarch_init): Set extract_struct_value_address.
3241 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
3242 current extract struct value address interface.
3243 (sh64_gdbarch_init): Set extract_struct_value_address.
3244
6b4d5c91
AC
3245 * cris-tdep.c: Update copyright.
3246 (cris_extract_struct_value_address): Delete function.
3247 (struct_return_address): Delete variable.
3248 (cris_store_struct_return): Do not set struct_return_address.
3249
464e0365
AC
3250 * mcore-tdep.c: Update copyright.
3251 (mcore_extract_struct_value_address): Delete function. Update
3252 comments.
3253 (mcore_gdbarch_init): Update.
3254 * mn10300-tdep.c: Update copyright.
3255 (mn10300_extract_struct_value_address): Delete function.
3256 (mn10300_gdbarch_init): Update.
3257 * v850-tdep.c: Update copyright.
3258 (v850_extract_struct_value_address): Delete.
3259 (v850_gdbarch_init): Update.
3260 * ns32k-tdep.c: Update copyright.
3261 (ns32k_extract_struct_value_address): Delete.
3262 (ns32k_gdbarch_init): Update.
3263 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
3264 (hppa_gdbarch_init): Update.
3265 * vax-tdep.c: Update copyright.
3266 (vax_extract_struct_value_address): Delete.
3267 (vax_gdbarch_init): Update.
3268
afb18d0f
AC
3269 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
3270 * gdbarch.h, gdbarch.c: Re-generate.
3271 * procfs.c (procfs_fetch_registers): Delete reference to
3272 DEPRECATED_NPC_REGNUM.
3273 (procfs_store_registers): Ditto.
3274 * regcache.c (generic_target_write_pc): Simplify.
3275 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
3276
a698f53e
AC
3277 * core-sol2.c (fetch_core_registers): Replace
3278 DEPRECATED_NPC_REGNUM with equivalent tdep value.
3279
adc11376
AC
3280 * hppa-tdep.c: Update copyright year.
3281 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
3282 NPC_REGNUM.
3283 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
3284
b6cb9035
AC
3285 * mips-tdep.c (mips_write_pc): New function.
3286 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
3287 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
3288 (mips_find_saved_regs, mips_software_single_step: Ditto.
3289 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
3290 mips_init_extra_frame_info, mips_pop_frame): Ditto.
3291
6d82d43b
AC
32922004-01-17 Andrew Cagney <cagney@redhat.com>
3293
3294 * mips-tdep.c: Re-indent. Group functions by ABI.
3295
71bd6bd4
AC
32962004-01-17 Andrew Cagney <cagney@redhat.com>
3297
3298 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
3299 * gdbarch.c: Re-generate.
3300 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3301 DECR_PC_AFTER_BREAK to zero.
3302 * vax-tdep.c (vax_gdbarch_init): Ditto.
3303 * v850-tdep.c (v850_gdbarch_init): Ditto.
3304 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3305 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3306 * sh-tdep.c (sh_gdbarch_init): Ditto.
3307 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3308 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3309 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3310 * mips-tdep.c (mips_gdbarch_init): Ditto.
3311 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3312 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3313 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3314 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3315 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
3316 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3317 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3318 * frv-tdep.c (frv_gdbarch_init): Ditto.
3319 * cris-tdep.c (cris_gdbarch_init): Ditto.
3320 * avr-tdep.c (avr_gdbarch_init): Ditto.
3321 * arm-tdep.c (arm_gdbarch_init): Ditto.
3322 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
3323
a02abb62
JB
33242004-01-17 J. Brobecker <brobecker@gnat.com>
3325
3326 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
3327 Delete, no longer used.
3328 (read_subrange_type): New function, mostly extracted from
3329 read_array_type().
3330 (read_array_type): Replace extracted code by call to
3331 read_subrange_type().
3332 (dwarf2_get_attr_constant_value): New function.
3333 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
3334 (add_partial_symbol): Likewise.
3335 (process_die): Likewise.
3336 (new_symbol): Likewise.
3337 (read_type_die): Likewise.
3338
cf5b2f1b
AC
33392004-01-16 Andrew Cagney <cagney@redhat.com>
3340
3341 * symfile.c: Update copyright year.
3342 (compare_symbols): Delete unused function.
3343 * stabsread.c: Update copyright year.
3344 (lrs_general_complaint): Delete unused function.
3345 (ref_search_value): Ditto.
3346 (get_substring): Delete declaration.
3347 * sh64-tdep.c: Update copyright year.
3348 (sh64_get_gdb_regnum): Delete unused function.
3349 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
3350 Delete unused function.
3351
d33b9831
MK
33522004-01-17 Mark Kettenis <kettenis@gnu.org>
3353
3354 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
3355 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
3356
7aea86e6
AC
33572004-01-16 Andrew Cagney <cagney@redhat.com>
3358
3359 Changes from Peter Schauer.
3360 * rs6000-tdep.c: Update copyright year.
3361 (rs6000_push_dummy_call): Update the stack pointer before
3362 accessing the corresponding stack region.
3363 * rs6000-nat.c: Update copyright year.
3364 (set_host_arch): Set "info.abfd" to "exec_bfd".
3365
26b0da32
MK
33662004-01-15 Mark Kettenis <kettenis@gnu.org>
3367
3368 * blockframe.c: Update copyright year.
3369 (inside_entry_func): Don't treat a zero PC specially.
3370
86fbe6cc
EZ
33712004-01-14 Elena Zannoni <ezannoni@redhat.com>
3372
3373 * gcore.c (gcore_copy_callback): Use paddr_d to print size
3374 variable.
3375 (gcore_create_callback): Ditto. Skip any memory segment that has
3376 no permissions set.
3377
63d06c5c
DC
33782004-01-14 David Carlton <carlton@kealia.com>
3379
3380 Change symbols for C++ nested types to contain the fully qualified
3381 name, if possible. (At least in the DWARF-2 case.) Partial fix
3382 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
3383 c++/895.
3384 * c-exp.y (qualified_type): Handle types nested within classes.
3385 * cp-namespace.c: Update comments.
3386 (cp_set_block_scope): Delete #if 0.
3387 (cp_lookup_nested_type): Handle types nested within classes.
3388 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
3389 when appropriate.
3390 (add_partial_symbol): Add the name of the enclosing namespace to
3391 types.
3392 (pdi_needs_namespace): New.
3393 (add_partial_namespace): Tweak comment.
3394 (add_partial_structure): New.
3395 (psymtab_to_symtab_1): Initialize processing_current_prefix
3396 here...
3397 (process_die): instead of here.
3398 (read_structure_scope): Try to figure out the name of the class or
3399 namespace that the structure might be defined within.
3400 (read_enumeration): Generate fully-qualified names, if possible.
3401 (read_namespace): Don't set name to NULL.
3402 (die_specification): New.
3403 (new_symbol): Generate fully-qualified names for types.
3404 (read_type_die): Determine appropriate prefix.
3405 (determine_prefix): New.
3406 (typename_concat): New.
3407 (class_name): New.
3408 * valops.c (value_aggregate_elt): Pass NOSIDE to
3409 value_struct_elt_for_reference.
3410 (value_struct_elt_for_reference): Make static, add NOSIDE
3411 parameter, call value_maybe_namespace_elt as a last resort.
3412 (value_namespace_elt): Break out code into
3413 value_maybe_namespace_elt.
3414 (value_maybe_namespace_elt): New.
3415
87783b8b
AC
34162004-01-12 Andrew Cagney <cagney@redhat.com>
3417
3418 * mips-tdep.c (mips_convert_register_p): Handle both raw and
3419 cooked floating-point registers.
3420 (mips_gdbarch_init): Set convert_register_p, register_to_value,
3421 and value_to_register.
3422
6503b91e
AC
34232004-01-13 Andrew Cagney <cagney@redhat.com>
3424
3425 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
3426 * gdbarch.c: Re-generate.
3427 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3428 FUNCTION_START_OFFSET.
3429 * v850-tdep.c (v850_gdbarch_init): Ditto.
3430 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3431 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3432 * sh-tdep.c (sh_gdbarch_init): Ditto.
3433 * s390-tdep.c (s390_gdbarch_init): Ditto.
3434 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3435 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3436 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3437 * mips-tdep.c (mips_gdbarch_init): Ditto.
3438 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3439 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3440 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3441 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3442 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3443 * i386-tdep.c (i386_gdbarch_init): Ditto.
3444 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3445 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3446 * frv-tdep.c (frv_gdbarch_init): Ditto.
3447 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3448 * cris-tdep.c (cris_gdbarch_init): Ditto.
3449 * avr-tdep.c (avr_gdbarch_init): Ditto.
3450 * arm-tdep.c (arm_gdbarch_init): Ditto.
3451 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3452
ea1dd7bc
DJ
34532004-01-13 Daniel Jacobowitz <drow@mvista.com>
3454
3455 * infrun.c (follow_fork_mode_ask): Remove.
3456 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
3457 (follow_fork): Simplify and remove internal error for
3458 follow_fork_mode_ask.
3459 (_initialize_infrun): Update "set follow-fork-mode" help text.
3460
0f0cffd2
AC
34612004-01-13 Andrew Cagney <cagney@redhat.com>
3462
3463 * configure.in: Update copyright year.
3464 (build_warnings): Add -Wunused-label.
3465 * configure: Re-generate.
3466
de38af99
AC
34672004-01-12 Andrew Cagney <cagney@redhat.com>
3468
954a7fba
AC
3469 * exec.h (exec_ops): Make "extern".
3470
de38af99
AC
3471 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
3472 the function is void.
3473 (mips_pseudo_register_write): Ditto.
3474
1a111ce3
AC
34752004-01-12 Andrew Cagney <cagney@redhat.com>
3476
3477 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
3478 call. Never defined.
3479 * sparc-tdep.h (struct frame_info): Add opaque declaration.
3480 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
3481 (struct sparc_gregset, struct regcache): Ditto.
3482 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
3483
48efe704
AC
34842004-01-12 Andrew Cagney <cagney@redhat.com>
3485
3486 * mi/ChangeLog: Delete file. Renamed to ...
3487 * mi/ChangeLog-1999-2003: New file.
3488 * tui/ChangeLog: Delete file. Renamed to ...
3489 * tui/ChangeLog-1998-2003: New file.
fe61caab 3490
a54124c5
MK
34912004-01-11 Mark Kettenis <kettenis@gnu.org>
3492
2ca62865
MK
3493 * sparc64nbsd-tdep.c: Include "regset.h".
3494 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
3495 Remove variables.
3496 (fetch_core_registers): Remove function.
3497 (sparc64nbsd_core_fns): Remove variable.
3498 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
3499 functions.
3500 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
3501 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
3502 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
3503
ca9d58e9
MK
3504 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
3505 sparc_extract_struct_value_address.
3506 (sparc32_gdbarch_init): Set extract_struct_value_address.
3507 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
3508 function.
3509 (sparc64_init_abi): Set extract_struct_value_address. Don't set
3510 return_value_on_stack.
3511
3cc87ec0
MK
3512 * NEWS: Mention that %cs and %ss have been added to the AMD64
3513 configurations
3514
5bf00f29
MK
3515 * frame.c: Update copyright year.
3516 (get_prev_frame): Improve comment.
3517
4f7ec84e
MK
3518 * sparc64fbsd-tdep.c: Include "regset.h".
3519 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3520 Remove variables.
3521 (fetch_core_registers): Remove function.
3522 (sparc64fbsd_core_fns): Remove variable.
3523 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
3524 functions.
3525 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
3526 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 3527 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 3528
4e7b0cd3
MK
3529 * sparcnbsd-tdep.c: Include "regset.h".
3530 (fetch_core_registers): Remove function.
3531 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
3532 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
3533 functions.
3534 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
3535 TDEP->fpregset.
46b58ce9 3536 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 3537
a54124c5
MK
3538 * sparc-tdep.h (struct regset): Provide opaque declaration.
3539 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
3540 fpregset and sizeof_fpregset members.
3541 * sparc-tdep.c (struct regset): Provide opaque declaration.
3542 (sparc_regset_from_core_section): New function.
3543 (sparc32_gdbarch_init): Initialize TDEP->gregset,
3544 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
3545 Set regset_from_core_section when appropriate.
3546
29ff87c5
MK
35472004-01-10 Mark Kettenis <kettenis@gnu.org>
3548
79b1ab3d
MK
3549 * x86-64-tdep.c (amd64_non_pod_p): New function.
3550 (amd64_classify_aggregate): Return class memory for non-POD
3551 C++ structure types.
3552
6470d250
MK
3553 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
3554 argument. Use it to reserve a register if necessary.
3555 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
3556 amd64_push_arguments.
3557
562c50c2
MK
3558 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
3559
af233647
MK
3560 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
3561 register numbers in comments.
3562 * x86-64-tdep.h: Update copyright year.
3563 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
3564 Adjust for addition of %cs and %ss.
3565 * amd64fbsd-nat.c: Update copyright year.
3566 (reg_offset): Add register offsets for %cs and %ss.
3567 * amd64fbsd-tdep.c: Update copyright year.
3568 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
3569 (amd64fbsd_sc_reg_offset): Likewise.
3570 * x86-64-linux-nat.c: Update copyright year.
3571 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
3572 and %ss.
3573 * amd64nbsd-nat.c: Update copyright year.
3574 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
3575 * amd64nbsd-tdep.c: Update copyright year.
3576 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
3577 * x86-64-linux-tdep.c: Update copyright year.
3578 (user_to_gdb_regmap): Add mapping for %cs and %ss.
3579 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
3580 * regformats/reg-x86-64.dat: Add %cs and %ss.
3581
29ff87c5
MK
3582 * blockframe.c (inside_entry_func): Reformat. Introduce new local
3583 variables to prevent long lines. Update comments to reflect
3584 reality.
3585
38d518c9
EZ
35862004-01-09 David Carlton <carlton@kealia.com>
3587
3588 Checked in by Elena Zannoni <ezannoni@redhat.com>.
3589 * dwarf2read.c (read_namespace): Pull out name-generating code
3590 into namespace_name. Rename previous_namespace to previous_prefix
3591 and processing_current_namespace to processing_current_prefix..
3592 (namespace_name): New function.
3593 (add_partial_symbol): Substitute uses of pdi->name with
3594 actual_name.
3595 * cp-support.h: Rename processing_current_namespace to
3596 processing_current_prefix.
3597 Update copyright year.
3598 * cp-namespace.c: Rename processing_current_namespace to
3599 processing_current_prefix.
3600 Update copyright year.
fe61caab 3601
1e4728e7
AC
36022004-01-09 Andrew Cagney <cagney@redhat.com>
3603
3604 * jv-valprint.c, ser-unix.c: Add missing copyright years.
3605
c77c642a
MK
36062004-01-09 Mark Kettenis <kettenis@gnu.org>
3607
3608 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
3609 complaining.
3610 (process_one_symbol): Deal with N_PATCH stabs.
3611
b44e9041
EZ
36122004-01-09 Elena Zannoni <ezannoni@redhat.com>
3613
3614 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
3615 ifdeffed code.
3616 Update copyright year.
38d518c9 3617
eccfb640
MC
36182004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3619
3620 * config/pa/tm-hppa.h: Update extern declarations for
3621 hppa32_hpux_frame_saved_pc_in_sigtramp,
3622 hppa32_hpux_frame_base_before_sigtramp, and
3623 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
3624
848c5feb
MC
36252004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3626
3627 * config/pa/tm-hppah.h: Update copyright years.
3628
3cc5d663
AC
36292004-01-08 Andrew Cagney <cagney@redhat.com>
3630
3631 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
3632 (mips_o32_reg_struct_has_addr): Delete function.
3633 (mips_gdbarch_init): Update.
3634 (mips_extract_struct_value_address): Delete function.
3635
bfec0b41
JJ
36362004-01-08 David Mosberger <davidm@hpl.hp.com>
3637
3638 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
3639 reality.
3640
16e109ca
AC
36412004-01-07 Andrew Cagney <cagney@redhat.com>
3642
6214a8a1
AC
3643 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
3644 architecture's elf flags (when available).
3645
8d5838b5
AC
3646 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
3647 FPU to the start, check the MIPS FPU when looking for an old
3648 architecture.
3649 (set_mipsfpu_single_command): Update the architecture.
3650 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
3651
480d3dd2
AC
3652 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
3653 (mips_mask_address_p): Add "tdep" parameter.
3654 (show_mask_address, mips_addr_bits_remove): Update.
3655 (mips_dump_tdep): Update.
3656 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
3657 (MIPS_STACK_ARGSIZE): Delete macro.
3658 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
3659 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
3660 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
3661 (mips_dump_tdep): Update.
3662 (MIPS_SAVED_REGSIZE): Delete macro.
3663 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
3664 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
3665 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
3666 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
3667 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
3668 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
3669 (mips_pop_frame, return_value_location): Update.
3670 (mips_n32n64_return_value, mips_dump_tdep): Update.
3671
ec03c1ac
AC
3672 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
3673 MIPS ABI.
3674
16e109ca
AC
3675 * mips-tdep.c: Update copyright.
3676 (mips_gdbarch_init): Merge two code blocks handling the register
3677 name and number layout.
3678
15255275
MS
36792004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
3680
3681 * tracepoint.c (validate_actionline): Fix segv at EOF
3682
9f9057da
MC
36832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3684
3685 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
3686 properly for static fields.
3687
0127c0d3 36882004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 3689 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
3690
3691 * disasm.c: Update copyright to include 2004.
3692 (do_mixed_source_and_assembly): For uiout asm list
3693 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 3694 NULL and do so prior to loop. Only reset when we close off
0127c0d3 3695 the tuple/list. Move check for whether to close off the
fe61caab 3696 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
3697 on each loop iteration.
3698
5269965e
AC
36992004-01-05 Andrew Cagney <cagney@redhat.com>
3700
54f1137d
AC
3701 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
3702 should be a switch case and not a label.
3703 * mips-tdep.c (mips32_next_pc): Delete unused labels
3704 "greater_equal_branch" and "less_zero_branch".
3705 * jv-valprint.c (java_print_value_fields): Delete unused label
3706 "flush_it".
3707
5269965e
AC
3708 * target.c (unpush_target): Only close a target that is in the
3709 target stack.
3710
dbc22fa1
MK
37112004-01-05 Mark Kettenis <kettenis@gnu.org>
3712
9515395e
MK
3713 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
3714 address from [sp + 64] instead of %o2.
3715
dbc22fa1
MK
3716 * frame.c (get_prev_frame): Don't try to unwind the PC. This
3717 fixes PR backtrace/1476.
3718
5439edaa
AC
37192004-01-05 Andrew Cagney <cagney@redhat.com>
3720
3721 * libunwind-frame.h (struct frame_id): Add opaque declaration,
3722 move to start of file.
3723 * i386-tdep.h (struct regcache): Add opaque declaration.
3724 * config/ia64/nm-linux.h (struct target_ops): Add opaque
3725 declaration.
3726 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
3727 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
3728 * win32-nat.c (fake_create_process): Use ISO C style definition.
3729 * stabsread.c (define_symbol): Delete #ifndef
3730 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
3731 stabs_argument_has_addr call, macro never defined.
3732
19061abe
MC
37332004-01-04 Michael Chastain <mec.gnu@mindspring.com>
3734
3735 * op50-rom.c: Delete.
3736 * w89k-rom.c: Delete.
3737 * Makefile.in: Remove references.
3738
e53bef9f
MK
37392004-01-04 Mark Kettenis <kettenis@gnu.org>
3740
3741 * x86-64-tdep.c: Update copyright year.
3742 (struct amd64_register_info): Rename from x86_64_register_info.
3743 (amd64_register_info): Rename from x86_64_register_info.
3744 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
3745 (amd64_register_name): Rename from x86_64_register_name.
3746 (amd64_register_type): Rename from x86_64_register_type.
3747 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
3748 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
3749 (amd64_dwarf_reg_to_regnum): Rename from
3750 x86_64_dwarf_reg_to_regnum.
3751 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
3752 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
3753 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
3754 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
3755 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
3756 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
3757 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
3758 (amd64_frame_cache): Rename from x86_64_frame_cache.
3759 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
3760 (amd64_frame_prev_register): Rename from
3761 x86_64_frame_prev_register.
3762 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
3763 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
3764 (amd64_sigtramp_frame_cache): Rename from
3765 x86_64_sigtramp_frame_cache.
3766 (amd64_sigtramp_frame_prev_register): Rename from
3767 x86_64_sigtramp_frame_prev_register.
3768 (amd64_sigtramp_frame_unwind): Rename from
3769 x86_64_sigtramp_frame_unwind.
3770 (amd64_sigtramp_frame_sniffer): Rename from
3771 x86_64_sigtramp_frame_sniffer.
3772 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
3773 (amd64_frame_base): Rename from x86_64_frame_base.
3774 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
3775 (amd64_frame_align): Rename from x86_64_frame_align.
3776 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
3777 (amd64_regset_from_core_section): Rename from
3778 x86_64_regset_from_core_section.
3779 (x86_64_init_abi): Update comments.
3780
fca6aa58
NR
37812004-01-04 Nick Roberts <nick@nick.uklinux.net>
3782
3783 * MAINTAINERS (write after approval): Add myself.
3784
8ada74e3
MK
37852004-01-04 Mark Kettenis <kettenis@gnu.org>
3786
3787 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
3788 `float' arguments.
3789
5154b0cd
MK
37902004-01-04 Mark Kettenis <kettenis@gnu.org>
3791
3792 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
3793 such that it mentions a specific version of GCC that exhibits this
3794 bug.
3795
fb316966
MK
37962004-01-03 Mark Kettenis <kettenis@gnu.org>
3797
200cc553
MK
3798 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
3799 structure that has a single `float' member, store it in %f1 in
3800 addition to %f0.
3801
e226a4a0
MK
3802 * sparc-sol2-nat.c: Add missing '\'.
3803
b9d4c5ed
MK
3804 * sparc-tdep.c (sparc32_return_value): New function.
3805 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
3806 Remove functions.
3807 (sparc32_gdbarch_init): Set return_value, don't set
3808 extract_return_value, store_return_value, use_struct_convention
3809 and return_value_on_stack.
3810
fb316966
MK
3811 * sparc-sol2-nat.c: Add missing ')'.
3812
1af510a8
JB
38132004-01-03 J. Brobecker <brobecker@gnat.com>
3814
3815 * infrun.c (handle_step_into_function): New function.
3816 (handle_inferior_event): Extract out some code into the new
3817 function above.
3818
5cf4d23a
JB
38192004-01-03 J. Brobecker <brobecker@gnat.com>
3820
3821 * infrun.c (handle_inferior_event): Move the declaration of
3822 real_stop_pc inside the if blocks where it is used.
3823
60af1db2
MK
38242004-01-03 Mark Kettenis <kettenis@gnu.org>
3825
3826 * sparc64-tdep.c (sparc64_16_byte_align_p)
3827 (sparc64_store_floating_fields, sparc64_store_floating_fields):
3828 Use check_typedef to get subtypes of structures and unions.
3829 (sparc64_store_return_value): Fix calculation of the appropriate
3830 offset into VALBUF when storing a structure or union.
3831 (sparc64_return_value): New function.
3832 (sparc64_use_struct_convention): Remove function.
3833 (sparc64_init_abi): Set return_value, don't set
3834 extract_return_value, store_return_value and
3835 use_struct_convention.
3836
1a901d3f
EZ
38372004-01-03 Eli Zaretskii <eliz@elta.co.il>
3838
3839 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
3840 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
3841 gdb/config/alpha/xm-alphaosf.h,
3842 gdb/config/powerpc/tm-ppcle-eabi.h,
3843 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
3844 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
3845 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
3846 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
3847 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
3848 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
3849 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
3850 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
3851 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
3852 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
3853 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
3854 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
3855 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
3856 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
3857 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
3858 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
3859 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
3860 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
3861 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
3862 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
3863 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
3864 Remove lines for .cvsignore files.
3865
ef52e463
JB
38662004-01-03 J. Brobecker <brobecker@gnat.com>
3867
3868 * infrun.c: Back out the previous change.
3869
cb1bf9dc
MK
38702004-01-03 Mark Kettenis <kettenis@gnu.org>
3871
f0424ef6
MK
3872 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
3873 sparc-*-sunos4* to the list of REMOVED configurations.
3874
cb1bf9dc
MK
3875 * configure.tgt: Add back sparc-*-vxworks*.
3876 * remote-vxsparc.c: Remove all includes except for "defs.h",
3877 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
3878 Include "sparc-tdep.h".
3879 (SPARC_R_G1): New define.
3880 (vxsparc_gregset): New variable.
3881 (ext_format_sparc): Remove extern declaration.
3882 (vx_read_register): Rewrite to use sparc32_supply_gregset and
3883 sparc32_supply_fpregset.
3884 (vx_write_register): Rewrite to use sparc32_collect_gregset,
3885 sparc_collect_rwindow and sparc32_collect_fpregset.
3886 * config/sparc/tm-vxworks.h: New file, based on recently removed
3887 tm-vxsparc.h.
3888 * config/sparc/vxworks.mt: New file, based on recently removed
3889 vxworks.mt.
fe61caab 3890
5e938f9f
JB
38912004-01-03 J. Brobecker <brobecker@gnat.com>
3892
3893 * infrun.c (handle_step_into_function): New function.
3894 (handle_inferior_event): Extract out some code into the new
3895 function above.
3896
386c036b
MK
38972004-01-02 Mark Kettenis <kettenis@gnu.org>
3898
3899 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
3900 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
3901 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
3902 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
3903 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
3904 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
3905 (sparc_nat_h): New variable.
3906 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
3907 (tm-sun4os4.h): Remove dependency.
3908 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
3909 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
3910 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
3911 sparc-tdep.o): Update dependencies.
3912 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
3913 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
3914 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
3915 dependencies.
3916 * configure.host: Remove existing sparc-*-lynxos*,
3917 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
3918 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
3919 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
3920 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
3921 triplets.
3922 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
3923 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
3924 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
3925 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
3926 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
3927 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
3928 sparc64-*-solaris2* and sparc64-*-* triplets.
3929 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
3930 "symtab.h" and "objfiles.h".
3931 (BIAS): Remove define.
3932 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
3933 (X_DISP19): Remove macros.
3934 (sparc_fetch_instruction): Remove function.
3935 (struct gdbarch_tdep): Remove definition.
3936 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
3937 (sparc_breakpoint_from_pc): Remove function.
3938 (struct sparc64_frame_cache): Remove definition.
3939 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
3940 sparc64_unwind_pc): Remove functions.
3941 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
3942 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
3943 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
3944 (sparc64_frame_cache): Change return type to `struct
3945 sparc_frame_cache *'. Simply call sparc_frame_cache.
3946 (sparc64_frame_this_id, sparc64_frame_prev_register,
3947 sparc64_frame_base_address): Use `struct sparc_frame_cache'
3948 instead of `struct sparc64_frame_cache.
3949 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
3950 sparc_analyze_control_transfer, sparc_software_single_step,
3951 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
3952 _initialize_sparc64_tdep): Remove functions.
3953 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
3954 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
3955 macros.
3956 (sparc64_supply_gregset, sparc64_collect_gregset,
3957 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
3958 (sparc64_init_abi): New function.
3959 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
3960 inclusion guard. Include "sparc-tdep.h".
3961 (BIAS): Define.
3962 (r_tstate_offset, r_fprs_offset): New defines.
3963 (enum sparc_regnum): Remove defenition.
3964 (enum sparc64_regnum): Reformat.
3965 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
3966 (sparc64_init_abi, sparc64_supply_gregset,
3967 sparc64_collect_gregset, sparc64_supply_fpregset,
3968 sparc64_collect_fpregset): New prototypes.
3969 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
3970 Add extern declarations.
3971 (sparc64_sol2_init_abi): New prototype.
3972 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3973 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3974 prototypes.
3975 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
3976 "sparnbsd-nat.h".
3977 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
3978 functions.
3979 (_initialize_sparc64fbsd_nat): Remove initialization of
3980 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
3981 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 3982 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
3983 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
3984 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
3985 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
3986 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
3987 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
3988 (sparc64fbsd_r_y_offset): Remove variables.
3989 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3990 Make static and const.
3991 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3992 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3993 functions.
3994 (sparc64fbsd_gregset): New variable.
3995 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
3996 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
3997 and sparc64_supply_fpregset.
3998 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
3999 (sparc64fbsd_sigtramp_frame_this_id)
4000 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
4001 (sparc64fbsd_sigtramp_frame_unwind): New variable.
4002 (sparc64fbsd_sigtramp_frame_sniffer): New function.
4003 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
4004 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
4005 * sparcnbsd-tdep.c: Update copyright year. Include
4006 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
4007 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
4008 "value.h" and "sparcnbsd-tdep.h".
4009 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
4010 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
4011 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
4012 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
4013 defines.
4014 (sparcnbsd_gregset): New variable.
4015 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
4016 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
4017 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
4018 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
4019 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
4020 variables.
4021 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
4022 (sparc32nbsd_sigcontext_frame_this_id)
4023 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
4024 (sparc32nbsd_sigcontext_frame_unwind): New variable.
4025 (sparc32nbsd_sigtramp_frame_sniffer): New function.
4026 (sparcnbsd_get_longjmp_target_32,
4027 sparcnbsd_get_longjmp_target_64): Remove functions.
4028 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
4029 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
4030 sparcnbsd_init_elf): Remove.
4031 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
4032 (sparcnbsd_elf_init_abi): New functions.
4033 (_initialize_sparcnbsd_tdep): New prototype.
4034 (_initialize_sparnbsd_tdep): Update.
4035 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
4036 corelow.o. Add sparc64-nat.o and sparc-nat.o.
4037 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
4038 * config/sparc/linux.mh: Update comment.
4039 (XM_FILE, HOST_IPC): Remove variables.
4040 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
4041 sparc-linux-nat.o.
4042 * config/sparc/linux.mt: Update comment.
4043 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
4044 * config/sparc/nbsd.mt: Reformat.
4045 * config/sparc/nbsd64.mh: Update comment.
4046 (NATDEPFILES): Add sparc-nat.o.
4047 * config/sparc/nbsd64.mt: Update comment.
4048 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
4049 (TM_FILE): Set to tm-nbsd.h.
4050 * config/sparc/nbsdelf.mh: Update comment.
4051 (NATDEPFILES): Add sparc-nat.o.
4052 (XM_FILE): Delete.
4053 * config/sparc/nbsdaout.mh: Update comment.
4054 (NATDEPFILES): Add sparc-nat.o
4055 (XM_FILE): Delete.
4056 * config/sparc/nm-linux.h: Update copyright year. Don't include
4057 "config/nm-svr4.h" and "solib.h". Add protection against multiple
4058 inclusion.
4059 (KERNEL_U_SIZE): Remove define.
4060 (kernel_u_size): Remove prototype.
4061 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
4062 * config/sparc/nm-nbsd.h: Update copyright. Don't include
4063 "regcache.h".
4064 (CHILD_PREPARE_TO_STORE): Remove define.
4065 * config/sparc/nm-nbsdaout.h: Tweak some comments.
4066 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
4067 sparcnbsd-nat.c: Rewrite files.
4068 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
4069 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
4070 sparcnbsd-tdep.h: Remove files.
4071 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
4072 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
4073 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
4074 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
4075 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
4076 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
4077 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
4078 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
4079 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
4080 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
4081 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
4082 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
4083 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
4084 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
4085 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
4086 * config/sparc/linux64.mh, config/sparc/linux64.mt,
4087 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
4088 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
4089 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
4090
ee84457a
AC
40912004-01-02 Andrew Cagney <cagney@redhat.com>
4092
4093 From 2003-12-18 Kazuhiro Inaoka:
4094 * configure.host: Add m32r-linux target.
4095
0bc2134e
MC
40962004-01-02 Michael Chastain <mec.gnu@mindspring.com>
4097
4098 * top.c (print_gdb_version): Update year to 2004.
4099
89a72f9c
MM
41002004-01-02 Mark Mitchell <mark@codesourcery.com>
4101
4102 * MAINTAINERS: Add myself to the write-after-approval category.
4103
86b013ed
DJ
41042004-01-02 Daniel Jacobowitz <drow@mvista.com>
4105
4106 From Bernardo Innocenti <bernie@develer.com>:
4107 * configure.tgt: Add uClinux target.
4108
e42c9534
AC
41092004-01-02 Andrew Cagney <cagney@redhat.com>
4110
4111 * utils.c (do_my_cleanups): Make static, add forward declaration.
4112 * defs.h (do_my_cleanups): Delete declaration.
4113
162467d3
EZ
41142004-01-02 Eli Zaretskii <eliz@elta.co.il>
4115
4116 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
4117 bfd/ChangeLog-0203.
4118
78434e59
MK
41192004-01-02 Mark Kettenis <kettenis@gnu.org>
4120
4121 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
4122 in <machine/reg.h>.
4123 * configure, config.in: Regenerate.
4124
48efe704
AC
4125For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
4126tui/ChangeLog-1998-2003.
c906108c
SS
4127\f
4128Local Variables:
4129mode: change-log
4130left-margin: 8
4131fill-column: 74
4132version-control: never
4133End:
This page took 1.033776 seconds and 4 git commands to generate.