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